Difference between revisions of "Template:Flag template documentation"

From Australian sf information
Jump to: navigation, search
(copy/paste from Wikipedia (most relevant part of a documentation page))
 
(copy/paste from Wikipedia (most relevant part of a documentation page))
 
Line 88: Line 88:
 
  |{{{{SUBJECTPAGENAME}}/doc}}  <!-- interwiki and other documentation for the flag template -->
 
  |{{{{SUBJECTPAGENAME}}/doc}}  <!-- interwiki and other documentation for the flag template -->
 
}}
 
}}
 +
| 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]] and [[Help:Interlanguage links|interlanguage links]] should also be added to the [[{{FULLPAGENAME}}/doc|/doc]] subpage.
 +
 +
}}</includeonly><noinclude>
 +
 +
{{documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 +
</noinclude>

Latest revision as of 07:24, 26 January 2011


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.