Template:Flagcountry/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>GPHemsley
Add support for {{{link alias-{{{variant}}}}}} parameter.
meta>Urhixidur
adding datasortkey span (see :fr:Modèle:Pays/callback and :fr:Wikipédia:Demande_d'intervention_sur_une_page_protégée/Archives/18#Modèle:Pays/callback_(d_·_h_·_j_·_↵))
Line 1: Line 1:
<span class="flagicon">[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|{{#if:{{{size|}}}|{{{size}}}|23x15px}}|{{{border-{{{variant}}}|{{{border|border}}}}}} |alt=|link=]]&nbsp;{{#ifeq:{{{size}}}|23x16px|&nbsp;}}{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}</span>[[{{{link alias-{{{variant}}}|{{{alias}}}}}}|{{#if:{{{name|}}}|{{{name}}}|{{{shortname alias|{{{alias}}}}}}}}]]<noinclude>{{documentation}}</noinclude>
<span class="datasortkey" data-sort-value="{{{sortkey|{{{shortname alias|{{{alias}}}}}}}}}"><!--
--><span class="flagicon"><!--
-->[[File:{{{flag alias-{{{variant}}}|{{{flag alias}}}}}}|<!--
-->{{#if:{{{size|}}}|{{{size}}}|23x15px}}|<!--
-->{{{border-{{{variant}}}|{{{border|border}}}}}} |<!--
-->alt=|<!--
-->link=]]&nbsp;<!--
-->{{#ifeq:{{{size}}}|23x16px|&nbsp;}}<!--
-->{{#ifeq:{{{alias}}}|Nepal|&nbsp;&nbsp;}}<!--
--></span>[[{{{link alias-{{{variant}}}|{{{alias}}}}}}|<!--
-->{{#if:{{{name|}}}|{{{name}}}|{{{shortname alias|{{{alias}}}}}}}}]]<!--
--></span><noinclude>{{documentation}}</noinclude>

Revision as of 15:10, 17 June 2019

[[File:{{{flag alias}}}|23x15px|border |alt=|link=]] [[{{{alias}}}|{{{alias}}}]]