Template:Tile-halves: Difference between revisions

Template page
Content added Content deleted
No edit summary
m (Tweaked so we can opt for external or internal link)
 
(13 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="skin-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.

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.