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

From blackwiki
Jump to navigation Jump to search
imported>Unikalinho
imported>Jonesey95
m (Fix Linter errors using AutoEd)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
==Description==
 
==Description==
<tt><nowiki>{{fbo-rt|nation|variant|size=optional|name=optional}}</nowiki></tt>
+
<code><nowiki>{{fbo-rt|nation|variant|size=optional|name=optional}}</nowiki></code>
  
 
Produces a flag icon attached to a wikilinked national Olympic football team article.  Similar to [[Template:Fbo]], 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 national Olympic football team article.  Similar to [[Template:Fbo]], 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>{{fbo-rt|Great Britain}}</nowiki></tt> → {{fbo-rt|Great Britain}}
+
*<code><nowiki>{{fbo-rt|Great Britain}}</nowiki></code> → {{fbo-rt|Great Britain}}
*<tt><nowiki>{{fbo-rt|BRA}}</nowiki></tt> → {{fbo-rt|BRA}}
+
*<code><nowiki>{{fbo-rt|BRA}}</nowiki></code> → {{fbo-rt|BRA}}
*<tt><nowiki>{{fbo-rt|Germany|1960|name=GER}}</nowiki></tt> → {{fbo-rt|Germany|1960|name=GER}}
+
*<code><nowiki>{{fbo-rt|Germany|1960|name=GER}}</nowiki></code> → {{fbo-rt|Germany|1960|name=GER}}
  
 
==See also==
 
==See also==

Revision as of 05:36, 6 December 2019

Description

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

Produces a flag icon attached to a wikilinked national Olympic football team article. Similar to Template:Fbo, 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

See also