Template:Infobox Olympic games: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Smaldragon (talk | contribs) (general header) |
No edit summary |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
| subheader = {{{subheader|}}} |
| subheader = {{{subheader|}}} |
||
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em; |
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em; |
||
| autoheaders = true |
|||
| headerstyle = background:#eaecee; |
| headerstyle = background:#eaecee; |
||
<!-- images --> |
<!-- images --> |
||
Line 11: | Line 12: | ||
| caption2 = {{{caption2|}}} |
| caption2 = {{{caption2|}}} |
||
<!-- |
<!-- event --> |
||
| header1 = Event |
|||
| header1 = {{#if:{{{host_nation|}}}{{{motto|}}}{{{competing_nations|}}}{{{athletes|}}}{{{events|}}}{{{medals|}}}{{{opening_date|}}}{{{closing_date|}}}{{{previous_games|}}}{{{next_games|}}}|General}} |
|||
| label2 = Host Nation |
| label2 = Host Nation |
||
Line 29: | Line 30: | ||
| data6 = {{{events|}}} |
| data6 = {{{events|}}} |
||
| label7 = |
| label7 = Opening |
||
| data7 = {{{ |
| data7 = {{{opening_date|}}} |
||
| label8 = |
| label8 = Closing |
||
| data8 = {{{ |
| data8 = {{{closing_date|}}} |
||
<!-- results --> |
|||
| label9 = Closing |
|||
| data9 = {{{closing_date|}}} |
|||
| |
| header9 = Results |
||
⚫ | |||
| |
| label10 = Medals |
||
| |
| data10 = {{{medals|}}} |
||
| header11 = _BLANK_ |
|||
| label12 = Previous |
|||
⚫ | |||
| label13 = Next |
|||
| data13 = {{{next_games|}}} |
|||
}} |
}} |
||
Line 102: | Line 109: | ||
"label": "Events", |
"label": "Events", |
||
"description": "The number of events in the games", |
"description": "The number of events in the games", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 122: | Line 123: | ||
"description": "The closing date of the Olympic", |
"description": "The closing date of the Olympic", |
||
"example": "June 26, 2018", |
"example": "June 26, 2018", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 155: | Line 162: | ||
"athletes", |
"athletes", |
||
"events", |
"events", |
||
"medals", |
|||
"opening_date", |
"opening_date", |
||
"closing_date", |
"closing_date", |
||
"medals", |
|||
"previous_games", |
"previous_games", |
||
"next_games", |
"next_games", |
Latest revision as of 00:33, 7 January 2024
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 |
Opening | opening_date | The Opening Date of the Olympics
| String | suggested |
Closing | closing_date | The closing date of the Olympic
| String | suggested |
Medals | medals | The number of medals of each type attributed | 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 |