Template:Infobox Olympic games: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(added motto documentation)
(added olympic games category)
Line 42: Line 42:


}}
}}

<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no ||
<includeonly>{{#ifeq: {{lc:{{{categories}}}}} | no ||
[[Category:Olympic Event]]}}</includeonly>
[[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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

the full name of the event

Example
First Olympics
Stringsuggested
imageimage

logo/poster for the event

Filesuggested
altalt

the text that should display incase the image fails

Stringoptional
captioncaption

Description of the image

Stringsuggested
image2image2

second image of the event

Fileoptional
caption2caption2

no description

Unknownoptional
Host Nationhost_nation

which nation(s) hosted the games

Example
{{flag|Yoathl}}
Templatesuggested
Mottomotto

the motto of the event

Unknownsuggested
Competing Nationscompeting_nations

the number of competing nations

Stringoptional
Athletesathletes

the number of competing athletes

Stringoptional
Eventsevents

The number of events in the games

Stringsuggested
Medalsmedals

The number of medals of each type attributed

Stringsuggested
Openingopening_date

The Opening Date of the Olympics

Example
June 22, 2018
Stringsuggested
Closingclosing_date

The closing date of the Olympic

Example
June 26, 2018
Stringsuggested
Previousprevious_games

a link to the preceding games

Unknownsuggested
Nextnext_games

a link to the succeeding games

Unknownsuggested
Category Olympic Games should be included?categories

Should the category Olympic Games be automatically included

Example
no
Auto value
yes
Unknownoptional