Template:Tile-halves: Difference between revisions

Template page
Content added Content deleted
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div class="tile-halves" style="{{{style|}}}">
<includeonly><div class="tile-halves" style="{{{style|}}}">
<div class="tile-top">
<div class="tile-top">
{{#ifexpr: {{{image|}}}|[[File:Veloren_{{{title}}}_Category.png|400px|link={{{link|}}}]]|<h2>{{{title}}}</h2><p>{{{text|}}}</p> }}
<h2>{{{title}}}</h2>
<p>{{#ifexpr: {{{image|}}}|[[File:Veloren_{{{title}}}_Category.png|400px|link={{{link|}}}]]|}}</p>
<p>{{{text|}}}</p>
</div>
</div>
<div class="tile-bottom link-button read-more" style="width:100%; border:none;">[[{{{link|}}}|{{{linktext|}}}]]</div>
{{#ifexpr: {{{image|}}}|{{{title|}}}|<div class="tile-bottom link-button read-more" style="width:100%; border:none;">[[{{{link|}}}|{{{linktext|}}}]]</div>}}
</div></includeonly>
</div></includeonly>
<noinclude>
<noinclude>
Line 32: Line 30:
},
},
"image": {
"image": {
"label": "Add a image related to the title in Veloren_{{title}}_Category.png ?",
"label": "Imaged tile-have for a page ?",
"description": "Add the 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",

Revision as of 13:01, 12 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
Imaged tile-have for a page ?image

Add the image related to the title in Veloren_{{title}}_Category.png

Auto value
0
Booleansuggested
Texttext

The description.

Unknownoptional
Linklink

The page the bottom half will link to

Unknownoptional
Link Textlinktext

The text that the link will read

Unknownoptional
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.