Template:Infobox Olympic games: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Smaldragon (talk | contribs) (added motto documentation) |
Smaldragon (talk | contribs) (added olympic games category) |
||
Line 42: | Line 42: | ||
}} |
}} |
||
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no || |
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no || |
||
[[Category:Olympic |
[[Category:Olympic Games]]}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
{{documentation}} |
{{documentation}} |
||
Line 133: | Line 131: | ||
"description": "a link to the succeeding games", |
"description": "a link to the succeeding games", |
||
"suggested": true |
"suggested": true |
||
}, |
|||
"categories": { |
|||
"label": "Category Olympic Games should be included?", |
|||
"description": "Should the category Olympic Games be automatically included", |
|||
"example": "no", |
|||
"autovalue": "yes" |
|||
} |
} |
||
}, |
}, |
||
Line 152: | Line 156: | ||
"closing_date", |
"closing_date", |
||
"previous_games", |
"previous_games", |
||
"next_games" |
"next_games", |
||
"categories" |
|||
] |
] |
||
} |
} |
Revision as of 15:16, 10 June 2021
Infobox Olympic games |
---|
Template documentation[create]
This template should be used in the pages of Olympic games.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | the full name of the event
| String | suggested |
image | image | logo/poster for the event | File | suggested |
alt | alt | the text that should display incase the image fails | String | optional |
caption | caption | Description of the image | String | suggested |
image2 | image2 | second image of the event | File | optional |
caption2 | caption2 | no description | Unknown | optional |
Host Nation | host_nation | which nation(s) hosted the games
| Template | suggested |
Motto | motto | the motto of the event | Unknown | suggested |
Competing Nations | competing_nations | the number of competing nations | String | optional |
Athletes | athletes | the number of competing athletes | String | optional |
Events | events | The number of events in the games | String | suggested |
Medals | medals | The number of medals of each type attributed | String | suggested |
Opening | opening_date | The Opening Date of the Olympics
| String | suggested |
Closing | closing_date | The closing date of the Olympic
| String | suggested |
Previous | previous_games | a link to the preceding games | Unknown | suggested |
Next | next_games | a link to the succeeding games | Unknown | suggested |
Category Olympic Games should be included? | categories | Should the category Olympic Games be automatically included
| Unknown | optional |