Difference between revisions of "Template:HonHeads/doc"
imported>PPEMES |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 36: | Line 36: | ||
*{{tl|HonHeadsUK}} | *{{tl|HonHeadsUK}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
[[Category:Flag template system]] | [[Category:Flag template system]] | ||
[[Category:Orders, decorations, and medals templates|*]] | [[Category:Orders, decorations, and medals templates|*]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 16:58, 25 April 2020
| This is a documentation subpage for Template:HonHeads. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Produces a flag icon attached to a wiki-linked "List of honours of Country awarded to heads of state and royals" under the name of the country or component of a country.
But, despite the use of an other link for purpose of the template, the use of {{flagicon}} in the formula allows to reach the country page by clicking on the flag.
It is designed to be used in the "Honours" section of the biographical page of a head of state or a member of a royal family in order to link to the corresponding summary page where the honorific order should be added too.
- Exceptions
As an exception, the template {{HonHeadsUK}} should be used for orders awarded by the British Crown to connect to the page : List of honours of the British Crown awarded to heads of state and royals (see pages for the details of the concerned orders)
- Syntax
- {{HonHeads|nation|variant|name=x}}
- Parameters
-
|nation=– Use either ONLY the name of the nation (not the three-letter ISO 3166-1 alpha-3 country code)|variant=(optional) – Specifies an alternate (historical) naval flag to use. This parameter is documented by the appropriate template in Category:Country data templates. Note that the standard behaviour of this template is to use thenavalvariant if present, so there is no need to specify this variant in the template call.|name=(optional) – Specifies an alternate name for the link.
Examples
- Belgium
{{HonHeads|Belgium}}→
Belgium
- Germany
{{HonHeads|Germany}}→ 23x15px Germany{{HonHeads|Germany|empire}}→ File:Flag of Germany (1867–1918).svg Germany- {{HonHeads|Germany|empire|name=German Empire}} → File:Flag of Germany (1867–1918).svg German Empire
- Johor
{{HonHeads|Johor}}→ 23x15px Johor- {{HonHeads|Johor|name=Sultanate of Johor}} → 23x15px Sultanate of Johor
See also
- {{HonHeadsUK}}