Jump to content

Template:Description/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
Line 3: Line 3:


==Parameters==
==Parameters==
#The name of the item in English, or the [[Modding:Object_data|item ID]] from underling data files (mainly <tt>Content\Data\ObjectInformation.xnb</tt>).
#The name of the item in English (or the [[Modding:Object_data|item ID]] from <tt>Content\Data\ObjectInformation.xnb</tt>).
#Add italics with "italic=true"
#Add italics with "italic=true"


Line 26: Line 26:
{{Description|700}}
{{Description|700}}
==Notes==
==Notes==
This template was created to assist in translating the wiki from English into other languages.
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.


<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Transclusion templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 16:52, 30 September 2018

Description

This template automatically populates the description for several items.

Parameters

  1. The name of the item in English (or the item ID from Content\Data\ObjectInformation.xnb).
  2. Add italics with "italic=true"

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|italic=true}}

...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.

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.