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

From blackwiki
Jump to navigation Jump to search
imported>Maiō T.
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
==Description==
 
==Description==
<tt><nowiki>{{fsw-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fsw-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
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.
 
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.
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
*<tt><nowiki>{{fsw-rt|Spain}}</nowiki></tt> → {{fsw-rt|Spain}}
+
*<code><nowiki>{{fsw-rt|Spain}}</nowiki></code> → {{fsw-rt|Spain}}
*<tt><nowiki>{{fsw-rt|BRA}}</nowiki></tt> → {{fsw-rt|BRA}}
+
*<code><nowiki>{{fsw-rt|BRA}}</nowiki></code> → {{fsw-rt|BRA}}
  
 
==See also==
 
==See also==
Line 19: Line 19:
 
*[[Template:fsw-big]] — for rendering a larger flag, with the team name underneath the flag
 
*[[Template:fsw-big]] — for rendering a larger flag, with the team name underneath the flag
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Futsal templates|{{PAGENAME}}]]
 
[[Category:Futsal templates|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:16, 25 April 2020

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