Diferencia entre revisiones de «Plantilla:Food»

278 bytes añadidos ,  hace 4 años
m
try it like this
m (+usage)
m (try it like this)
{{infobox|title={{{name|{{PAGENAME}}}}}|id=Food|
{{infobox
|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}} }}|}}
 
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}'' }}
---->|<!-- there is a location row present
---->||{{infobox/no-world}}<!-- tag with missing world-location
-->}}<!--
 
<!-- featured in -->{{row/kv| Featured In | ''{{{books}}}'' }}<!-- }} -->
}}<includeonly><!--
-->[[Category: Food]]<!--
-->[[Category: Culture]]<!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
CATS:
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
-->|default-cats=<!--
-->[[Categorycategory: Foodfood]]<!--
-->[[Categorycategory: Cultureculture]]<!--
-->|{{#if:{{{cats|}}}|<!-- -->|-}}replacement-cats={{{cats}}}<!--
 
END:
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
-->}}<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>).
 
 
[[Category: Infoboxes]]
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
Shards, Editors, Keepers, Synod
40 275

ediciones