Difference between revisions of "Template:Fed/doc"
Jump to navigation
Jump to search
imported>Andrwsc (updated using AWB) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{documentation subpage}} | |
==Description== | ==Description== | ||
| − | < | + | <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== | ||
| − | *< | + | *<code><nowiki>{{fed|Australia}}</nowiki></code> → {{fed|Australia}} |
| − | *< | + | *<code><nowiki>{{fed|USA}}</nowiki></code> → {{fed|USA}} |
| − | *< | + | *<code><nowiki>{{fed|South Africa|1928}}</nowiki></code> → {{fed|South Africa|1928}} |
| − | *< | + | *<code><nowiki>{{fed|TCH}}</nowiki></code> → {{fed|TCH}} |
==See also== | ==See also== | ||
| − | *[[Template: | + | *[[Template:fed-big]] — for rendering a larger flag, with the team name underneath the flag |
| + | *[[Template:davis]] — for men's [[Davis Cup]] teams | ||
*[[:Category:Fed Cup teams]] | *[[:Category:Fed Cup teams]] | ||
| − | < | + | <includeonly>{{Sandbox other|| |
[[Category:Tennis templates|{{PAGENAME}}]] | [[Category:Tennis templates|{{PAGENAME}}]] | ||
[[Category:Flag template system|{{PAGENAME}}]] | [[Category:Flag template system|{{PAGENAME}}]] | ||
| − | </includeonly> | + | |
| + | [[ja:Template:Fed]] | ||
| + | }}</includeonly> | ||
Latest revision as of 04:31, 25 April 2020
| This is a documentation subpage for Template:Fed. It contains usage information, categories and other content that is not part of the original template page. |
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
{{fed|Australia}}→
Australia{{fed|USA}}→
United States{{fed|South Africa|1928}}→
South Africa{{fed|TCH}}→
Czechoslovakia
See also
- Template:fed-big — for rendering a larger flag, with the team name underneath the flag
- Template:davis — for men's Davis Cup teams
- Category:Fed Cup teams