Template:Infobox Character: Difference between revisions

From ThornSin Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#invoke:infobox|infobox
<pre style="display:table">
| defaultimagesize = 160px
{{ItemEntity
| defaultimageclass = pixel-image
|title=
|image=
| rows =
{{infobox row|class=list-style-none|label=[[Rarity|Rarity tier]]|field={{ucfirst:{{{rarity|Common}}} }} }}
|invimage=
{{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field= {{{durability}}} }} }}<includeonly>
|durability=
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ?{{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }}
|rarity=
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}</includeonly>
|renewable=
{{#if: {{{flammable|}}} | {{infobox row|label=Flammable item?|field={{{flammable|}}} }} }}
|stackable=
{{ #if: {{{size|}}} | {{infobox row|label=Size|field={{{size}}} }} }}
|health=
{{ #if: {{{networkid|}}} | {{infobox row|label=<abbr title="ID in network traffic, if different from ID used internally (byte)">Network ID</abbr>|field={{{networkid|}}}}} }}
|networkid=
{{ #if: {{{drops|}}} | {{infobox row|label=[[Drops#Common drops|Drops]]|field={{{drops|}}} }} }}
|drops=
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }}
}}</pre>
{{#if: {{NAMESPACE}}
|
| {{
translation category|project=0|{{
#switch: {{lc: {{{renewable|}}} }}
| yes = Renewable resources
| no = Non-renewable resources
| Resources with invalid renewability
}}
}}{{
#switch: {{{type|}}}
| | Items = <!-- No category if unset or set to "Items" -->
|{{translation category|{{{type}}}}}
}}
}}
{{#if: {{NAMESPACE}} ||
{{translation category|project=0|{{
#switch: {{lc: {{{stackable|}}} }}
| yes = Stackable resources
| yes (64) = Stackable resources
| yes (16) = Stackable resources
| no = Non-stackable resources
| Missing stackability
}}}}
}}
}}<noinclude>
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>

Revision as of 03:07, 29 May 2025

{{#invoke:infobox|infobox | defaultimagesize = 160px | defaultimageclass = pixel-image | rows = Template:Infobox row {{#if: | Template:Infobox row }} {{#if: | Template:Infobox row }} {{ #if: | Template:Infobox row }} {{ #if: | Template:Infobox row }} {{ #if: | Template:Infobox row }} {{ #if: | Template:Infobox row }} {{#if: Template | | Template:Translation category{{

 #switch: 
 | | Items = 
 |Template:Translation category
 }}

}} {{#if: Template || Template:Translation category }} }} Template:Documentation