Difference between revisions of "Template:Entity"

From ChocolateQuestWiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#invoke:infobox|infobox | invimage = none | rows = {{ #if: {{{health|}}} | {{infobox row|label=Health points|field={{{health}}} }} }} {{ #if: {{{armo...")
 
m (add faction field)
Line 3: Line 3:
 
| rows =
 
| rows =
 
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
 
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
 +
{{ #if: {{{faction|}}} | {{infobox row|label=[[Faction|Default faction]]|field={{{faction}}} }} }}
 
{{ #if: {{{armor|}}} | {{infobox row|label=[[Armor|Armor points]]|field={{{armor}}} }} }}
 
{{ #if: {{{armor|}}} | {{infobox row|label=[[Armor|Armor points]]|field={{{armor}}} }} }}
 
{{ #if: {{{behavior|}}} | {{infobox row|label=Behavior|field={{{behavior}}} }} }}
 
{{ #if: {{{behavior|}}} | {{infobox row|label=Behavior|field={{{behavior}}} }} }}

Revision as of 09:37, 17 June 2021

Usage

{{infobox
| title = box title, defaults to page's name
| imageN = Images displayed below the title. Supports animation. First image defaults to {{{title}}}.png. Set to "none" to remove.
| defaultimagesize = Set the default size used by the above images. Defaults to 150px.
| imageNsize = Sets the size of the corresponding image, overriding {{{defaultimagesize}}}.
| invimageN = Invimages displayed under the images, using Template:Tl. Set to "----" to add a line break. First invimage defaults to {{{title}}}, set to "none" to remove.
| imagearea = Completely replaces the functionality of the above 4 parameters, leaving a blank canvas below the title to put whatever
| rows = all rows go here using Template:Tl
| footer = optional centered footer that goes across both columns
}}