Template:Infobox character/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
m (7 revisions)
imported>Default
m (Protected "Template:Infobox character/doc" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
Line 1: Line 1:
;Description
==Description==
:This template is used to create a character infobox.
To use this template, copy the following code and fill in the appropriate fields.
;Syntax
:Type <code>{{t|infobox character|...}}</code> somewhere, with parameters as shown below.
;Sample output


<pre>{{infobox character
==Syntax==
| name      = Bob [defaults to pagename]
<pre>
| image     = Image:Example.jpg
{{infobox character
| imagewidth = [defaults to 250]
| title        =  
| caption    = Bob the Flower
| image         = [e.g. "Example.jpg"]
| title     = The Flower
| imagewidth   = [e.g. "150"] [default: 210 pixels]
| gender    = Male
| imagecaption  =  
| race      = Flowerkind
| position     =
| faction    = Flora
| age          =
| health    = 9001
| status        =
| level     = 5
| height        =
| status     = Flowering
| weight        =
| location  = The Garden
}}
}}</pre>
</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...
Results in...


{{infobox character
{{infobox character
| name    = Bob
| title        = Flowa
| image   = Image:Example.jpg
| image         = Example.jpg
| caption = Bob the Flower
| imagecaption = Flowa, at rest
| title    = The Flower
| position      = Legal Secretary
| gender  = Male
| age          = 2 months
| race    = Flowerkind
| status        = Active
| faction = Flora
  | height        = 5 inches
| health  = 9001
| weight        = 20 grams
| level    = 5
| status  = Flowering
| location = The Garden
}}
}}


<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

To use this template, copy the following code and fill in the appropriate fields.

Syntax

{{infobox character
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | imagewidth    = [e.g. "150"] [default: 210 pixels]
 | imagecaption  = 
 | position      =
 | age           =
 | status        =
 | height        =
 | weight        =
}}

Samples

{{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
}}

Results in...