imported>Wottem No edit summary |
imported>Wottem No edit summary |
||
Line 29: | Line 29: | ||
<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|}}}}}}|{{{title|{{{link}}} }}}]]}}</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|}}}}}}|{{{title|{{{link}}} }}}]]}}</h6> | ||
<div class="card__content px-3 md:px-4 text-gray-700 text-sm">{{#if:{{{subtitle|}}}|{{{subtitle}}}| | <div class="card__content px-3 md:px-4 text-gray-700 text-sm">{{#if:{{{subtitle|}}}|{{{subtitle}}}| | ||
{{#textextract:{{{link|{{{title|}}} }}} }} }}</div> | {{#ifeq:{{#textextract:{{{link|{{{title|}}} }}} }}|4||{{#textextract:{{{link|{{{title|}}} }}} }} }}</div> | ||
<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> | ||
</includeonly> | </includeonly> |
Revision as of 16:24, 4 July 2022
Template structure
Map Editor
UK Quick Start Editing Guide
{{#if:some card content|some card content|
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 }}