Template:Card View history

imported>ForumuserSTG
No edit summary
imported>ForumuserSTG
No edit summary
Line 21: Line 21:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<li class="card w-64 flex-none rounded-md border border-gray-200 overflow-hidden pb-4 md:pb-16 pl-0 relative">
<li class="card w-64 flex-none rounded-md border border-gray-200 overflow-hidden pb-4 md:pb-16 pl-0 relative hover:shadow transition">
<div class="card__header text-sm flex flex-column justify-center h-16 md:h-28 mb-6">
<div class="card__header text-sm flex flex-column justify-center h-16 md:h-28 mb-6">
{{#if: {{{image|}}}{{#pageimage:{{{link|{{{title|}}}}}}}}| <div class="w-full overflow-hidden">
{{#if: {{{image|}}}{{#pageimage:{{{link|{{{title|}}}}}}}}| <div class="w-full overflow-hidden">

Revision as of 10:42, 12 October 2021

Template structure

  • Map Editor

    page name if different form title

    some card content
  • 
    {{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) if empty gets first image in linked page
    |link=page name if different form title
    }}