Template:Template shortcut: Difference between revisions

    From Nonbinary Wiki
    (Copied new code from /sandbox. Major cleanup and some fixes. No real change in appearance.)
     
    (22 intermediate revisions by 13 users not shown)
    Line 1: Line 1:
    <table class="shortcutbox shortcutbox-template plainlinks noprint" style="
    <includeonly>{{#invoke:Shortcut|main|template=yes}}</includeonly><noinclude>{{Documentation}}</noinclude>
    {{#ifeq:{{{float|}}}|left
    | float:left; margin: .3em 1em .3em .3em;
    | float:right; margin: .3em .3em .3em 1em;
    }}
    border:1px solid #aaa; background:#fff; padding:3px; text-align:center;">
    <tr><th style="border:none; background:transparent;"><small>Shortcut{{#if:{{{2|}}}|s}}:<!--
    --><br> &#123;&#123;{{{pre|}}}[{{fullurl:Template:{{{1|{{PAGENAME}}}}}|redirect=no}} {{{1|{{PAGENAME}}}}}]&#125;&#125;<!--
    -->{{#if:{{{2|}}}|<br> &#123;&#123;{{{pre2|}}}[{{fullurl:Template:{{{2}}}|redirect=no}} {{{2}}}]&#125;&#125;}}<!--
    -->{{#if:{{{3|}}}|<br> &#123;&#123;{{{pre3|}}}[{{fullurl:Template:{{{3}}}|redirect=no}} {{{3}}}]&#125;&#125;}}
    </small>
    </table><noinclude>
     
    {{Documentation}}
    </noinclude>

    Latest revision as of 11:41, 21 May 2021

    Template documentation[create]