Difference between revisions of "Template:Flagright/core"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(created)
 
imported>Andrwsc
(add support for alt attribute; make shortname alias optional (only needed if different from alias); add protected tag)
Line 1: Line 1:
[[{{{link alias-{{{altvar}}}|{{{shortname alias}}} {{{altlink|}}}}}}|{{
+
[[{{{link alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}} {{{altlink}}}}}}|{{
   #if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias}}}}}}
+
   #if: {{{name|}}} | {{{name}}} | {{{name alias-{{{altvar}}}|{{{shortname alias|{{{alias}}}}}}}}}
 
}}]] [[Image:{{
 
}}]] [[Image:{{
 
   #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}
 
   #if: {{{variant|}}} | {{{flag alias-{{{variant}}}}}} | {{{flag alias-{{{altvar}}}|{{{flag alias}}}}}}
 
}}|{{
 
}}|{{
 
   #if: {{{size|}}} | {{{size}}} | 22x20px
 
   #if: {{{size|}}} | {{{size}}} | 22x20px
}}|border|Flag of {{{alias}}}]]<noinclude>{{template doc}}</noinclude>
+
}}|border|{{{alt attribute|Flag of {{{alias}}}}}}]]<noinclude>{{protected template}}{{template doc}}</noinclude>

Revision as of 16:04, 27 July 2007

[[{{{alias}}} {{{altlink}}}|{{{alias}}}]] [[Image:{{{flag alias}}}|22x20px|border|Flag of {{{alias}}}]]Template:Protected template

Template documentation[view] [edit] [history] [purge]

This template is used internally by Template:Fb-rt and others. It is not intended to be transcluded directly.

See Wikipedia:WikiProject Flag Template for further information.