Difference between revisions of "Template:Flag template documentation/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
m (sync with live template)
imported>Andrybak
(test look without link box)
Line 1: Line 1:
<includeonly>{{documentation
+
<includeonly>{{documentation|Flag template documentation/sandbox| content =  
| content =  
 
 
{{{header|}}}
 
{{{header|}}}
 
===Description===
 
===Description===
Line 93: Line 92:
 
*[[Wikipedia:Inline templates linking country articles]]—for a complete list of these "shorthand" flag templates
 
*[[Wikipedia:Inline templates linking country articles]]—for a complete list of these "shorthand" flag templates
 
{{Sandbox other||[[Category:Flag template shorthands]]}}
 
{{Sandbox other||[[Category:Flag template shorthands]]}}
 
| link box =
 
This documentation is generated by [[Template:Flag template documentation]]. <br/> Documentation specific to this template may be placed in this template's [[{{FULLPAGENAME}}/doc|/doc]] subpage and will be automatically transcluded. <br/> Any [[Wikipedia:Categorization|categories]] should also be added to the [[{{FULLPAGENAME}}/doc|/doc]] subpage.
 
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
 
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 21:05, 30 March 2020

Template documentation[view] [edit] [history] [purge]

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
ISOISO 3166-1 alpha-3 country code
IOCIOC country code
FIFAFIFA 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".

See also