Template:Infobox Character: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
(Blanked the page) Tags: Blanking Manual revert |
||
Line 1: | Line 1: | ||
{{#invoke:infobox|infobox |
|||
| defaultimagesize = 160px |
|||
| defaultimageclass = pixel-image |
|||
| rows = |
|||
{{infobox row|class=list-style-none|label=[[Rarity|Rarity tier]]|field={{ucfirst:{{{rarity|Common}}} }} }} |
|||
{{#if: {{{durability|}}} | {{infobox row|label=[[Durability]]|field= {{{durability}}} }} }}<includeonly> |
|||
{{infobox row|label=[[Renewable resource|Renewable]]|field={{ #if: {{{renewable|}}} | {{{renewable}}} | ?{{#if:{{{nocat|}}}||[[Category:Missing renewability]]}} }} }} |
|||
{{infobox row|label=Stackable|field={{ #if: {{{stackable|}}} | {{{stackable}}} | ? {{#if:{{{nocat|}}}||[[Category:Missing stackability]]}} }} }}</includeonly> |
|||
{{#if: {{{flammable|}}} | {{infobox row|label=Flammable item?|field={{{flammable|}}} }} }} |
|||
{{ #if: {{{size|}}} | {{infobox row|label=Size|field={{{size}}} }} }} |
|||
{{ #if: {{{networkid|}}} | {{infobox row|label=<abbr title="ID in network traffic, if different from ID used internally (byte)">Network ID</abbr>|field={{{networkid|}}}}} }} |
|||
{{ #if: {{{drops|}}} | {{infobox row|label=[[Drops#Common drops|Drops]]|field={{{drops|}}} }} }} |
|||
{{ #if: {{{health|}}} | {{infobox row|label=[[Health|Health points]]|field={{{health}}} }} }} |
|||
{{#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> |