Difference between revisions of "Template:flag/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎All current images)
m (→‎Usage)
Line 12: Line 12:
 
<pre>
 
<pre>
 
{{flag
 
{{flag
−
|country-abbrv - one of [Australia, China, France, Netherlands, UK, USA, Qatar, Scotland]
+
|country-abbrv - one of [Australia, Canada, China, France, Netherlands, UK, USA, Qatar, Scotland]
 
|float        - one of [left, right]. Default = none.
 
|float        - one of [left, right]. Default = none.
 
}}
 
}}

Revision as of 17:11, 23 October 2018

<< Template:flag

Template to generate teensy flags, 27 x 16px.

Path is set to http://wikipolitiks.local/Images/
All images are in /Images/Flags/Flag-*.svg
There's a Flag-Template.svg in there, for making new flags.

Usage

{{flag
|country-abbrv - one of [Australia, Canada, China, France, Netherlands, UK, USA, Qatar, Scotland]
|float         - one of [left, right]. Default = none.
}}

Example

{{flag|UK}}

Gives: Flag-UK.svg

All current images

Flag-Australia.svg Flag-China.svg Flag-France.svg Flag-Netherlands.svg Flag-UK.svg Flag-USA.svg Flag-Qatar.svg Flag-Scotland.svg