Content added Content deleted
No edit summary |
m (Tweaked so we can opt for external or internal link) |
||
(15 intermediate revisions by 4 users not shown) | |||
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"> |
||
<h2>{{{title}}}</h2> |
|||
<div class="skil-citizen-dark" style="margin=top:0; font-size:1.5rem; line-height: 1.2rem; color:ffffff;">'''{{{title}}}'''</div> |
|||
<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 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.}} |
{{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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Style | style | (Optional) Extra CSS that will effect the entire tile. | Unknown | optional |
Title | title | The heading of the tile. | Unknown | optional |
Text | text | The description. | Unknown | optional |
Link | link | The page the bottom half will link to | Unknown | optional |
Link Text | linktext | The text that the link will read | Unknown | optional |
external-link | external-link | no description
| Boolean | suggested |
Note: A portion of the template above is originated from the RuneScape Wiki under CC BY-NC-SA 3.0 license.