Template:Navbox food: Difference between revisions
m (Minor) |
m (fix) |
||
Line 33: | Line 33: | ||
{{ll|Category:Navbox}} | {{ll|Category:Navbox}} | ||
</noinclude><includeonly>{{Navbox | </noinclude><includeonly>{{Navbox | ||
| title = {{ll|:Category:Food|{{tt|name=Navbox food|default=Food|arg1=food}} | | title = {{ll|:Category:Food|{{tt|name=Navbox food|default=Food|arg1=food}}}} | ||
| content = {{Navbox/row | | content = {{Navbox/row | ||
| group = {{tt|name=Navbox food|default=Liquid|arg1=liquid}} | | group = {{tt|name=Navbox food|default=Liquid|arg1=liquid}} |
Revision as of 14:29, 7 January 2024
This template should be transcluded at the bottom of all food pages.
Usage
{{Navbox food}}
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
<!-- title -->
| food = Food
<!-- group -->
| liquid = Liquid
| canned_picked = Canned/pickled
| meat_fish = Meats & fishes
| vegetable_fruit = Vegetables & fruits
| foraged = Foraged
| animal_insect = Animals & insects
| grains_sweets = Grains & sweets
| miscellaneous = Miscellaneous
| condiments_spices = Condiments & spices
| cooking_ingredients = Cooking ingredients
| prepared_cooked = Prepared/cooked
| evolved_recipes = Evolved recipes
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.