Template:Infobox character/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
m (1 revision)
imported>Default
(Creating)
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 create a character infobox.
 
;Syntax
==Syntax==
:Type <code>{{t|infobox character|name=x|caption=y|...}}</code> somewhere.
<pre>
;Sample output
{{infobox character
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
| title        =  
:{{templatename|foo}}
| image        = [e.g. "Example.jpg"]
| imagewidth    = [e.g. "150"] [default: 210 pixels]
| imagecaption  =
| position      =
| age          =
| status        =
| height        =
| weight        =
}}
</pre>
 
==Samples==
<pre>
{{infobox character
| title        = Flowa
| image        = Example.jpg
| imagecaption  = Flowa, at rest
| position      = Legal Secretary
| age          = 2 months
| status        = Active
| height        = 5 inches
| weight        = 20 grams
}}
</pre>
 
Results in...
 
{{infobox character
| title        = Flowa
| image        = Example.jpg
| imagecaption  = Flowa, at rest
| position      = Legal Secretary
| age          = 2 months
| status        = Active
| height        = 5 inches
| weight        = 20 grams
}}


<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 12:30, 13 June 2015

Description
This template is used to create a character infobox.
Syntax
Type {{infobox character}} somewhere.
Sample output
{{templatename|foo}} gives...
Template:Templatename