Template:Infobox episode/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
No edit summary
>Default
No edit summary
Line 1: Line 1:
;Description
;Description
:This template is used to do something.
:To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. Don't forget to include brackets, to make the fields into links.
;Syntax
;Syntax
:Type <code>{{t|templatename}}</code> somewhere.
:Type <code>{{t|infobox episode|...}}</code> somewhere, with parameters as shown below.  
;Sample output
;Sample output
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
:{{templatename|foo}}


<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<pre>{{infobox episode
| name      = Five Alive
| season    = Five
| number    = Five
| image      = Image:Example.jpg
| imagewidth = [defaults to 250]  
| airdate    = Unaired
| writer    = Mr. Writer
| director  = Ms. Director
| previous  = Episode A
| next      = Episode C
}}</pre>


Results in...


To use this template, enter the following and fill in the appropriate fields. Any field left blank will not show up. Don't forget to include brackets, to make the fields into links.
{{infobox episode
| name      = Five Alive
| season    = Five
| number    = Five
| image      = Image:Example.jpg
| airdate    = Unaired
| writer    = Mr. Writer
| director  = Ms. Director
| previous  = Episode A
| next      = Episode C
}}


<pre>{{episode
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
| season  =
| number  =
| image    =
| airdate  =
| writer  =
| director =
| previous =
| next    =
}}</pre>

Revision as of 20:46, 26 May 2015

Description
To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up. Don't forget to include brackets, to make the fields into links.
Syntax
Type {{infobox episode|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox episode
| name       = Five Alive
| season     = Five
| number     = Five
| image      = Image:Example.jpg
| imagewidth = [defaults to 250] 
| airdate    = Unaired
| writer     = Mr. Writer
| director   = Ms. Director
| previous   = Episode A
| next       = Episode C
}}

Results in...

Series Name
Season Five, Episode Five
Air date Unaired
Written by Mr. Writer
Directed by Ms. Director
Episode Guide
previous
Episode A
next
Episode C