Difference between revisions of "Template:Infobox sport overview/sandbox"
Jump to navigation
Jump to search
imported>AussieLegend (.) |
imported>AussieLegend (.) |
||
Line 2: | Line 2: | ||
| bodystyle = width:{{{boxwidth|22em}}}; | | bodystyle = width:{{{boxwidth|22em}}}; | ||
| above = {{{title<includeonly>|{{PAGENAME}}</includeonly>}}} | | above = {{{title<includeonly>|{{PAGENAME}}</includeonly>}}} | ||
− | |||
| image = {{#ifexist:media:{{{image|}}} | | image = {{#ifexist:media:{{{image|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=200px|alt={{{image_alt|{{{alt|}}}}}}}} | |{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|sizedefault=200px|alt={{{image_alt|{{{alt|}}}}}}}} | ||
|{{{image|}}} | |{{{image|}}} | ||
}} | }} | ||
− | + | | caption = {{{caption|}}} | |
− | | caption = {{{caption | ||
| label1 = Country | | label1 = Country | ||
| data1 = {{{country|}}} | | data1 = {{{country|}}} | ||
<!-- GENERAL INFORMATION --> | <!-- GENERAL INFORMATION --> | ||
| label2 = {{nowrap|Governing body}} | | label2 = {{nowrap|Governing body}} | ||
− | | data2 = {{{union | + | | data2 = {{{union|}}} |
| label3 = {{nowrap|{{#if:{{{teamlabel1|}}}|{{{teamlabel1}}}|National team}}}} | | label3 = {{nowrap|{{#if:{{{teamlabel1|}}}|{{{teamlabel1}}}|National team}}}} | ||
| data3 = {{#if:{{{nationalteam|}}}|{{{nationalteam}}}|{{#if:{{{country<includeonly>|</includeonly>}}}|[[{{{country}}} national {{#ifeq:{{{sport}}}|Association football|football|{{{sport}}}}} team|{{{country}}}]]}}}} | | data3 = {{#if:{{{nationalteam|}}}|{{{nationalteam}}}|{{#if:{{{country<includeonly>|</includeonly>}}}|[[{{{country}}} national {{#ifeq:{{{sport}}}|Association football|football|{{{sport}}}}} team|{{{country}}}]]}}}} |
Revision as of 12:38, 1 September 2013
{{{title}}} | |
---|---|
National team | [[{{{country}}} national {{{sport}}} team|{{{country}}}]] |
Representative team | [[{{{noncountry}}} national {{{sport}}} team|{{{noncountry}}}]] |
Nickname(s) | {{{nickname}}} |
First played | {{{first}}} |
Registered players | {{{registered}}} |
Clubs | {{{clubs}}} |
National competitions | |
{{{national_list}}} | |
Club competitions | |
{{{club_list}}} | |
International competitions | |
{{{intl_list}}} | |
Audience records | |
Single match | {{{match}}} |
Season | {{{league}}} |
![]() | This is the template sandbox page for Template:Infobox sport overview (diff). See also the companion subpage for test cases. |
General infobox for a sport in a country. For the competition lists, if using standard wikilist formatting (with * or #), start the list on a new line. For longer lists, use {{collapsible list}}
.
Usage
{{Infobox sport overview | title = Gens FC | image = | caption = | union = | country = | sport = Football | noncountry = | nickname = | first = | registered = | clubs = <!-- COMPETITIONS --> | national_list = | club_list = | intl_list = <!-- AUDIENCE RECORDS --> | match = | league = <!-- FAN GROUPS --> | fan_org = }}
All parameters
{{Infobox sport overview | boxwidth = <!-- set width of infobox, default is 22em. must add units afterward, i.e. "25em" or "250px", not "22" or "250" --> | title = <!-- title of the infobox if different from the article title --> | image = <!-- image filename and type (i.e. "ImageName.png" --> | imagesize = <!-- change image size, default is 200px. must add units afterward, i.e. "250px" not "250" --> | image_alt = <!-- alt text, which will be seen when hovering over the image --> | caption = <!-- caption for the image above --> | union = <!-- governing body --> | country = <!-- country --> | sport = <!-- sport --> | noncountry = <!-- other country this country represents --> | teamlabel1 = <!-- overrides the "National team" label with custom label --> | nationalteam = <!-- overrides the national team link, requires full wikitext syntax --> | teamlabel2 = <!-- overrides the "Representative team" label with customer label --> | repteam = <!-- overrides the representative team link, requires full wikitext syntax --> | nickname = <!-- nicknames --> | first = <!-- date first played --> | registered = <!-- number of registered players --> | clubs = <!-- number of clubs --> | national_list = <!-- list of national competitions --> | club_list = <!-- list of club competitions --> | intl_list = <!-- list of international competitions --> | match = <!-- single match audience record --> | league = <!-- league audience record --> | fan_org = <!-- fan organization --> }}
The above documentation is transcluded from Template:Infobox sport overview/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |