Difference between revisions of "Template:Description/doc"
Margotbean (talk | contribs) (new page) |
(add 1_6_Strings.xnb) |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
This template automatically populates the description for several items. | This template automatically populates the description for several items. | ||
− | == | + | ==Parameter== |
− | + | The name of the item in English (or the [[Modding:Items|item ID]] from <samp>Content\Data\ObjectInformation.xnb</samp>). | |
− | |||
==Use== | ==Use== | ||
Line 17: | Line 16: | ||
{{Description|Wild Horseradish}} | {{Description|Wild Horseradish}} | ||
− | <pre>{{Description|Prismatic Shard | + | <pre>{{Description|Prismatic Shard}}</pre> |
...results in | ...results in | ||
− | {{Description|Prismatic Shard | + | {{Description|Prismatic Shard}} |
<pre>{{Description|700}}</pre> | <pre>{{Description|700}}</pre> | ||
...results in | ...results in | ||
Line 26: | Line 25: | ||
{{Description|700}} | {{Description|700}} | ||
− | < | + | ==Recipes/Blueprints== |
− | < | + | These take a second parameter, the name of the item in the wiki's native language. |
− | + | <pre>{{Description|Recipe|Lucky Lunch}} | |
− | + | {{Description|Blueprint|Stone Brazier}}</pre> | |
− | + | ||
− | + | ===Spanish Example=== | |
− | [[ | + | In Spanish, for example, this would look like: |
+ | <pre>{{Description|Recipe|Almuerzo de la suerte}} | ||
+ | {{Description|Blueprint|Brasero de piedra}}</pre> | ||
+ | ...which would result in | ||
+ | |||
+ | Receta para cocinar «Almuerzo de la suerte» | ||
+ | |||
+ | Planos para fabricar «Brasero de piedra» | ||
+ | |||
+ | ===Chinese Example=== | ||
+ | In Chinese, this would look like: | ||
+ | <pre>{{Description|Recipe|幸运午餐}} | ||
+ | {{Description|Blueprint|石头火炬}}</pre> | ||
+ | ...which would result in | ||
+ | |||
+ | 一个用于制作 幸运午餐 的配方 | ||
+ | |||
+ | 用于制造 石头火炬 的设计图 | ||
+ | |||
+ | ==Notes== | ||
+ | This template was created to assist in translating the wiki from English into other languages. In other languages, this template allows the item name to be in English or in the other language. | ||
+ | |||
+ | Items from the following data files are included: | ||
+ | #<samp>Data\BigCraftablesInformation.xnb</samp> | ||
+ | #<samp>Data\Blueprints.xnb</samp> | ||
+ | #<samp>Data\Boots.xnb</samp> | ||
+ | #<samp>Data\Hats.xnb</samp> | ||
+ | #<samp>Data\ObjectInformation.xnb</samp> | ||
+ | #<samp>Data\weapons.xnb</samp> | ||
+ | #<samp>Data\Furniture.xnb</samp> (Catalogue & Furniture Catalogue names) | ||
+ | #<samp>Strings\Objects.xnb</samp> (Catalogue & Furniture Catalogue descriptions) | ||
+ | #<samp>Data\FarmAnimals.xnb</samp> (name of Void Chicken) | ||
+ | #<samp>Strings\StringsFromCSFiles.xnb</samp> (tools, furniture, wallpaper, flooring, animals, recipes, blueprints) | ||
+ | #<samp>Strings\1_6_Strings.xnb</samp> (various additions in version 1.6.x) | ||
+ | |||
+ | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 22:49, 30 March 2024
Description
This template automatically populates the description for several items.
Parameter
The name of the item in English (or the item ID from Content\Data\ObjectInformation.xnb).
Use
Enter the following:
{{Description|''item name''}} {{Description|''item number''}}
Examples
{{Description|Wild Horseradish}}
...results in
A spicy root found in the spring.
{{Description|Prismatic Shard}}
...results in
A very rare and powerful substance with unknown origins.
{{Description|700}}
...results in
A relative of the catfish that eats a variety of foods off the lake bottom.
Recipes/Blueprints
These take a second parameter, the name of the item in the wiki's native language.
{{Description|Recipe|Lucky Lunch}} {{Description|Blueprint|Stone Brazier}}
Spanish Example
In Spanish, for example, this would look like:
{{Description|Recipe|Almuerzo de la suerte}} {{Description|Blueprint|Brasero de piedra}}
...which would result in
Receta para cocinar «Almuerzo de la suerte»
Planos para fabricar «Brasero de piedra»
Chinese Example
In Chinese, this would look like:
{{Description|Recipe|幸运午餐}} {{Description|Blueprint|石头火炬}}
...which would result in
一个用于制作 幸运午餐 的配方
用于制造 石头火炬 的设计图
Notes
This template was created to assist in translating the wiki from English into other languages. In other languages, this template allows the item name to be in English or in the other language.
Items from the following data files are included:
- Data\BigCraftablesInformation.xnb
- Data\Blueprints.xnb
- Data\Boots.xnb
- Data\Hats.xnb
- Data\ObjectInformation.xnb
- Data\weapons.xnb
- Data\Furniture.xnb (Catalogue & Furniture Catalogue names)
- Strings\Objects.xnb (Catalogue & Furniture Catalogue descriptions)
- Data\FarmAnimals.xnb (name of Void Chicken)
- Strings\StringsFromCSFiles.xnb (tools, furniture, wallpaper, flooring, animals, recipes, blueprints)
- Strings\1_6_Strings.xnb (various additions in version 1.6.x)