Template:Tile-halves: Difference between revisions

Template page
Content added Content deleted
m (Added image parameter for creating tile have for category as shown in main page)
m (Tweaked so we can opt for external or internal link)
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="tile-top">
<div class="tile-top">
<h2>{{{title}}}</h2>
<h2>{{{title}}}</h2>
<p>{{#ifexpr: {{{image|}}}|[[File:Veloren_{{{title}}}_Category.png|link={{{link|}}}|}}</p>
<p>{{{text|}}}</p>
<p>{{{text|}}}</p>
</div>
</div>
<div class="tile-bottom link-button read-more" style="width:100%; border:none;">[[{{{link|}}}|{{{linktext|}}}]]</div>
<div class="tile-bottom link-button read-more" style="width:100%; border:none;">{{#ifexpr:{{{external-link|}}}| [{{{link|}}} {{{linktext|}}}]|[[{{{link|}}}|{{{linktext|}}}]]}}</div>
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
Line 31: Line 30:
"description": "The text that the link will read"
"description": "The text that the link will read"
},
},
"image": {
"external-link": {
"label": "Add a image related to the title in Veloren_{{title}}_Category.png ?",
"description": "Add the image related to the title in Veloren_{{title}}_Category.png",
"type": "boolean",
"type": "boolean",
"autovalue": "0",
"autovalue": "0",
Line 43: Line 40:
"style",
"style",
"title",
"title",
"image",
"text",
"text",
"link",
"link",
"linktext"
"linktext",
"external-link"
]
]
}
}

Latest revision as of 11:52, 17 October 2022


No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Stylestyle

(Optional) Extra CSS that will effect the entire tile.

Unknownoptional
Titletitle

The heading of the tile.

Unknownoptional
Texttext

The description.

Unknownoptional
Linklink

The page the bottom half will link to

Unknownoptional
Link Textlinktext

The text that the link will read

Unknownoptional
external-linkexternal-link

no description

Auto value
0
Booleansuggested
Note: A portion of the template above is originated from the RuneScape Wiki under CC BY-NC-SA 3.0 license.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.