Difference between revisions of "Template:Fed/doc"

From blackwiki
Jump to navigation Jump to search
(+ja)
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{fed|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fed|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked [[Fed Cup]] team article.
 
Produces a flag icon attached to a wikilinked [[Fed Cup]] team article.
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fed|Australia}}</nowiki></tt> → {{fed|Australia}}
+
*<code><nowiki>{{fed|Australia}}</nowiki></code> → {{fed|Australia}}
*<tt><nowiki>{{fed|USA}}</nowiki></tt> → {{fed|USA}}
+
*<code><nowiki>{{fed|USA}}</nowiki></code> → {{fed|USA}}
*<tt><nowiki>{{fed|South Africa|1928}}</nowiki></tt> → {{fed|South Africa|1928}}
+
*<code><nowiki>{{fed|South Africa|1928}}</nowiki></code> → {{fed|South Africa|1928}}
*<tt><nowiki>{{fed|TCH}}</nowiki></tt> → {{fed|TCH}}
+
*<code><nowiki>{{fed|TCH}}</nowiki></code> → {{fed|TCH}}
  
 
==See also==
 
==See also==

Revision as of 23:50, 5 December 2019

Description

{{fed|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked Fed Cup team article.

Parameters
  • nation — Use either the name of the nation or a three-letter country code, as specified by ISO, IOC or FIFA (most should work)
  • variant (optional) — Specifies an alternate (historical) flag to use. This parameter is documented by the appropriate template in Category:Country data templates.
  • size (optional) — Can be used to change the flag icon size (use sparingly!)
  • name (optional) — Can be used to change the wikilink display text

Examples

See also