Template:Flag template documentation/sandbox: Difference between revisions
m (use |1=) |
m (1 revision imported: initial setup) |
||
(No difference)
|
Latest revision as of 10:20, 30 August 2024
This is the template sandbox page for Template:Flag template documentation (diff). See also the companion subpage for test cases. |
This template is used to automatically generate documentation for standard flag templates.
Usage
{{flag template documentation|Country name|ISO|IOC|FIFA}}
- Parameters
- Country name – matches the parameter used with {{Flag }} within the flag template itself
- ISO – ISO 3166-1 alpha-3 country code
- IOC – IOC country code
- FIFA – FIFA country code
If any of the three codes are not applicable for a particular country, leave the respective parameters blank.
This template is placed on the flag template itself (similar to how the {{Documentation }} template is placed). This template depends on the mandatory existence of a /doc subpage, which is only used to transclude interwiki links.
Further usage
The optional parameter header is content that goes at the top of the documentation box, above "Description".