Difference between revisions of "Template:Flagu/doc"
Jump to navigation
Jump to search
imported>Wikid77 (@Usage, fixed typo "flag" as "flagu") |
imported>WOSlinker (use protocol relative links for wikipedia pages) |
||
| Line 11: | Line 11: | ||
*''variant'' is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as [[:Template:Country data Germany]] | *''variant'' is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as [[:Template:Country data Germany]] | ||
| − | See <span class="plainlinks">[ | + | See <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Special%3APrefixindex&from=Country+data&namespace=10 the prefix index]</span> for the templates latently called by this one. |
==Examples== | ==Examples== | ||
Revision as of 08:21, 17 September 2017
| This is a documentation subpage for Template:Flagu. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to display a small flag icon next to an unlinked country name. It is an alternative to the {{flag}} and {{flagcountry}} templates, for use in instances where the country name should not be linked, per WP:OVERLINK.
See Wikipedia:WikiProject Flag Template for the main documentation/discussion page for the flag templates system.
Usage
- {{flagu|country identifier|optional variant}}
- country identifier is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at ISO 3166-1 alpha-3
- variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Country data Germany
See the prefix index for the templates latently called by this one.
Examples
| Wiki markup | Displays |
|---|---|
{{flagu|Germany}} |
|
{{flagu|GER}} |
|
{{flagu|Germany|empire}} |
|
{{flagu|German Empire}} |
See also
- Template:flagcountry—always expands the link text to the full country name.
- Template:flagicon—displays the flag only.
- Template:flagdeco—displays the flag only, but without alternative text for the image.