Difference between revisions of "Template:Infobox national wheelchair rugby team"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>WOSlinker (tidy style for better HTML5 compatibility) |
imported>Zackmann08 (updating to use Template:infobox) |
||
| Line 1: | Line 1: | ||
| − | {| | + | <includeonly>{{Infobox |
| − | + | | bodyclass = vcard | |
| − | | | + | | aboveclass = fn org |
| − | + | | abovestyle = color:#{{{color2|000000}}}; background-color:#{{{color1|ffffff}}} | |
| − | | | + | | above = {{{country|}}} {{{country_alt|}}} |
| − | + | ||
| − | {{# | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|120px}}}|alt={{{alt|}}}}} |
| − | + | | caption = {{{caption|}}} | |
| − | + | ||
| − | + | | label1 = IWRF Ranking | |
| − | | | + | | data1 = {{{iwrf_ranking|}}} |
| − | + | | label2 = Joined [[IWRF]] | |
| − | |{{{iwrf_ranking}}} | + | | data2 = {{{joined_iwrf|}}} |
| − | | | + | | label3 = IWRF Zone |
| − | + | | data3 = {{autolink|{{{iwrf_zone|}}}}} | |
| − | + | | label4 = National Federation | |
| − | + | | data4 = {{{national_fed|}}} | |
| − | + | | label5 = Coach | |
| − | }} | + | | data5 ={{#if:{{{coach|}}}|<span class="agent">{{{coach|}}}</span>}} |
| − | | | + | | label6 = Nickname(s) |
| − | + | | data6 = {{#if:{{{nickname|}}}|<span class="nickname">{{{nickname}}}</span>}} | |
| − | + | ||
| − | {{ | + | | header7 ={{#if:{{{paraly_appearances|}}}{{{paraly_medals|}}}|[[Wheelchair rugby at the Summer Paralympics|Paralympic Games]]}} |
| − | + | | label8 = Appearances | |
| − | + | | data8 = {{{paraly_appearances|}}} | |
| − | + | | label9 = Medals | |
| − | + | | data9 = {{{paraly_medals|}}} | |
| − | {{ | + | |
| − | + | | header10 ={{#if:{{{wc_appearances|}}}{{{wc_medals|}}}|[[Wheelchair Rugby World Championships|World Championships]]}} | |
| − | + | | label11 = Appearances | |
| − | + | | data11 = {{{wc_appearances|}}} | |
| − | |<span class="agent">{{{coach| | + | | label12 = Medals |
| − | | | + | | data12 = {{{wc_medals|}}} |
| − | {{#if:{{{nickname| | + | |
| − | + | | header13 = {{#if:{{{zone_appearances|}}}{{{zone_medals|}}}|{{{zone_championship|}}}}} | |
| − | + | | label14 = Appearances | |
| − | {{ | + | | data14 = {{{zone_appearances|}}} |
| − | }} | + | | label15 = Medals |
| − | + | | data15 = {{{zone_medals|}}} | |
| − | | | + | |
| − | + | | header16 = {{#if:{{{zone_appearances2|}}}{{{zone_medals2|}}}|{{{zone_championship2|}}}}} | |
| − | |{{{paraly_appearances| | + | | label17 = Appearances |
| − | | | + | | data17 = {{{zone_appearances2|}}} |
| − | + | | label18 = Medals | |
| − | |{{{paraly_medals| | + | | data18 = {{{zone_medals2|}}} |
| − | | | + | |
| − | + | | header19 = {{#if: {{{h_body|}}}|Uniforms}} | |
| − | | | + | |
| − | + | | data20 = {{#if: {{{h_body|}}}|{{Basketball kit home and away | |
| − | |{{{wc_appearances| | + | |h_title ={{{h_title|Light}}} |
| − | | | + | |h_body ={{{h_body|ffffff}}} |
| − | + | |h_pattern_b ={{{h_pattern_b|_unknown}}} | |
| − | |{{{wc_medals| | + | |h_shorts ={{{h_shorts|ffffff}}} |
| − | | | + | |h_pattern_s ={{{h_pattern_s|}}} |
| − | + | |a_title ={{{a_title|Dark}}} | |
| − | | | + | |a_body ={{{a_body|666666}}} |
| − | + | |a_pattern_b ={{{a_pattern_b|_unknown}}} | |
| − | |{{{zone_appearances| | + | |a_shorts ={{{a_shorts|000000}}} |
| − | | | + | |a_pattern_s ={{{a_pattern_s|}}} |
| − | + | }}}} | |
| − | |{{{zone_medals| | + | }}</includeonly><noinclude> |
| − | {{#if: {{{ | ||
| − | {{ | ||
| − | { | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | {{#if: {{{h_body | ||
| − | |||
| − | {{ | ||
| − | {{ | ||
| − | |||
| − | h_title ={{{h_title|Light}}} | ||
| − | h_body ={{{h_body|ffffff}}} | ||
| − | h_pattern_b ={{{h_pattern_b|_unknown}}} | ||
| − | h_shorts ={{{h_shorts|ffffff}}} | ||
| − | h_pattern_s ={{{h_pattern_s|}}} | ||
| − | a_title ={{{a_title|Dark}}} | ||
| − | a_body ={{{a_body|666666}}} | ||
| − | a_pattern_b ={{{a_pattern_b|_unknown}}} | ||
| − | a_shorts ={{{a_shorts|000000}}} | ||
| − | a_pattern_s ={{{a_pattern_s|}}} | ||
| − | }} | ||
| − | }} | ||
| − | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 04:17, 17 January 2017
| 30px | This template uses Lua: |
Template:Parameter names example
Contents
Usage
{{Infobox national wheelchair rugby team
| color2 =
| color1 =
| country_alt =
| country =
| logo =
| logo_width =
| iwrf_ranking =
| joined_iwrf =
| iwrf_zone =
| national_fed =
| coach =
| nickname =
| paraly_appearances =
| paraly_medals =
| wc_appearances =
| wc_medals =
| zone_championship =
| zone_appearances =
| zone_medals =
| zone_championship2 =
| zone_appearances2 =
| zone_medals2 =
| h_title =
| h_body =
| h_pattern_b =
| h_shorts =
| h_pattern_s =
| a_title =
| a_body =
| a_pattern_b =
| a_shorts =
| a_pattern_s =
}}
Parameters
- country
- The country represented by the national team. Should correspond to the image Flag of country.svg
- national_fed
- National wheelchair rugby federation that administers the team
- iwrf_ranking
- Current IWRF ranking for the team
- iwrf_zone
- Plain text name of IWRF Zone in which the team plays (e.g., "IWRF Americas")
- coach
- Current coach
Competitions
- zone_championship
- The championship tournament of the iwrf_zone above (e.g., "IWRF Americas Championship")
- zone_appearances
- Appearances in the zone tournament
- zone_medals
- A listing of the medals won in that tournament.
- wc_appearances
- Appearances at the IWRF World Championship
- wc_medals
- Medals won at the world championships
- paraly_appearances
- Appearances at the Summer Paralympics
- paraly_medals
- Summer Paralympic medals
Uniform parameters
These parameters build the stylized uniform in the infobox. See also {{Basketball kit}}.
- Home (primary) uniform: h_body, h_pattern_b, h_shorts, h_pattern_s
- Away (secondary) uniform: a_body, a_pattern_b, a_shorts, a_pattern_s
Optional parameters
- logo
- Optional: An image for the team or the national federation (optional; default is country flag)
- logo_width
- Optional: Width of logo defaults to 120 pixels. This parameter allows smaller logos to be shown without unsightly stretch marks
- color1
- Optional: Hex code for the background color used in the infobox header
- color2
- Optional Hex code for the foreground (text) color used in the infobox header
Example
| United States 23x15px USA | |||
|---|---|---|---|
| 120px | |||
| IWRF Ranking | 1st | ||
| IWRF Zone | IWRF Americas | ||
| National Federation | USQRA | ||
| Coach | 23x15px James Gumbert | ||
| Paralympic Games | |||
| Appearances | 3 | ||
| Medals | 16px Gold: 2000,
2008 16px Bronze: 2004 | ||
| World Championships | |||
| Appearances | ? | ||
| Medals | 16px Gold: 2006, 2010 | ||
| IWRF Americas Championship | |||
| Appearances | ? | ||
| Medals | 16px Gold: 2009 | ||
| Uniforms | |||
| |||
Microformat
| The above documentation is transcluded from Template:Infobox national wheelchair rugby team/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |