Difference between revisions of "Template:Infobox/Food"

From RimWorld Wiki
Jump to navigation Jump to search
(Adding Mass.)
(Keep the template so that if you look at the old versions of the pages it'll still display properly.)
 
(17 intermediate revisions by 4 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| Mass | {{P|Mass}}kg }}
 
 
{{Entry/Heading| Nutrition Facts }}
 
{{Entry/Heading| Nutrition Facts }}
 
{{Entry    | Nutrition | {{P|Nutrition}} }}
 
{{Entry    | Nutrition | {{P|Nutrition}} }}

Latest revision as of 13:03, 20 April 2022


Infobox

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


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

Nutrition Facts

Base Stats

... further results