Template:Infobox season: Difference between revisions

From fattwiki
(Add infobox for seasons)
Tag: 2017 source edit
 
mNo edit summary
Tag: 2017 source edit
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<infobox>
<onlyinclude>
   <title source="title1">
<infobox theme-source="color_theme">
   <title source="title">
     <default>{{PAGENAME}}</default>
     <default>{{PAGENAME}}</default>
   </title>
   </title>
   <image source="image1">
   <image source="image">
     <caption source="caption1"/>
     <caption source="caption"/>
   </image>
   </image>
   <data source="episodes">
   <data source="episodes">
Line 18: Line 19:
     <label>Release</label>
     <label>Release</label>
   </data>
   </data>
</infobox>
</infobox><!--
-->{{#ifeq: {{NAMESPACENUMBER}} | 0 | {{#if: {{{color_theme|}}} || [[Category:Infoboxes with missing color theme]] }} | }}</onlyinclude><noinclude>
<br style="clear:both;"/>
{{Documentation}}
[[Category:Infoboxes]]</noinclude>

Latest revision as of 23:35, 16 November 2023


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