Template:Infobox/Episodes: Difference between revisions

Template page
>Jaelltijdje
(Created page with "<infobox theme="episode"> <title source="title" style="text-align:center"><default>'''{{PAGENAME}}'''</default></title> <image source="image" /> <data source="caption">{{{Capt...")
 
>RJL Hartmans
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<infobox theme="episode">
<onlyinclude><includeonly><infobox theme="episode">
<title source="title" style="text-align:center"><default>'''{{PAGENAME}}'''</default></title>
<title source="title" style="text-align:center"><default>'''{{PAGENAME}}'''</default></title>
<group layout="horizontal">
    <data source="season"><label>Season</label>
        <format>{{#switch: {{{season|}}}
|1=[[Season 1|1]][[Category:Season 1 Episodes]]
|2=[[Season 2|2]][[Category:Season 2 Episodes]]
|3=[[Season 3|3]][[Category:Season 3 Episodes]]
|{{{season|}}}
}}</format></data>
    <data source="number"><label>Episode</label></data>
    <data source="overall"><label>Overall</label>
    <default>{{#switch: {{{season|}}}
| 1 = {{{number|}}}
| 2 = {{#if: {{{number|}}} | {{#expr: 10 + {{{number}}} }} }}
}}</default></data>
</group>
<image source="image" />
<image source="image" />
<data source="caption">{{{Caption}}}</data>
<data source="caption">{{{Caption}}}</data>
Line 13: Line 28:
     </group>
     </group>
<group layout="horizontal">
<group layout="horizontal">
     <header>Episode Guide</header>
     <header><center>Episode Guide</center></header>
     <data style="text-align:left" source="previous"><label>Previous</label></data>
     <data style="text-align:left" source="previous"><label><big>←</big> Previous</label></data>
     <data style="text-align: right" source="next"><label>Next</label></data>
     <data style="text-align: right" source="next"><label>Next <big>→</big></label></data>
</group></infobox>
</group></infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Episodes]]}}</includeonly></onlyinclude>
<noinclude>
{{Infobox/Episodes
|title        = Example
|season        = <nowiki>#</nowiki>
|number        = <nowiki>#</nowiki>
|overall      = <nowiki>#</nowiki>
|image        = Wiki.png
|caption      = Example
|airdate      = Example
|writer        = Example
|director      = Example
|exectiveproducer = Example
|supervisingproducer = Example
|producer      = Example
|runtime      = Example
|previous      = Example
|next          = Example
}}
== Usage & preview ==
== Usage & preview ==
If you copy and paste (in source editor) below, it will provide you with an infobox. Please don't type this in Visual Editor nothing will come up.
If you copy and paste (in source editor) below, it will provide you with an infobox. Please don't type this in Visual Editor nothing will come up.
<pre>
<pre>
{{Infobox/Episodes
{{Infobox/Episodes
|name =  
|title        =  
|seasonepisode =  
|season        =
|image =  
|number        =
|caption =
|overall      =  
|airdate =  
|image         =  
|writer =  
|caption       =  
|director =  
|airdate       =  
|writer       =  
|director     =  
|exectiveproducer =  
|exectiveproducer =  
|supervisingproducer =  
|supervisingproducer =  
|producer =  
|producer     =  
|runtime =
|runtime       =  
|previous =  
|previous     =  
|next =
|next         =  
transcript =
}}
}}
</pre>
</pre>
{{Clear}}
{{Clear}}

Latest revision as of 18:41, 9 March 2022

Usage & preview[edit source]

If you copy and paste (in source editor) below, it will provide you with an infobox. Please don't type this in Visual Editor nothing will come up.

{{Infobox/Episodes
|title         = 
|season        = 
|number        = 
|overall       = 
|image         = 
|caption       = 
|airdate       = 
|writer        = 
|director      = 
|exectiveproducer = 
|supervisingproducer = 
|producer      = 
|runtime       = 
|previous      = 
|next          = 
}}