Template:Card View history

imported>Forumtestuser
No edit summary
Community team sites>FennecBot
No edit summary
Line 30: Line 30:
}}
}}
</div>
</div>
<h6 class="px-3 md:px-4 mb-3 text-gray-900 font-headline h6">[[{{{link|{{{title|}}}}}}]]</h6>
<h6 class="px-3 md:px-4 mb-3 text-gray-900 font-headline h6">{{#ifeq: {{#sub:{{{link|{{{title|}}}}}}|0|4}} | http |[{{{link|}}} {{{title|}}}]|[[{{{link|{{{title|}}}}}}]]}}</h6>
<div class="card__content px-3 md:px-4 text-gray-400 text-sm">{{#if:{{{subtitle|}}}|{{{subtitle}}}|{{#textextract:{{{link|{{{title|}}} }}} }} }}</div>
<div class="card__content px-3 md:px-4 text-gray-400 text-sm">{{#if:{{{subtitle|}}}|{{{subtitle}}}|{{#textextract:{{{link|{{{title|}}} }}} }} }}</div>
<div class="link-as-card">[[{{{link|{{{title|}}}}}}]]</div>
<div class="link-as-card">{{#ifeq: {{#sub:{{{link|{{{title|}}}}}}|0|4}} | http |[{{{link|}}} {{{title|}}}]|[[{{{link|{{{title|}}}}}}]]}}</div>
</li>
</li>
</includeonly>
</includeonly>

Revision as of 10:05, 10 January 2022

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
    }}