Diferencia entre revisiones de «Plantilla:Food»

2051 bytes añadidos ,  hace 4 años
m
sin resumen de edición
m (depreciate raws)
m
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
 
<!-- optional detailsabout -->
{{#if:{{{ingredients|}}} |{{row/kv|Ingredients |{{{ingredients}}} }}|}}
{{#if:{{{appearancetype|}}} |{{row/kv|Type Appearance |{{{appearancetype}}} }}|}}
{{#if:{{{taste|}}} |{{row/kv|Taste |{{{taste}}} }}|}}
 
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
 
<!-- location -->
{{#if:{{{regionorigin|}}} |{{row/kv| RegionOrigin |[[{{{regionorigin}}}]] }}|}}
{{#if:{{{'origin|}}} |{{row/kv| Origin |{{{'origin}}} }}|}}
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]] [[category: food from {{{earth}}} earth]] }}|}}
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]] [[category: {{demonym|{{{world}}}|}} food]] }}|}}
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}} }}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}} {{raw/world}} }}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}} }}|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}'' }}
 
{{#if:{{{toc|}}} |
{{!}}-
{{!}} colspan=2 {{!}} __TOC__
{{!}}-
}}
}}<includeonly><!--
 
-->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!--
 
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
--></includeonly><noinclude>
 
The {{t|food}} template is used to describe foods and drinks from Brandon Sanderson's worlds that don't exist in ours.
Template for pages on foods in Brandon's works. Required parameters include {{{world}}} and {{{books}}}, as well as optional parameters for {{{appearance}}} {{{ingredients}}} and {{{region}}}.
 
__TOC__
Pages with this template will be categorized into [[:Category: Food]], [[:Category: Culture]].
 
=== Template ===
<pre class=mw-code>
{{food
|image=
|ingredients=
|type=
|appearance=
|erataste=
|regionorigin=
|world= / earth=
|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: universe -->
<!-- ------------- -->
{{docs/universe|subject=food or drink}}
 
<!-- ---------- -->
<!-- ROW: books -->
<!-- ---------- -->
{{docs/books|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>).
 
 
[[Category: Infoboxes]]
Editors, Keepers
4115

ediciones