Template:Flag template documentation/doc: Difference between revisions

Content deleted Content added
Undoing last edit (undo-last-edit)
No edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
This template is used to automatically generate documentation for standard [[:Category:Flag templates|flag templates]].
=== Usage ===
<code><nowikisyntaxhighlight lang="wikitext">{{flag template documentation|Country name|ISO|IOC|FIFA}}</nowiki></codesyntaxhighlight>
 
;Parameters
Line 15:
This template is placed on the flag template itself (similar to how the {{tl|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 ===
 
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{#ifeq:{{SUBPAGENAME}}|testcases||[[Category:Documentation shared content templates]]}}
[[Category:Template documentation]]
}}</includeonly>