Template:Infobox character/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
No edit summary
>Default
No edit summary
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|name|caption|...}}</code> somewhere.
;Sample output
;Sample output
:<code><nowiki>{{infobox character}}</nowiki></code> gives...


{{infobox character}}
<pre>{{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
}}</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 20:46, 26 May 2015

Description
This template is used to create a character infobox.
Syntax
Type {{infobox character|<name>|<caption>|<...>}} somewhere.
Sample output
{{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
}}

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