Difference between revisions of "Template:Infobox Paralympic event/doc"
Jump to navigation
Jump to search
imported>Zyxw (add category) |
imported>Zyxw (update usage example) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| − | {{Parameter names example | event | games | image | caption | venue | venues | date | dates | num_events | competitors | nations | teams | win_value <!--| win_label--> | gold <!--| goldNPC--> | gold2 <!--| goldNPC2--> | gold3 <!--| goldNPC3--> | silver <!--| silverNPC--> | silver2 <!--| silverNPC2--> | silver3 <!--| silverNPC3--> | bronze <!--| bronzeNPC--> | bronze2 <!--| bronzeNPC2--> | bronze3 <!--| bronzeNPC3--> | prev | next }} | + | {{Parameter names example | event | games | image | image_size | alt | caption | venue | venues | date | dates | num_events | competitors | nations | teams | win_value <!--| win_label--> | gold <!--| goldNPC--> | gold2 <!--| goldNPC2--> | gold3 <!--| goldNPC3--> | silver <!--| silverNPC--> | silver2 <!--| silverNPC2--> | silver3 <!--| silverNPC3--> | bronze <!--| bronzeNPC--> | bronze2 <!--| bronzeNPC2--> | bronze3 <!--| bronzeNPC3--> | prev | next }} |
<pre style="overflow: auto; white-space: pre;"> | <pre style="overflow: auto; white-space: pre;"> | ||
| Line 11: | Line 11: | ||
| games = | | games = | ||
| image = | | image = | ||
| + | | image_size = | ||
| + | | alt = | ||
| caption = | | caption = | ||
| venue = <!-- or: venues --> | | venue = <!-- or: venues --> | ||
Revision as of 19:01, 2 March 2017
| 40px | This is a documentation subpage for Template:Infobox Paralympic event. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox Paralympic event
| event =
| games =
| image =
| image_size =
| alt =
| caption =
| venue = <!-- or: venues -->
| date = <!-- or: dates, use {{Start date|YYYY|MM|DD}} -->
| competitors =
| nations =
| teams =
| win_value =
| gold =
| goldNPC =
| gold2 =
| goldNPC2 =
| silver =
| silverNPC =
| bronze =
| bronzeNPC =
| prev =
| next =
}}
Parameters
- event
- Required for infobox title
- games
- String such as
2008 Summeror2006 Winter, for example - image
- (Optional) complete image syntax
- caption
- (Optional) displays under the image
- venue or venues
- Required
- date or dates
- Required, date(s) of the competition. Use {{Start date}} (and {{End date}}) for the first (and last), over multiple lines if necessary.
- competitors
- Optional, total number of competitors for individual events
- nations
- Optional, total number of unique nations represented in this event
- teams
- Optional, number of teams in the tournament for team sports
- governing_body
- Optional, name of International Governing body for the sport
- win_value
- Optional, winning time or score. Use
win_label = Winning scoreto change the label from Winning time to Winning score, for example. - gold, silver, bronze
- Athlete name or team name. Use
gold = {{flagIPCteam|CHN|2008 Summer}}(for example) for a team name, instead of giving a full list of athletes. For duos and small teams, separate entries with {{Plainlist}} - goldNPC, silverNPC, bronzeNPC
- (Optional) country code for the gold medal winner. Do not specify this if the
goldparameter specifies a team name instead of an individual name. - gold2 and goldNPC2
- As for
goldandgoldNPC, but used for situations where there is a tie for first place and two gold medals are awarded (The template currently supports up to three of each medal type.). - prev
- Link to article on the same event/sport from the previous edition of the Paralympic Games
- next
- Link to article on the same event/sport from the following edition of the Paralympic Games
Example
| Judo – Men's 73 kg at the XIII Paralympic Games | |
|---|---|
| Venue | Beijing Workers' Gymnasium |
| Date | September 8, 2008 |
| Competitors | 12 from 12 nations |
| Medalists | |
{{Infobox Paralympic event
| event = Judo – Men's 73 kg
| games = 2008 Summer
| image =
| caption = Gold medal winner Eduardo Avila of Mexico
| venue = [[Beijing Workers' Gymnasium]]
| date = {{Start date|2008|09|08}}
| competitors = 12
| nations = 12
| gold = [[Eduardo Avila]]
| goldNPC = MEX
| silver = [[Xu Zhilin]]
| silverNPC = CHN
| bronze = [[Fabian Ramirez (judoka)|Fabian Ramirez]]
| bronzeNPC = ARG
| bronze2 = [[Sergii Sydorenko]]
| bronzeNPC2 = UKR
| prev = [[Judo at the 2004 Summer Paralympics - Men's 73 kg|2004]]
| next = [[Judo at the 2012 Summer Paralympics - Men's 73 kg|2012]]
}}
Microformat
Tracking categories
- Category:Pages using Infobox Paralympic event with invalid games text (0)
- Category:Pages using infobox Paralympic event with unknown parameters (0)
See also
- Supporting template
- Similar templates
- Template:Infobox Olympic event
- Template:Infobox sports competition event
- Template:Infobox Asian Games event
- Template:Infobox Commonwealth Games event
- Template:Infobox Pan American Games event
- Template:Infobox Southeast Asian Games event