Template:Card View history

imported>Itssick
No edit summary
imported>Itssick
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#carg_declare:
title=String
|link=String
}}
==Template structure ==
==Template structure ==
{{card
{{card
Line 32: Line 36:
<div class="link-as-card">{{#ifeq: {{#sub:{{{link|{{{title|}}}}}}|0|4}} | http |[{{{link|}}} {{{title|}}}]|[[{{{link|{{{title|}}}}}}]]}}</div>
<div class="link-as-card">{{#ifeq: {{#sub:{{{link|{{{title|}}}}}}|0|4}} | http |[{{{link|}}} {{{title|}}}]|[[{{{link|{{{title|}}}}}}]]}}</div>
</li>
</li>
{{#carg_store:
title={{{title|}}}
|link={{{link|}}}
}}
</includeonly>
</includeonly>

Revision as of 20:48, 18 September 2022

{{#carg_declare: title=String |link=String }}

Template structure

  • Map Editor

    UK Quick Start Editing Guide
    some card content
  • {{#carg_store: title=UK Quick Start Editing Guide |link=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) if empty gets first image in linked page (overridden by color if set)
    |link=page name if different form title
    }}