Template:Infobox character/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
m (Protected "Template:Infobox character/doc" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
imported>Screamer Nerd
m (1 revision)
 
(One intermediate revision by one other user not shown)
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>

Latest revision as of 01:27, 5 August 2015

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