m (→top: Removing duplicate lic, copyright belongs to game, replaced: Category:Using nocargo templates → Category:Templates using NoCargo) |
m (added fr link) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{infobox section|[[Consumable]] |
+ | <includeonly>{{infobox section|[[Consumables|Consumable]] (values pertain to [[Human]]s)}} |
− | {{infobox type row|{{{type|}}}|{{{category|Consumable}}}|{{{name|{{ |
+ | {{infobox type row|{{{type|}}}|{{{category|Consumable}}}|{{{name|{{FULLPAGENAME}}}}}}} |
{{infobox row|Food|{{{food|}}}}} |
{{infobox row|Food|{{{food|}}}}} |
||
{{infobox row|Water|{{{water|}}}}} |
{{infobox row|Water|{{{water|}}}}} |
||
Line 7: | Line 7: | ||
{{infobox row|Torpidity|{{{torpor|}}}}} |
{{infobox row|Torpidity|{{{torpor|}}}}} |
||
{{infobox row|Egg size|[[{{{eggsize|}}} Egg|{{{eggsize|}}}]]|{{{eggsize|}}}}} |
{{infobox row|Egg size|[[{{{eggsize|}}} Egg|{{{eggsize|}}}]]|{{{eggsize|}}}}} |
||
+ | {{infobox row|Kibble type|[[{{{kibbletype|}}} Kibble|{{{kibbletype|}}}]]|{{{kibbletype|}}}}} |
||
{{infobox row|Spoils in|{{duration|{{{spoilsin|}}}}}|{{{spoilsin|}}}}} |
{{infobox row|Spoils in|{{duration|{{{spoilsin|}}}}}|{{{spoilsin|}}}}} |
||
{{infobox row|Spoils to|{{ItemLink|{{{spoilsto|}}}}}|{{{spoilsto|}}}}} |
{{infobox row|Spoils to|{{ItemLink|{{{spoilsto|}}}}}|{{{spoilsto|}}}}} |
||
{{infobox row|Cooked in|{{ItemLink|{{{cookedin|}}}}}|{{{cookedin|}}}}} |
{{infobox row|Cooked in|{{ItemLink|{{{cookedin|}}}}}|{{{cookedin|}}}}} |
||
{{infobox row|Cooking Time|{{duration|{{{cooksin|}}}}}|{{{cooksin|}}}}} |
{{infobox row|Cooking Time|{{duration|{{{cooksin|}}}}}|{{{cooksin|}}}}} |
||
+ | {{#if:{{#var:NoAutoCategories}}||[[Category:Consumables]] |
||
− | + | {{#if:{{{eggsize|}}}|[[Category:{{#switch:{{{eggsize|}}}|Extra Small=Extra small|Extra Large=Extra large|{{{eggsize|}}}}} eggs]]}}{{#if:{{{kibbletype|}}}|[[Category:{{{kibbletype|}}} kibbles]]}}}} |
|
+ | {{#if:{{#var:NoCargo}}||{{#cargo_store:_table=Consumables |
||
| AddsFood={{#if: {{#pos: {{{food|}}} | % }} | {{#sub: {{{food|}}} | 0 | -1}} | {{{food|}}}}} |
| AddsFood={{#if: {{#pos: {{{food|}}} | % }} | {{#sub: {{{food|}}} | 0 | -1}} | {{{food|}}}}} |
||
| AddsFoodIsPercentage={{#if: {{#pos: {{{food|}}} | % }} | 1 | 0}} |
| AddsFoodIsPercentage={{#if: {{#pos: {{{food|}}} | % }} | 1 | 0}} |
||
Line 22: | Line 25: | ||
| AddsTorpor={{#if: {{#pos: {{{torpor|}}} | % }} | {{#sub: {{{torpor|}}} | 0 | -1}} | {{{torpor|}}}}} |
| AddsTorpor={{#if: {{#pos: {{{torpor|}}} | % }} | {{#sub: {{{torpor|}}} | 0 | -1}} | {{{torpor|}}}}} |
||
| AddsTorporIsPercentage={{#if: {{#pos: {{{torpor|}}} | % }} | 1 | 0}} |
| AddsTorporIsPercentage={{#if: {{#pos: {{{torpor|}}} | % }} | 1 | 0}} |
||
+ | | SpoilsIn={{{spoilsin|}}} |
||
+ | | CookingTime={{{cookingtime|}}} |
||
}} }}</includeonly><noinclude> |
}} }}</includeonly><noinclude> |
||
{{#cargo_declare:_table=Consumables |
{{#cargo_declare:_table=Consumables |
||
Line 34: | Line 39: | ||
| AddsTorpor=Float |
| AddsTorpor=Float |
||
| AddsTorporIsPercentage=Boolean |
| AddsTorporIsPercentage=Boolean |
||
+ | | SpoilsIn=Integer |
||
+ | | CookingTime=Integer |
||
}} |
}} |
||
[[Category:Infobox section templates]] |
[[Category:Infobox section templates]] |
||
[[Category:Cargo declaring templates]] |
[[Category:Cargo declaring templates]] |
||
[[Category:Cargo storing templates]] |
[[Category:Cargo storing templates]] |
||
− | [[Category: |
+ | [[Category:Templates using NoAutoCategories]] |
[[Category:Templates using NoCargo]] |
[[Category:Templates using NoCargo]] |
||
+ | [[fr:Modèle:Infobox consumable section]] |
||
+ | [[pl:Szablon:Infobox consumable section]] |
||
</noinclude> |
</noinclude> |
Revision as of 02:24, 27 October 2020
This template defines the table "Consumables". View table.