Difference between revisions of "Template:Infobox pawn"
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- Cargo declare section --> {{#cargo_declare:_table = Animal | name = Page | image = File | description = Wikitext | type = Page <!--...") |
|||
Line 114: | Line 114: | ||
| livesin_tundra = {{{livesin_tundra|}}} | | livesin_tundra = {{{livesin_tundra|}}} | ||
}} }} | }} }} | ||
− | <!-- {{#vardefine:family|{{{family}}} }} ...if needed..... --> | + | <!-- {{#vardefine:family|{{{family}}} }} ...if needed..... --><!-- |
− | -->{| class="infoboxtable" | + | --> |
+ | {| class="infoboxtable" | ||
+ | |- | ||
+ | ! colspan="2" class="infoboxname3" | {{{name}}} | ||
+ | |-style="text-align:center;" | ||
+ | | colspan="2" style="padding:0.5em;" | {{#if: {{{spoilerimage|}}}|{{#tag:tabber| Unknown=[[File:{{{image}}}|center|{{#if: {{{size|}}} | {{{size}}}|290x350px}}]]{{#if: {{{spoilerimage|}}}| | ||
+ | {{!}}-{{!}} | ||
+ | Spoiler=[[File:{{{spoilerimage}}}|center|{{#if: {{{size|}}} | {{{size}}}|290x350px}}]] }} | ||
+ | }} | {{#if: {{{image|}}} | [[File:{{{image}}}{{!}}{{#if: {{{size|}}} | {{{size}}}|290x350px}}]] | No image yet}} }} | ||
+ | |- | ||
+ | ! colspan="2" class="infoboxdetails3" | Details | ||
+ | |- | ||
+ | {{#if: {{{type|}}} | {{!}} <div>Type</div> {{!!}} {{{type}}} }} | ||
+ | |- | ||
+ | {{#if: {{{boss|}}} | {{#switch: {{lc:{{{boss}}}}} | ||
+ | |yes = {{!}} <div>Boss</div> {{!!}} {{#ifeq: {{NAMESPACE}} | Template | | Yes <includeonly>[[Category:{{#var:catstub}} bosses]]</includeonly>}} | ||
+ | |y = {{!}} <div>Boss</div> {{!!}} {{#ifeq: {{NAMESPACE}} | Template | | Yes <includeonly>[[Category:{{#var:catstub}} bosses]]</includeonly>}} }} }} | ||
+ | |- | ||
+ | {{#if: {{{subtype|}}} | {{!}} <div>Sub-type</div> {{!!}} {{{subtype}}} }} | ||
+ | |- | ||
+ | {{#if: {{{leathername|}}} | {{!}} width=80 {{!}} <div>Leather</div> {{!!}} {{{leathername}}} }} | ||
+ | |- | ||
+ | {{#if: {{{woolname|}}} | {{!}} <div>Wool</div> {{!!}} {{{woolname}}} }} | ||
+ | |- | ||
+ | {{#if: {{{woolamount|}}} | {{!}} <div>Amount</div> {{!!}} {{{woolamount}}} }} | ||
+ | |- | ||
+ | {{#if: {{{tactics|}}} | {{!}} <div>Tactics</div> {{!!}} {{{tactics}}} }} | ||
+ | |- | ||
+ | {{#if: {{{loot|}}} | {{!}} <div><span title="Not all this loot is guaranteed to drop">Loot</span></div> {{!!}} {{{loot}}} }} | ||
+ | |- | ||
+ | {{#if: {{{additional|}}} | {{!}} <div>Other loot</div> {{!!}} {{{additional}}} }} | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | <!-- comment out temporarily | ||
+ | |||
+ | {| class="infoboxtable" | ||
! colspan="4" class="infoboxname1" | {{#if: {{{name|}}} | {{{name}}} | {{Pagename nd}} }} | ! colspan="4" class="infoboxname1" | {{#if: {{{name|}}} | {{{name}}} | {{Pagename nd}} }} | ||
|- | |- | ||
Line 206: | Line 243: | ||
|- | |- | ||
{{#if: {{{internalname|}}} | {{!}} <div>Creature ID</div> {{!!}} colspan="3" {{!}} <div class="value" style="word-break: break-all;">{{{internalname}}}</div>}} | {{#if: {{{internalname|}}} | {{!}} <div>Creature ID</div> {{!!}} colspan="3" {{!}} <div class="value" style="word-break: break-all;">{{{internalname}}}</div>}} | ||
− | |}<!-- | + | |}--><!-- |
== Auto categories == | == Auto categories == |
Revision as of 23:46, 15 July 2019
This template defines the table "Animal". This table has not been created yet. }}
|y = |
Boss
|| }} }}
|-
|-
|-
|-
|-
|-
|-
|}
| File:Questionmark black.png }} |-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|-
|}--></includeonly>
Usage
This documentation is for the new infobox pawn template.
{{Infobox pawn | name = | image = | description = | description_markup = | type = | subtype = <!-- General --> | basebodysize = | basehealthscale = | basehungerrate = | comfytemp_min = | comfytemp_max = | diet = | flammability = | has_gender = | marketvalue = | movespeed = <!-- Combat --> | armorrating_blunt = | armorrating_heat = | armorrating_sharp = | combatpower = <!-- Life phases --> | life_expectancy = | mass_adult = | mass_baby = | mass_juvenile = | maturity_age = | minage_adult = | minage_baby = | minage_juvenile = | gestation_period = | offspring_low = | offspring_high = <!-- Taming/hunting --> | handleskill = | manhunter_damage = | manhunter_tamefail = | nameontamechance = | nuzzlehours = | petness = | predator = | maxpreybodysize = | trainability = | packanimal = | carryingcapacity = | wildness = <!-- Product --> | egg_amountlow = | egg_amounthigh = | egg_type = | egg_time = | leather_amount = | leather_type = | meat_amount = | meat_type = | milk_amount = | milk_time = | shear_time = | wool_amount = | wool_type = <!-- Other --> | ecosystemweight = | recipes_operation = | tradetags = <!--| butcherproducts?? (mechs) = --> }}
The above documentation is transcluded from Template:Infobox pawn/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |