Difference between revisions of "Template:Fsw-rt/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maiō T.
m (Maiō T. moved page Template:WFutsal-rt/doc to Template:Fsw-rt/doc)
imported>Maiō T.
Line 1: Line 1:
{{Documentation subpage}}
+
{{documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
  
== Usage ==
+
==Description==
 +
<tt><nowiki>{{fsw-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
  
== See also ==
+
Produces a flag icon attached to a wikilinked women's national futsal team article. Similar to [[Template:Fsw]], but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.
 +
;Parameters
 +
*''nation'' — Use either the name of the nation or the three-letter country code as used by [[List of FIFA country codes|FIFA]]
 +
*''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==
 +
*<tt><nowiki>{{fsw-rt|Spain}}</nowiki></tt> → {{fsw-rt|Spain}}
 +
*<tt><nowiki>{{fsw-rt|BRA}}</nowiki></tt> → {{fsw-rt|BRA}}
 +
 
 +
==See also==
 +
*[[Template:fsw]] — for rendering the flag on the left
 +
*[[Template:fsw-big]] — for rendering a larger flag, with the team name underneath the flag
  
 
<includeonly>
 
<includeonly>
<!-- Categories and interwikis go here: -->
+
[[Category:Futsal templates|{{PAGENAME}}]]
[[Category:Futsal templates]]
+
[[Category:Flag template system|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 21:30, 28 March 2015

Description

{{fsw-rt|nation|variant|size=optional|name=optional}}

Produces a flag icon attached to a wikilinked women's national futsal team article. Similar to Template:Fsw, but puts the flag icon on the right side of the team name instead of to the left. This is useful when formatting match results.

Parameters
  • nation — Use either the name of the nation or the three-letter country code as used by FIFA
  • 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

  • {{fsw-rt|Spain}}Spain 
  • {{fsw-rt|BRA}}Brazil 

See also

  • Template:fsw — for rendering the flag on the left
  • Template:fsw-big — for rendering a larger flag, with the team name underneath the flag