Template:Infobox character/doc: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
imported>Default
No edit summary
imported>Default
m (7 revisions)
Line 2: Line 2:
:This template is used to create a character infobox.
:This template is used to create a character infobox.
;Syntax
;Syntax
:Type <code>{{t|infobox character|name=x|caption=y|...}}</code> somewhere.
:Type <code>{{t|infobox character|...}}</code> somewhere, with parameters as shown below.
;Sample output
;Sample output
:<code><nowiki>{{infobox character}}</nowiki></code> gives...


{{infobox character}}
<pre>{{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
}}</pre>
 
Results in...
 
{{infobox character
| name    = Bob
| image    = Image:Example.jpg
| caption  = Bob the Flower
| title    = The Flower
| gender  = Male
| race    = Flowerkind
| faction  = Flora
| health  = 9001
| 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
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...