Template:Infobox season: Difference between revisions

From fattwiki
m ("color-theme" -> "color_theme")
Tag: 2017 source edit
(Add TemplateData to make infobox work with visual editor)
Tag: 2017 source edit
Line 23: Line 23:
<noinclude>
<noinclude>
[[Category:Infoboxes]]
[[Category:Infoboxes]]
</noinclude>
<templatedata>
{
"params": {
"color_theme": {
"aliases": [
"color-theme"
],
"label": "Color Theme",
"description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
"example": "cw",
"type": "string",
"default": "Default theme gold",
"suggested": true
},
"image": {
"label": "Image",
"description": "Image",
"example": "[[File:cwcover.jpg]]",
"type": "content"
},
"caption": {
"aliases": [
"caption1"
],
"label": "Caption",
"description": "Image caption",
"example": "Cover art by [https://twitter.com/shoddyrobot Craig Sheldon]",
"type": "content"
},
"episodes": {
"label": "Episodes",
"description": "Number of episodes in season",
"example": "43",
"type": "content",
"suggested": true
},
"soundtrack": {
"label": "Soundtrack",
"description": "The season's soundtrack",
"example": "[[The Long Way Around: Friends At The Table Soundtrack, Season Two]]",
"type": "content",
"suggested": true
},
"release": {
"aliases": [
"released",
"release_date"
],
"label": "Release Dates",
"description": "Start and end dates",
"example": "July 17, 2015 - June 10, 2016",
"type": "string",
"suggested": true
},
"title": {
"label": "Title",
"description": "Title at the top of the infobox",
"example": "Season 2: COUNTER/Weight",
"type": "content",
"default": "Uses the page title",
"required": true
}
},
"paramOrder": [
"color_theme",
"title",
"image",
"caption",
"episodes",
"soundtrack",
"release"
]
}
</templatedata></noinclude>

Revision as of 22:23, 16 November 2023

No description.

Template parameters

ParameterDescriptionTypeStatus
Color Themecolor_theme color-theme

Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.

Default
Default theme gold
Example
cw
Stringsuggested
Titletitle

Title at the top of the infobox

Default
Uses the page title
Example
Season 2: COUNTER/Weight
Contentrequired
Imageimage

Image

Example
[[File:cwcover.jpg]]
Contentoptional
Captioncaption caption1

Image caption

Example
Cover art by [https://twitter.com/shoddyrobot Craig Sheldon]
Contentoptional
Episodesepisodes

Number of episodes in season

Example
43
Contentsuggested
Soundtracksoundtrack

The season's soundtrack

Example
[[The Long Way Around: Friends At The Table Soundtrack, Season Two]]
Contentsuggested
Release Datesrelease released release_date

Start and end dates

Example
July 17, 2015 - June 10, 2016
Stringsuggested