Template:Tile-halves: Difference between revisions

Template page
Content added Content deleted
(Created page with "<includeonly><div class="tile-halves" style="{{{style|}}}"> <div class="tile-top"> <h2>{{{title}}}</h2> <p>{{{text|}}}</p> </div> <div class="tile-...")
 
m (Tweaked so we can opt for external or internal link)
 
(29 intermediate revisions by 4 users not shown)
Line 4: Line 4:
<p>{{{text|}}}</p>
<p>{{{text|}}}</p>
</div>
</div>
<div class="tile-bottom link-button read-more">[[{{{link}}}|{{{linktext}}}<span class="arrow dark"></span>]]</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 29: Line 29:
"label": "Link Text",
"label": "Link Text",
"description": "The text that the link will read"
"description": "The text that the link will read"
},
"external-link": {
"type": "boolean",
"autovalue": "0",
"suggested": true
}
}
},
},
"format": "block"
"format": "block",
"paramOrder": [
"style",
"title",
"text",
"link",
"linktext",
"external-link"
]
}
}
</templatedata>
</templatedata>

{{Note|'''Note:''' A portion of the template above is originated from the [https://runescape.wiki/ RuneScape Wiki] under [https://creativecommons.org/licenses/by-nc-sa/3.0/ CC BY-NC-SA 3.0] license.}}
[[Category:UI Templates]]
</noinclude>
</noinclude>

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.