Template:Infobox episode/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
No edit summary
>Default
(New page: ;Description :This template is used to do something. ;Syntax :Type <code>{{t|templatename}}</code> somewhere. ;Sample output :<code><nowiki>{{templatename|foo}}</nowiki></code> gives... :{...)
 
Line 1: Line 1:
==Description==
;Description
To use this template, copy the following code and fill in the appropriate fields.
:This template is used to do something.
;Syntax
:Type <code>{{t|templatename}}</code> somewhere.
;Sample output
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
:{{templatename|foo}}


==Syntax==
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<pre>{{infobox episode
| title      =
| season      =
| number      =
| image      = [e.g. "Example.jpg"]
| imagewidth  = [e.g. "150"] [default: 210 pixels]
| airdate    =
| writer      =
| director    =
| previous    =
| next        =
}}</pre>
 
==Sample output==
<pre>{{infobox episode
| title      = Flower of Babel
| season      = One
| number      = Three
| image      = Example.jpg
| airdate    = Unaired
| writer      = D. Righta
| director    = A. di Rektour
| previous    = Episode Two
| next        = Episode Four
}}</pre>
 
Results in...
 
{{infobox episode
| title      = Flower of Babel
| season      = One
| number      = Three
| image      = Example.jpg
| airdate    = Unaired
| writer      = D. Righta
| director    = A. di Rektour
| previous    = Episode Two
| next        = Episode Four
}}
 
<includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:46, 26 May 2015

Description
This template is used to do something.
Syntax
Type {{templatename}} somewhere.
Sample output
{{templatename|foo}} gives...
Template:Templatename