Difference between revisions of "Template:Food"
m (depreciate raws) |
(rm featured in) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{infobox|title={{{name|{{PAGENAME}}}}}|id=Food| |
||
− | {{infobox |
||
− | |title={{{name|{{PAGENAME}}}}}|id=Food| |
||
− | {{#if:{{{image|}}} |{{row/image+artist |{{{image}}} |
+ | {{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }} |
− | <!-- |
+ | <!-- about --> |
− | {{#if:{{{ingredients|}}}|{{row/kv|Ingredients |{{{ingredients}}} |
+ | {{#if:{{{ingredients|}}} |{{row/kv| Ingredients | {{{ingredients}}} }} {{info/ingredients}} }} |
− | {{#if:{{{ |
+ | {{#if:{{{type|}}} |{{row/kv| Type | {{{type}}} }} {{info/type}} }} |
+ | {{#if:{{{taste|}}} |{{row/kv| Taste | {{{taste}}} }} {{info/taste}} }} |
||
− | |||
− | {{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}} }}|}} |
||
<!-- location --> |
<!-- location --> |
||
− | {{#if:{{{ |
+ | {{#if:{{{origin|}}} |{{row/kv| Origin | [[{{{origin}}}]] }} {{info/origin}} }} |
− | {{#if:{{{ |
+ | {{#if:{{{'origin|}}} |{{row/kv| Origin | {{{'origin}}} }} {{raw/origin}} }} |
− | {{#if:{{{ |
+ | {{#if:{{{earth|}}} |{{row/kv| World of Origin | [[Earth ({{{earth}}})]]<!-- REF:-->{{{^world|}}} }} {{info/earth}} }} |
− | {{#if:{{{ |
+ | {{#if:{{{world|}}} |{{row/kv| World of Origin | {{toponym link|{{{world}}}}}{{cat ns|{{demonym|{{{world}}}|}} food|only=0}}<!-- REF:-->{{{^world|}}} }} {{info/world}} }} |
− | {{#if:{{{ |
+ | {{#if:{{{'world|}}} |{{row/kv| World of Origin | {{{'world}}}<!-- REF:-->{{{^world|}}} }} {{raw/world}} }} |
− | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}} |
+ | {{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }} |
− | <!-- featured in -->{{row/kv| Featured In |''{{{books}}}'' }} |
||
− | {{#if:{{{toc|}}} | |
||
− | {{!}}- |
||
− | {{!}} colspan=2 {{!}} __TOC__ |
||
− | {{!}}- |
||
− | }} |
||
− | }}<includeonly><!-- |
||
− | |||
− | -->[[Category: Food]]<!-- |
||
− | -->[[Category: Culture]]<!-- |
||
+ | {{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!-- |
||
− | -->{{#if:<!-- |
||
+ | ---->|<!-- there is a location row present |
||
− | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!-- |
||
+ | ---->| <includeonly>{{missing/world}}</includeonly> <!-- tag with missing world-location |
||
− | -->||{{infobox/no-world}}<!-- |
||
− | -->}} |
+ | -->}} |
+ | <!-- REF PARAMETER: -->{{#if:{{{^world|}}}| {{info/^ref}} }} |
||
+ | <!-- |
||
− | -->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!-- |
||
+ | CATS: |
||
+ | -->{{cat ns|food|only=0}}<!-- |
||
+ | -->{{cat ns|culture|only=0}}<!-- |
||
+ | 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. |
||
− | --></includeonly><noinclude> |
||
+ | __TOC__ |
||
− | 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}}}. |
||
− | |||
− | Pages with this template will be categorized into [[:Category: Food]], [[:Category: Culture]]. |
||
+ | === Template === |
||
<pre class=mw-code> |
<pre class=mw-code> |
||
{{food |
{{food |
||
|image= |
|image= |
||
|ingredients= |
|ingredients= |
||
+ | |type= |
||
− | |appearance= |
||
− | | |
+ | |taste= |
− | | |
+ | |origin= |
|world= / earth= |
|world= / earth= |
||
+ | |^world= |
||
|universe= |
|universe= |
||
− | |books= |
||
}} |
}} |
||
</pre> |
</pre> |
||
+ | === Parameters === |
||
− | [[Category: Infoboxes]] |
||
+ | 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>). |
||
+ | |||
+ | == Articles using Template == |
||
+ | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}} |
||
+ | {{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}} |
Latest revision as of 18:29, 15 March 2024
Food |
---|
The {{food}}
template is used to describe foods and drinks from Brandon Sanderson's worlds that don't exist in ours.
Template
{{food |image= |ingredients= |type= |taste= |origin= |world= / earth= |^world= |universe= }}
Parameters
Highlighted lines indicate mandatory parameters.
On lines with multiple parameters (e.g. |world= / earth=
) pick only the one most appropriate.
Parameter | Description | Examples |
---|---|---|
image
|
Use this to display a relevant image hosted on the Coppermind.
See Help:Infoboxes for further details. |
|
ingredients
|
Use this to list the main ingredients of the food or drink. |
|
type
|
Use this to apply a broad category to the food or drink. |
|
taste
|
Use this to describe the primary taste(s) of the food or drink. |
|
origin
|
Use this to specify the place of origin of the food or drink. Note: Automatically generates a link. To bypass this, use |
|
world or earth
|
Use this to specify the planet where the food or drink can be found. Note: Automatically generates a link. To bypass this, use |
|
^world
|
Use to add a reference to either the world or earth parameter
|
|
universe
|
Use this to indicate the (connected) universe where the food or drink can be found.
See Help: Infoboxes for further details. |
|
Categories & Tags
Pages that make use of the {{food}}
template will be added to Category: Food and Category: Culture.
Specifying an earth
will apply the appropriate Earth category (e.g. |earth=Reckoners
will apply Category: Food from Earth (Reckoners)).
Specifying a world
will apply the appropriate food category using that world's {{demonym}}
(e.g. |earth=Roshar
will apply Category: Rosharan food).
Articles using Template
- Weed soup (transclusion) (← links | edit)
- Garha (transclusion) (← links | edit)
- Ketathum (transclusion) (← links | edit)
- Kathari (transclusion) (← links | edit)
- Mudbeer (transclusion) (← links | edit)
- Tinkfan (transclusion) (← links | edit)
- Garam (transclusion) (← links | edit)
- Adolis (transclusion) (← links | edit)
- RaiDomo Mai (transclusion) (← links | edit)
- Baywrap (transclusion) (← links | edit)
- Laget (transclusion) (← links | edit)
- Tektees (transclusion) (← links | edit)
- Honu (transclusion) (← links | edit)
- Chouta (transclusion) (← links | edit)
- Flangria (transclusion) (← links | edit)
- Lazbo (transclusion) (← links | edit)
- Kuma (transclusion) (← links | edit)
- Shiki (transclusion) (← links | edit)
- Limm (transclusion) (← links | edit)
- Kurdi (transclusion) (← links | edit)
- Akokian pudding (transclusion) (← links | edit)
- ZaiDon (transclusion) (← links | edit)
- Ingo (transclusion) (← links | edit)
- Revertiss (transclusion) (← links | edit)
- Amosztha (transclusion) (← links | edit)
- Kdisln (transclusion) (← links | edit)
- Clavendah (transclusion) (← links | edit)
- Ruby Bench (transclusion) (← links | edit)
- Pectin-Ade (transclusion) (← links | edit)
- Vif Sparkle Tonic (transclusion) (← links | edit)
- Udal nuts (transclusion) (← links | edit)
- Bittermoss (transclusion) (← links | edit)
- Pitchfruit (transclusion) (← links | edit)
- Whiteberry (transclusion) (← links | edit)
- Logshine (transclusion) (← links | edit)
- Kulunut (transclusion) (← links | edit)
- Zapriel tea (transclusion) (← links | edit)
- Pop'ems (transclusion) (← links | edit)