Difference between revisions of "Template:Food"

Jump to navigation Jump to search
m (+id)
m (improvements)
{{infobox
|title={{{name|{{PAGENAME}}}}}|id=foodFood|
 
|{{#if:{{{image|}}} |{{row/image |{{{image}}} |artist={{{image-artist|}}} }}|}}<!--
 
<!-- optional details -->
{{#if:{{{ingredients|}}}|{{row/kv|Ingredients |{{{ingredients}}}| }}|}}
{{#if:{{{appearance|}}}|{{row/kv| Appearance |{{{appearance}}}| }}|}}
 
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
<!-- location -->
{{row/kv|World|{{#if:{{{world|}}}|[[{{{world}}}]]|''Unknown''|}}|}}<!--
 
<!-- optional specific location -->
{{#if:{{{countryregion|}}} |{{row/kv|Country Region |[[{{{countryregion}}}]]| }}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}} }}|}}
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]] }}|}}
<!-- featured in -->
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]] }}|}}
{{row/kv|Featured In|''{{{books}}}''|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}} }}|}}
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''| }}
{{#if:{{{toc|}}} |
{{!}}-
{{!}} colspan=2 {{!}} __TOC__
{{!}}-
}}
}}<includeonly><!--
-->[[Category: Culture]]<!--
-->[[Category: Food]]<!--
-->[[Category: Culture]]<!--
 
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
-->{{#if:{earth|}}}<!-- -->{{universe{world|}}}<!-- -->{{{world-raw|[[Category:}}}<!-- infobox.-->{{{universe]]|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
--></includeonly><noinclude>
 
Template for pages on foods in Brandon's works. Required parameters include {{{world}}} and {{{books}}}, as well as optional parameters for {{{appearance}}} {{{ingredients}}} and {{{countryregion}}}. Pages with this template will be categorized into [[:Category: Food]].
 
[[Category: Infoboxes]]