Template:Infobox character/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
mNo edit summary
>Default
No edit summary
Line 8: Line 8:
| name      = Bob [defaults to pagename]
| name      = Bob [defaults to pagename]
| image      = Image:Example.jpg
| image      = Image:Example.jpg
| imagewidth = [defaults to 288]
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| caption    = Bob the Flower
| title      = The Flower
| title      = The Flower

Revision as of 20:46, 26 May 2015

Description
This template is used to create a character infobox.
Syntax
Type {{infobox character|<...>}} somewhere, with parameters as shown below.
Sample output
{{infobox character
| name       = Bob [defaults to pagename]
| image      = Image:Example.jpg
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| title      = The Flower
| gender     = Male
| race       = Flowerkind
| faction    = Flora
| health     = 9001
| level      = 5
| status     = Flowering
| location   = The Garden
}}

Results in...

colspan="2" style="Template:InfoboxHeaderStyle font-size:120%; padding:0.5em;" | Bob
File:Example.jpg
Bob the Flower
colspan="2" style="Template:InfoboxHeaderStyle padding:0em;" | Vital statistics
Title The Flower
Gender Male
Race Flowerkind
Faction Flora
Health 9001
Level 5
Status Flowering
Location The Garden