Diferencia entre revisiones de «Plantilla:Food»

3852 bytes añadidos ,  hace 26 días
m
sin resumen de edición
(Created page with "{{infobox |title={{{name|{{PAGENAME}}}}} |{{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}}<!-- <!-- optional details --> {{#if:{{{ingredients|}}}|{{row/kv|Ingredients|{{{ingre...")
 
m
 
(No se muestran 33 ediciones intermedias de 8 usuarios)
{{infobox|title={{{name|{{PAGENAME}}}}}|id=Food|
{{infobox
|title={{{name|{{PAGENAME}}}}}
|{{#if:{{{image|}}}|{{row/image|{{{image}}}}}|}}<!--
 
{{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }}
<!-- optional details -->
 
{{#if:{{{ingredients|}}}|{{row/kv|Ingredients|{{{ingredients}}}|}}|}}
<!-- about -->
{{#if:{{{appearance|}}}|{{row/kv|Appearance|{{{appearance}}}|}}|}}
{{#if:{{{ingredients|}}} |{{row/kv| Ingredientes | {{{ingredients}}} }} {{info/ingredients}} }}
{{#if:{{{type|}}} |{{row/kv| Tipo | {{{type}}} }} {{info/type}} }}
{{#if:{{{taste|}}} |{{row/kv| Sabor | {{{taste}}} }} {{info/taste}} }}
 
<!-- location -->
{{row/kv|World|{{#if:{{{worldorigin|}}} |{{row/kv| Origen | [[{{{worldorigin}}}]]|''Unknown''| }}| {{info/origin}} }}<!--
{{#if:{{{'origin|}}} |{{row/kv| Origen | {{{'origin}}} }} {{raw/origin}} }}
{{#if:{{{earth|}}} |{{row/kv| Mundo de origen | [[Tierra ({{{earth}}})]]<!-- REF:-->{{{^world|}}} }} {{info/earth}} }}
{{#if:{{{world|}}} |{{row/kv| Mundo de origen | {{toponym link|{{{world}}}}}{{cat ns|Comida {{demonym|{{{world}}}|}}|only=0}}<!-- REF:-->{{{^world|}}} }} {{info/world}} }}
{{#if:{{{'world|}}} |{{row/kv| Mundo de origen | {{{'world}}}<!-- REF:-->{{{^world|}}} }} {{raw/world}} }}
{{#if:{{{universe|}}} |{{row/kv| Universo | {{{universe}}} }} {{info/universe}} }}
 
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
---->|<!-- there is a location row present
---->| <includeonly>{{missing/world}}</includeonly> <!-- tag with missing world-location
-->}}
<!-- REF PARAMETER: -->{{#if:{{{^world|}}}| {{info/^ref}} }}
 
 
<!--
 
CATS:
 
-->{{cat ns|Comida|only=0}}<!--
-->{{cat ns|Cultura|only=0}}<!--
 
 
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.
 
__TOC__
 
=== Template ===
<pre class=mw-code>
{{food
|image=
|ingredients=
|type=
|taste=
|origin=
|world= / earth=
|^world=
|universe=
}}
</pre>
 
=== Parameters ===
Highlighted lines indicate '''mandatory''' parameters.
On lines with multiple parameters (e.g. <code>|world= / earth=</code>) pick only the one most appropriate.
 
{{docs|title={{t|Food}} Parameters}}
 
<!-- ---------- -->
<!-- ROW: image -->
<!-- ---------- -->
{{docs/image
|eg=
<code><nowiki>|image=Chouta.jpg</nowiki></code>
}}
 
<!-- ---------------- -->
<!-- ROW: ingredients -->
<!-- ---------------- -->
{{docs/row/optional
|param= ingredients
|desc= Use this to list the main ingredients of the food or drink.
|eg=
<code><nowiki>|ingredients=Fermented [[lavis]]</nowiki></code>
}}
 
<!-- --------- -->
<!-- ROW: type -->
<!-- --------- -->
{{docs/row/optional
|param= type
|desc= Use this to apply a broad category to the food or drink.
|eg=
<code><nowiki>|type=Alcohol</nowiki></code><br>
<code><nowiki>|type=Dinner meal</nowiki></code>
}}
 
<!-- ---------- -->
<!-- ROW: taste -->
<!-- ---------- -->
{{docs/row/optional
|param= taste
|desc= Use this to describe the primary taste(s) of the food or drink.
|eg=
<code><nowiki>|taste=Sweet</nowiki></code>
}}
 
<!-- ----------- -->
<!-- ROW: origin -->
<!-- ----------- -->
{{docs/row/optional
|param= origin
|desc= Use this to specify the place of origin of the food or drink.<br>
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'origin</code>.</small>
|eg=
<code><nowiki>|origin=Herdaz</nowiki></code>
}}
 
<!-- ------------------ -->
<!-- ROW: world / earth -->
<!-- ------------------ -->
{{docs/world|subject=food or drink}}
<!-- ROW: ^world -->
{{docs/row/optional
|param= ^world
|desc= Use to add a reference to either the <code>world</code> or <code>earth</code> parameter
|eg=
<code><nowiki>|^world={{wob ref|12345}}</nowiki></code>
}}
 
<!-- ------------- -->
<!-- ROW: universe -->
<!-- ------------- -->
{{docs/universe|subject=food or drink}}
 
 
 
|}
 
=== Categories & Tags ===
Pages that make use of the ''{{t|food}}'' template will be added to [[:Category: Food]] and [[:Category: Culture]].
 
Specifying an <code>earth</code> will apply the appropriate [[Earth]] category (<small>e.g. <code>|earth=Reckoners</code> will apply [[:Category: Food from Earth (Reckoners)]]</small>).
 
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>).
<!-- optional specific location -->
{{#if:{{{country|}}}|{{row/kv|Country|{{{country}}}|}}|}}
 
== Articles using Template ==
<!-- featured in -->
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{row/kv|Featured In|''{{{books}}}''|}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
}}<includeonly>[[Category:Food]]</includeonly><noinclude>
Template for infoboxes on foods of the cosmere. Required parameters include {{{world}}} and {{{books}}}, as well as optional parameters for {{{appearance}}} {{{ingredents}}} and {{{country}}}. Pages with this template will be autocategorized into Category:Food.
5572

ediciones