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

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
(created)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
{{documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
 
  
== Usage ==
+
==Description==
 +
<code><nowiki>{{fsw-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
== 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
  
<includeonly>
+
==Examples==
<!-- Categories and interwikis go here: -->
+
*<code><nowiki>{{fsw-rt|Spain}}</nowiki></code> → {{fsw-rt|Spain}}
[[Category:Futsal templates]]
+
*<code><nowiki>{{fsw-rt|BRA}}</nowiki></code> → {{fsw-rt|BRA}}
</includeonly>
+
 
 +
==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>{{Sandbox other||
 +
[[Category:Futsal templates|{{PAGENAME}}]]
 +
[[Category:Flag template system|{{PAGENAME}}]]
 +
}}</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