Difference between revisions of "Template:Flag"

From QWiki
*>Lemike
m
 
m (Wow, this should affect all flags to align better with neighbouring text)
 
Line 18: Line 18:
 
The code above will appear as follows.
 
The code above will appear as follows.
 
{{flag|flag=at|name=[[Egon Schiele]]}}
 
{{flag|flag=at|name=[[Egon Schiele]]}}
</noinclude><includeonly>[[Image:flag_{{{flag|}}}.gif]] {{ #if:  {{{name|}}}|{{{name|}}}|}}</includeonly>
+
</noinclude><includeonly>[[Image:flag_{{{flag|}}}.gif|baseline]] {{ #if:  {{{name|}}}|{{{name|}}}|}}</includeonly>

Latest revision as of 22:23, 22 March 2021

Template intended for use when referring to players, clans and/or countries. The 'name' field can be left blank if you just want the flag.

Usage

Example

{{flag|flag=at|name=Gustav Klimt}}

The code above will appear as follows. Flag at.gif Gustav Klimt

Linking

The template leaves it up to you if you wanna link the name/clan/country or not, eg:

{{flag|flag=at|name=[[Egon Schiele]]}}

The code above will appear as follows. Flag at.gif Egon Schiele