Difference between revisions of "Template:Entity"
Jump to navigation
Jump to search
DerToaster (talk | contribs) (Created page with "<includeonly>{{#invoke:infobox|infobox | invimage = none | rows = {{ #if: {{{health|}}} | {{infobox row|label=Health points|field={{{health}}} }} }} {{ #if: {{{armo...") |
DerToaster (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
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}}} }} }} | ||
{{ #if: {{{damage|}}} | {{infobox row|label=Attack strength|field={{{damage}}} }} }} | {{ #if: {{{damage|}}} | {{infobox row|label=Attack strength|field={{{damage}}} }} }} | ||
− | |||
− | |||
{{ #if: {{{equipment|}}} | {{infobox row|class=list-style-none|label=[[Drops#Equipped items|Natural equipment]]|field={{{equipment}}}}} }} | {{ #if: {{{equipment|}}} | {{infobox row|class=list-style-none|label=[[Drops#Equipped items|Natural equipment]]|field={{{equipment}}}}} }} | ||
| footer = | | footer = |
Latest revision as of 09:43, 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 }}