Difference between revisions of "Template:Food Infobox"

From Glitch Forever
Jump to navigation Jump to search
(WIP)
Line 10: Line 10:
 
}} }}<!--
 
}} }}<!--
 
  Image1
 
  Image1
-->{{#if:{{{image|{{{image|}}}}}}|{{Infobox/row
+
-->|-
|data={{{image|{{{image}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="font-size:80%;">
+
{{#if:{{{image<includeonly>|</includeonly>}}} |
}} }}
+
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;">
<!--
+
{{!}}-
-->{{Infobox/row
+
}}
|label={{{Max Stack Size:|}}} |labelstyle={{{style="text-align:left;"}}}
+
|-
|data={{{stack|}}}    
+
{{#if: {{{stack<includeonly>|</includeonly>}}} |
 +
{{!}} style="text-align:left;" {{!}} '''Max Stack Size''':
 +
{{!}} {{{stack}}}
 +
{{!}}-
 
}}{{Infobox/row
 
}}{{Infobox/row
 
  |label={{{Favor when Donated:|}}}  |labelstyle={{{style="text-align:left;"}}}
 
  |label={{{Favor when Donated:|}}}  |labelstyle={{{style="text-align:left;"}}}
Line 22: Line 25:
 
}}{{Infobox/row
 
}}{{Infobox/row
 
  |label={{{Made From:|}}}  |labelstyle={{{style="text-align:left;"}}}
 
  |label={{{Made From:|}}}  |labelstyle={{{style="text-align:left;"}}}
  |data={{{tool|}}}     
+
  |data=[[{{{tool|}}}]]      
 +
}}{{Infobox/row
 +
|label={{{Ingredients:|}}}  |labelstyle={{{style="text-align:left;"}}}
 +
|data={{{ingredients|}}}    |datastyle={{{datastyle|}}}
 
}}{{Infobox/row
 
}}{{Infobox/row
 
  |label={{{Street Price:|}}}  |labelstyle={{{style="text-align:left;"}}}
 
  |label={{{Street Price:|}}}  |labelstyle={{{style="text-align:left;"}}}
  |data={{{data4|}}} currants    |datastyle={{{datastyle|}}}
+
  |data={{{price|}}} currants    |datastyle={{{datastyle|}}}
 
}}{{Infobox/row
 
}}{{Infobox/row
 
  |header={{{When Consumed|}}} |headerstyle={{{style="text-align:center; font-weight:bold;"}}}
 
  |header={{{When Consumed|}}} |headerstyle={{{style="text-align:center; font-weight:bold;"}}}

Revision as of 17:52, 1 December 2017

}} }}|- | colspan="2" style="text-align:center;" | {{{image}}}
|- |- | style="text-align:left;" | Max Stack Size: | {{{stack}}} |- }}
[[]]
currants
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Food_Infobox/doc to edit this documentation. (How does this work?)
Template:Food Infobox/doc