Difference between revisions of "Template:Food"
m (+usage) |
m (try it like this) |
||
Line 1: | Line 1: | ||
⚫ | |||
− | {{infobox |
||
⚫ | |||
− | {{#if:{{{image|}}} |{{row/image+artist |{{{image}}} |
+ | {{#if:{{{image|}}} |{{row/image+artist | {{{image}}} }} }} |
<!-- about --> |
<!-- about --> |
||
− | {{#if:{{{ingredients|}}} |{{row/kv|Ingredients |{{{ingredients}}} |
+ | {{#if:{{{ingredients|}}} |{{row/kv| Ingredients | {{{ingredients}}} }} {{info/ingredients}} }} |
− | {{#if:{{{type|}}} |{{row/kv|Type |{{{type}}} |
+ | {{#if:{{{type|}}} |{{row/kv| Type | {{{type}}} }} {{info/type}} }} |
− | {{#if:{{{taste|}}} |{{row/kv|Taste |{{{taste}}} |
+ | {{#if:{{{taste|}}} |{{row/kv| Taste | {{{taste}}} }} {{info/taste}} }} |
<!-- location --> |
<!-- location --> |
||
− | {{#if:{{{origin|}}} |{{row/kv| Origin |[[{{{origin}}}]] |
+ | {{#if:{{{origin|}}} |{{row/kv| Origin | [[{{{origin}}}]] }} {{info/origin}} }} |
− | {{#if:{{{'origin|}}} |{{row/kv| Origin |{{{'origin}}} |
+ | {{#if:{{{'origin|}}} |{{row/kv| Origin | {{{'origin}}} }} {{raw/origin}} }} |
− | {{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]] [[category: food from {{{earth}}} earth]] |
+ | {{#if:{{{earth|}}} |{{row/kv| World | [[Earth ({{{earth}}})]] }} {{info/earth}} [[category: food from {{{earth}}} earth]] }} |
− | {{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]] [[category: {{demonym|{{{world}}}|}} food]] |
+ | {{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }} {{info/world}} [[category: {{demonym|{{{world}}}|}} food]] }} |
− | {{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}} |
+ | {{#if:{{{'world|}}} |{{row/kv| World | {{{'world}}} }} {{raw/world}} }} |
− | {{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}} |
+ | {{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }} |
⚫ | |||
⚫ | |||
+ | ---->|<!-- there is a location row present |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
− | + | <!-- |
|
⚫ | |||
⚫ | |||
⚫ | |||
+ | CATS: |
||
− | -->{{#if:{{{world-raw|}}}{{{raw-world|}}}|[[category: depreciated raw parameters]]}}<!-- |
||
+ | -->|default-cats=<!-- |
||
⚫ | |||
⚫ | |||
+ | -->|{{#if:{{{cats|}}}|<!-- -->|-}}replacement-cats={{{cats}}}<!-- |
||
+ | END: |
||
− | -->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
||
⚫ | |||
− | |||
⚫ | |||
− | --></includeonly><noinclude> |
+ | --></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. |
The {{t|food}} template is used to describe foods and drinks from Brandon Sanderson's worlds that don't exist in ours. |
||
Line 125: | Line 126: | ||
|} |
|} |
||
− | |||
=== Categories & Tags === |
=== Categories & Tags === |
||
Line 134: | Line 134: | ||
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>). |
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 == |
== Articles using Template == |
||
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}} |
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}} |
Revision as of 20:09, 20 April 2020
Food | |
---|---|
Featured In | {{{books}}} |
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= |universe= |books= }}
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 |
|
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)