Template:Infobox item/doc: Difference between revisions

Template page
Content added Content deleted
(created documentation)
 
(added better documentation)
Line 10: Line 10:
"item name": {
"item name": {
"type": "string",
"type": "string",
"required": true
"required": true,
"label": "Item Name",
"description": "The name of the item.",
"example": "Pure crystal of feelings"
},
},
"image": {
"image": {
"type": "string",
"type": "wiki-file-name",
"required": true
"required": true,
"label": "Item Image",
"description": "The image of the item.",
"example": "Pure crystal of feelings.png"
},
},
"japanese": {
"japanese": {
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Japanese",
"description": "The name of the item in Japanese.",
"example": "想いの純結晶"
},
},
"romaji": {
"romaji": {
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Romaji",
"description": "The romanized version of the Japanese item name."
},
},
"english": {
"english": {
"type": "string"
"type": "string",
"label": "English",
"description": "The English translation of the item name. This is usually the same as the item name, however, prefer a more translation in the same format as the Japanese item name.",
"example": "Pure crystal of feelings",
"suggested": true
},
},
"descrption": {
"descrption": {
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Description",
"description": "The description of the item, translated from Japanese."
}
}
},
},
Line 50: Line 67:


==Examples==
==Examples==
{{Infobox Item

|item name = Pure crystal of feelings
|image = Pure crystal of feelings.png
|japanese = 想いの純結晶
|romaji =
|english = Pure crystal of feelings
|description =
}}
<pre>
{{Infobox Item
|item name = Pure crystal of feelings
|image = Pure crystal of feelings.png
|japanese = 想いの純結晶
|romaji =
|english = Pure crystal of feelings
|description =
}}
</pre>


<includeonly>[[Category:Infobox templates]]</includeonly>
<includeonly>[[Category:Infobox templates]]</includeonly>

Revision as of 06:49, 29 July 2021

Parameters

Infobox Item for displaying item information.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Item Nameitem name

The name of the item.

Example
Pure crystal of feelings
Stringrequired
Item Imageimage

The image of the item.

Example
Pure crystal of feelings.png
Filerequired
Japanesejapanese

The name of the item in Japanese.

Example
想いの純結晶
Stringsuggested
Romajiromaji

The romanized version of the Japanese item name.

Stringsuggested
Englishenglish

The English translation of the item name. This is usually the same as the item name, however, prefer a more translation in the same format as the Japanese item name.

Example
Pure crystal of feelings
Stringsuggested
Descriptiondescrption

The description of the item, translated from Japanese.

Stringsuggested

Quick Copy

{{Infobox Item
|item name = 
|image    = 
|japanese = 
|romaji   = 
|english  = 
|description = 
}}

Examples

Template:Infobox Item

{{Infobox Item
|item name = Pure crystal of feelings
|image    = Pure crystal of feelings.png
|japanese = 想いの純結晶
|romaji   = 
|english  = Pure crystal of feelings
|description = 
}}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.