ARK: Survival Evolved Wiki
Register
(prevent categorizing of other namespaces)
m (added fr link)
(39 intermediate revisions by 8 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|{{PAGENAME}}}}}}}
+
{{infobox type row|{{{type|}}}|{{{category|Consumable}}}|{{{name|{{FULLPAGENAME}}}}}}}
 
{{infobox row|Food|{{{food|}}}}}
 
{{infobox row|Food|{{{food|}}}}}
 
{{infobox row|Water|{{{water|}}}}}
 
{{infobox row|Water|{{{water|}}}}}
 
{{infobox row|Health|{{{health|}}}}}
 
{{infobox row|Health|{{{health|}}}}}
 
{{infobox row|Stamina|{{{stamina|}}}}}
 
{{infobox row|Stamina|{{{stamina|}}}}}
{{infobox row|Torpor|{{{torpor|}}}}}
+
{{infobox row|Torpidity|{{{torpor|}}}}}
  +
{{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|}}}}}{{#if:{{NAMESPACE}}||[[Category:Consumables]]}}</includeonly><noinclude>[[Category:Infobox section templates]]</noinclude>
+
{{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|}}}}}
  +
| AddsFoodIsPercentage={{#if: {{#pos: {{{food|}}} | % }} | 1 | 0}}
  +
| AddsWater={{#if: {{#pos: {{{water|}}} | % }} | {{#sub: {{{water|}}} | 0 | -1}} | {{{water|}}}}}
  +
| AddsWaterIsPercentage={{#if: {{#pos: {{{water|}}} | % }} | 1 | 0}}
  +
| AddsHealth={{#if: {{#pos: {{{health|}}} | % }} | {{#sub: {{{health|}}} | 0 | -1}} | {{{health|}}}}}
  +
| AddsHealthIsPercentage={{#if: {{#pos: {{{health|}}} | % }} | 1 | 0}}
  +
| AddsStamina={{#if: {{#pos: {{{stamina|}}} | % }} | {{#sub: {{{stamina|}}} | 0 | -1}} | {{{stamina|}}}}}
  +
| AddsStaminaIsPercentage={{#if: {{#pos: {{{stamina|}}} | % }} | 1 | 0}}
  +
| AddsTorpor={{#if: {{#pos: {{{torpor|}}} | % }} | {{#sub: {{{torpor|}}} | 0 | -1}} | {{{torpor|}}}}}
  +
| AddsTorporIsPercentage={{#if: {{#pos: {{{torpor|}}} | % }} | 1 | 0}}
  +
| SpoilsIn={{{spoilsin|}}}
  +
| CookingTime={{{cookingtime|}}}
  +
}} }}</includeonly><noinclude>
  +
{{#cargo_declare:_table=Consumables
  +
| AddsFood=Float
  +
| AddsFoodIsPercentage=Boolean
  +
| AddsWater=Float
  +
| AddsWaterIsPercentage=Boolean
  +
| AddsHealth=Float
  +
| AddsHealthIsPercentage=Boolean
  +
| AddsStamina=Float
  +
| AddsStaminaIsPercentage=Boolean
  +
| AddsTorpor=Float
  +
| AddsTorporIsPercentage=Boolean
  +
| SpoilsIn=Integer
  +
| CookingTime=Integer
  +
}}
  +
[[Category:Infobox section templates]]
  +
[[Category:Cargo declaring templates]]
  +
[[Category:Cargo storing templates]]
  +
[[Category:Templates using NoAutoCategories]]
  +
[[Category:Templates using NoCargo]]
  +
[[fr:Modèle:Infobox consumable section]]
  +
[[pl:Szablon:Infobox consumable section]]
  +
</noinclude>

Revision as of 02:24, 27 October 2020

This template defines the table "Consumables". View table.