imported>ForumuserSTG No edit summary |
imported>Forumtestuser No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Template structure == | ==Template structure == | ||
{{card|title=UK Quick Start Editing Guide | {{card | ||
|title=UK Quick Start Editing Guide | |||
|subtitle=some card content | |subtitle=some card content | ||
|color=#0099FF | |color=#0099FF | ||
|type=Map Editor | |type=Map Editor | ||
|link=page name if different form title | |link=page name if different form title | ||
}} | }} | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
{{card|title=UK Quick Start Editing Guide | {{card | ||
|subtitle=some card content | |title=UK Quick Start Editing Guide | ||
|subtitle=some card content (if empty loads target page automatic excerpt) | |||
|color=#0099FF | |color=#0099FF | ||
|type=Card Type | |type=Card Type | ||
Line 30: | Line 32: | ||
</div> | </div> | ||
<h3 class="px-3 md:px-4 mb-3 text-gray-900 font-headline ">[[{{{link|{{{title|}}}}}}]]</h3> | <h3 class="px-3 md:px-4 mb-3 text-gray-900 font-headline ">[[{{{link|{{{title|}}}}}}]]</h3> | ||
<div class="card__content px-3 md:px-4 text-gray-400 text-sm">{{{subtitle|}}}</div> | <div class="card__content px-3 md:px-4 text-gray-400 text-sm">{{#if:{{{subtitle|}}}|{{{subtitle|}}}|{{#textextract:{{{link|{{{title|}}} }}}</div> | ||
</li> | </li> | ||
</includeonly> | </includeonly> |
Revision as of 11:46, 29 September 2021
Template structure
Map Editor
page name if different form title
{{#if:some card content|some card content|{{#textextract:page name if different form title
{{card |title=UK Quick Start Editing Guide |subtitle=some card content (if empty loads target page automatic excerpt) |color=#0099FF |type=Card Type |image=File name (optional) |link=page name if different form title }}