Template:Infobox season/doc: Difference between revisions

From fattwiki
(created template documentation page)
Tag: 2017 source edit
 
mNo edit summary
Tag: 2017 source edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Usage ==
=== Syntax ===
=== Syntax ===
<pre>{{Infobox season
<pre>{{Infobox season
Line 29: Line 30:
| release = July 17, 2015 - June 10, 2016
| release = July 17, 2015 - June 10, 2016
}}</pre>
}}</pre>
== TemplateData ==
{{TemplateData header}}


<templatedata>
<templatedata>
Line 34: Line 38:
"params": {
"params": {
"color_theme": {
"color_theme": {
"aliases": [
"color-theme"
],
"label": "Color Theme",
"label": "Color Theme",
"description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
"description": "Name of color theme. See [[Fatt Wiki:Getting Started]] for valid names.",
Line 51: Line 52:
},
},
"caption": {
"caption": {
"aliases": [
"caption1"
],
"label": "Caption",
"label": "Caption",
"description": "Image caption",
"description": "Image caption",
Line 74: Line 72:
},
},
"release": {
"release": {
"aliases": [
"release_date"
],
"label": "Release Dates",
"label": "Release Dates",
"description": "Start and end dates",
"description": "Start and end dates",
Line 102: Line 97:
]
]
}
}
</templatedata>
</templatedata><noinclude>
[[Category:Template documentation]]
</noinclude>

Latest revision as of 02:19, 25 April 2024

Usage[edit source]

Syntax[edit source]

{{Infobox season
| title = 
| color_theme = 
| image = 
| caption = 
| episodes = 
| soundtrack = 
| release = 
}}

Example[edit source]

{{Infobox season
| title = Season 2: COUNTER/Weight
| color_theme = cw
| image = [[File:cwcover.jpg]]
| caption = Cover art by [https://twitter.com/shoddyrobot Craig Sheldon]
| episodes = 43
| soundtrack = [[The Long Way Around: Friends At The Table Soundtrack, Season Two]]
| release = July 17, 2015 - June 10, 2016
}}

TemplateData[edit source]

This is the TemplateData for this template. It is used by the Visual Editor and other tools.

No description.

Template parameters

ParameterDescriptionTypeStatus
Color Themecolor_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

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

Start and end dates

Example
July 17, 2015 - June 10, 2016
Stringsuggested