imported>Openfox No edit summary |
imported>ForumuserSTG No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Template structure == | ==Template structure == | ||
{{card|title=UK Quick Start Editing Guide | |||
|subtitle=some card content | |||
|color=#0099FF | |||
|type=Map Editor | |||
|link=page name if different form title | |||
}}</nowiki> | |||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
Line 7: | Line 13: | ||
|color=#0099FF | |color=#0099FF | ||
|type=Card Type | |type=Card Type | ||
|image=File name (optional) | |||
|link=page name if different form title | |||
}}</nowiki> | }}</nowiki> | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<li class="card"> | <li class="card w-64 flex-none rounded-md border border-gray-200 overflow-hidden pb-4 md:pb-16 pl-0 relative"> | ||
<div style="background-color:{{{color|#0099FF}}}" class="card__bar"></div> | <div class="card__header text-sm flex flex-column justify-center h-16 md:h-28 mb-6"> | ||
< | {{#if: {{{image|}}} | <div class="w-full overflow-hidden"> | ||
[[file:{{{image}}}|x112px|link={{{link|{{{title|}}}}}}|class=w-full|]] | |||
</div> | |||
| | |||
<div style="background-color:{{{color|#0099FF}}}" class="card__bar w-full h-2 absolute"></div> | |||
<h4 class="px-3 md:px-4 mt-8 w-full text-xs text-gray-600">{{{type|}}}</h4> | |||
}} | |||
</div> | </div> | ||
<h3>[[ | <h3 class="px-3 md:px-4 mb-3 text-gray-900 font-headline ">[[{{{link|{{{title|}}}}}}]]</h3> | ||
<div class="card__content">{{{subtitle|}}}</div> | <div class="card__content px-3 md:px-4 text-gray-400 text-sm">{{{subtitle|}}}</div> | ||
</li> | </li> | ||
</includeonly> | </includeonly> |
Revision as of 07:44, 5 September 2021
Template structure
Map Editor
page name if different form title
some card content
</nowiki>
{{card|title=UK Quick Start Editing Guide |subtitle=some card content |color=#0099FF |type=Card Type |image=File name (optional) |link=page name if different form title }}