Template:Navy/core: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Andrwsc
add CSS class to allow flag icons disabled
meta>Andrwsc
remove CSS span - doesn't work when this template is a positional parameter of another template
Line 1: Line 1:
<span class="flagicon">[[Image:{{
[[Image:{{
   #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-naval|{{{flag alias}}}}}}
   #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-naval|{{{flag alias}}}}}}
}}|{{
}}|{{
   #if: {{{size|}}} | {{{size}}} | 22x20px
   #if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|Naval flag of {{{alias}}}]]&nbsp;</span>[[{{{link alias-naval|{{{shortname alias|{{{alias}}}}}} Navy}}}{{#if: {{{name|}}} | {{!}}{{{name}}} }}]]<noinclude>
}}|border|Naval flag of {{{alias}}}]]&nbsp;[[{{{link alias-naval|{{{shortname alias|{{{alias}}}}}} Navy}}}{{#if: {{{name|}}} | {{!}}{{{name}}} }}]]<noinclude>
{{template doc inline|This is a meta-template used internally by [[Template:navy]]. It is not intended to be transcluded directly from the main article space.}}
{{template doc inline|This is a meta-template used internally by [[Template:navy]]. It is not intended to be transcluded directly from the main article space.}}
[[Category:Flag template system|{{PAGENAME}}]]
[[Category:Flag template system|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 15:56, 9 October 2007

[[Image:{{{flag alias}}}|22x20px|border|Naval flag of {{{alias}}}]] [[{{{alias}}} Navy]] Template:Template doc inline