Difference between revisions of "Template:Food"
Jump to navigation
Jump to search
m (+usage) |
m (try it like this) |
||
{{infobox|title={{{name|{{PAGENAME}}}}}|id=Food|▼
▲|title={{{name|{{PAGENAME}}}}}|id=Food|
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }}
<!-- about -->
{{#if:{{{ingredients|}}} |{{row/kv| Ingredients | {{{ingredients}}} }} {{info/ingredients}}
{{#if:{{{type|}}} |{{row/kv| Type | {{{type}}} }} {{info/type}}
{{#if:{{{taste|}}} |{{row/kv| Taste | {{{taste}}} }} {{info/taste}}
<!-- location -->
{{#if:{{{origin|}}} |{{row/kv| Origin | [[{{{origin}}}]] }} {{info/origin}}
{{#if:{{{'origin|}}} |{{row/kv| Origin | {{{'origin}}} }} {{raw/origin}}
{{#if:{{{earth|}}} |{{row/kv| World | [[Earth ({{{earth}}})]] }} {{info/earth}} [[category: food from {{{earth}}} earth]]
{{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }} {{info/world}} [[category: {{demonym|{{{world}}}|}} food]]
{{#if:{{{'world|}}} |{{row/kv| World | {{{'world}}} }} {{raw/world}}
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}}
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}'' }}▼
---->|<!-- there is a location row present
}}<includeonly><!--▼
-->[[Category: Food]]<!--▼
-->[[Category: Culture]]<!--▼
▲ -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
▲ -->||{{infobox/no-world}}<!--
▲-->}}<!--
CATS:
-->|default-cats=<!--
-->|{{#if:{{{cats|}}}|<!-- -->|-}}replacement-cats={{{cats}}}<!--
END:
▲-->}}<includeonly><!--
--></includeonly><noinclude>[[category: infoboxes]]
The {{t|food}} template is used to describe foods and drinks from Brandon Sanderson's worlds that don't exist in ours.
|}
=== Categories & Tags ===
Specifying a <code>world</code> will apply the appropriate ''food'' category using that world's {{t|demonym}} (<small>e.g. <code>|earth=Roshar</code> will apply [[:Category: Rosharan food]]</small>).
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
|