Template:SMW TV episode infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "{{{airdate}}}" to "{{date|{{{airdate}}}}}")
(Updated template.)
Line 1: Line 1:
<templatestyles src="SMW TV episode infobox/styles.css"/>
<includeonly><templatestyles src="SMW TV episode infobox/styles.css"/>
{| id="smw-tv-episode" class="infobox" style="width:300px"
{| id="smw-tv-episode" class="infobox" style="width:300px"
! colspan="2" style="font-size:120%" | ''[[Super Mario World (television series)|Super Mario World]]'' episode
! colspan="2" style="font-size:120%" | ''[[Super Mario World (television series)|Super Mario World]]'' episode
Line 10: Line 10:
{{!}} '''Production number'''
{{!}} '''Production number'''
{{!}} {{{production}}}
{{!}} {{{production}}}
}}
|-
{{#if:{{{episode|}}}|
{{!}} '''Episode'''
{{!}} {{{episode}}}
}}
}}
|-
|-
Line 32: Line 37:
}}
}}
|-
|-
| colspan="2" style="text-align:center" | {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[Super Mario World (television series)#Episodes|List of episodes]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}}
| colspan="2" style="padding:0 !important" |
|}<noinclude>
{| style="width:100%" cellspacing="0"
! colspan="2" | Episode chronology
|- style="padding:0 2px !important"
| style="width:50%;text-align:center" | '''← Previous'''<br>{{{previous|}}}
| style="width:50%;text-align:center" | '''Next →'''<br>{{{next|—}}}
|- style="text-align:center;padding:0 2px !important"
| colspan="2" | [[Saturday Supercade#Episodes|List of episodes]]
|}
|}</includeonly><noinclude>
==Usage==
{|class=wikitable style="width:70%;float:right;margin:0 0 1em 1em"
!colspan=2|Syntax
|-
|&#124;title=
|By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|-
|&#124;image=
|A representative image of the episode - ideally, an important part of the episode.
|-
|&#124;production=
|The production number for the episode.
|-
|&#124;episode=
|The chronological number of the episode.
|-
|&#124;airdate=
|The airdate of the episode (use {{tem|flag list}}).
|-
|&#124;writer=
|The writer(s) of the episode.
|-
|&#124;song=
|The song featured in the episode.
|-
|&#124;captain_n=
|The ''[[Captain N: The Game Master]]'' episode aired with the episode.
|-
|&#124;previous=
|The previous episode (displaying title).
|-
|&#124;next=
|The following episode (displaying title).
|}
 
==Blank template==
==Blank template==
<pre>
<pre>
Line 40: Line 88:
|image=
|image=
|production=
|production=
|episode=
|airdate=
|airdate=
|writer=
|writer=
|song=
|song=
|captain_n=
|captain_n=
|before=
|previous=
|after=
|next=
}}
}}
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 21:59, April 28, 2025

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|image= A representative image of the episode - ideally, an important part of the episode.
|production= The production number for the episode.
|episode= The chronological number of the episode.
|airdate= The airdate of the episode (use {{flag list}}).
|writer= The writer(s) of the episode.
|song= The song featured in the episode.
|captain_n= The Captain N: The Game Master episode aired with the episode.
|previous= The previous episode (displaying title).
|next= The following episode (displaying title).

Blank template

{{SMW TV episode infobox
|title=
|image=
|production=
|episode=
|airdate=
|writer=
|song=
|captain_n=
|previous=
|next=
}}