Difference between revisions of "Template:Infobox/Food"

From RimWorld Wiki
Jump to navigation Jump to search
m (test)
(Keep the template so that if you look at the old versions of the pages it'll still display properly.)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  {{#vardefine: category singular | {{{1}}}
+
<noinclude>{{Obsolete|reason = I'm proud to announce that the changeover from ''Define'' to ''Infobox main'' is complete! This template is no longer used by any page. Template retained to keep page histories legible.}}</noinclude>{{#vardefine: category singular | {{{1}}}
 
}}{{#vardefine: category plural  | {{{2}}}
 
}}{{#vardefine: category plural  | {{{2}}}
 
}}{{#vardefine: color            | {{{3}}}
 
}}{{#vardefine: color            | {{{3}}}
 
}}
 
}}
<includeonly>[[Category:Food]][[Category:{{{1}}}]]</includeonly>
+
<includeonly>[[Category:Food]][[Category:{{{1}}}]]{{#set:Type = Food}}{{#set:Type2 = {{{1}}}}}</includeonly>
 
{{Entry/Top| {{#var:color}} }}
 
{{Entry/Top| {{#var:color}} }}
 
{{Entry    | Type        | [[Food]] &ndash; [[{{#var: category plural}}|{{#var: category singular}}]]}}
 
{{Entry    | Type        | [[Food]] &ndash; [[{{#var: category plural}}|{{#var: category singular}}]]}}
 
{{Entry    | Stack Limit | {{P|Stack Limit}} }}
 
{{Entry    | Stack Limit | {{P|Stack Limit}} }}
{{Entry    | Days to Rot    | {{P|days to rot}} }}
 
{{Entry    | selectable    | {{P|selectable}} }}
 
 
{{Entry/Heading| Nutrition Facts }}
 
{{Entry/Heading| Nutrition Facts }}
 
{{Entry    | Nutrition | {{P|Nutrition}} }}
 
{{Entry    | Nutrition | {{P|Nutrition}} }}
 
{{Entry    | Taste    | {{P|Taste}} }}
 
{{Entry    | Taste    | {{P|Taste}} }}
{{Entry    | Days to Rot    | {{P|days to rot}} }}
 
 
{{Entry/Heading| Base Stats }}
 
{{Entry/Heading| Base Stats }}
 
{{#ask: [[Category: Stat]]
 
{{#ask: [[Category: Stat]]

Latest revision as of 13:03, 20 April 2022


Infobox

[[|none|64px|link=Infobox]]


Type
Food – [[{{{2}}}|{{{1}}}]]

Nutrition Facts

Base Stats

... further results