Template:Infobox character/doc: Difference between revisions
Jump to navigation
Jump to search
>Default No edit summary |
>Default mNo edit summary |
||
| Line 6: | Line 6: | ||
<pre>{{infobox character | <pre>{{infobox character | ||
| name = Bob | | name = Bob [defaults to pagename] | ||
| image = Image:Example.jpg | | image = Image:Example.jpg | ||
| imagewidth = [defaults to 288] | | imagewidth = [defaults to 288] | ||
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 288]
| 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 |