Template:Infobox character/doc: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Default
No edit summary
>Default
(Creating)
 
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|caption|...}}</code> somewhere.
:Type <code>{{t|infobox character|name=x|caption=y|...}}</code> somewhere.
;Sample output
;Sample output
 
:<code><nowiki>{{templatename|foo}}</nowiki></code> gives...
<pre>{{infobox character
:{{templatename|foo}}
|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>

Latest revision as of 20:46, 26 May 2015

Description
This template is used to create a character infobox.
Syntax
Type {{infobox character|<...>}} somewhere.
Sample output
{{templatename|foo}} gives...
Template:Templatename