Template:Item: Difference between revisions
Jump to navigation
Jump to search
Attempting to adjust bracket title to draw to focus on older names specifically |
{{{name}}} is changed to {{{old}}}, still accepting the former. Doc. |
||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude>{| align = right class="infobox bordered" style="width: 18em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3" | <includeonly><onlyinclude>{| align = right class="infobox bordered" style="width: 18em; font-size: 90%; text-align: left; border:solid 1px #EB2626" cellpadding="3" | ||
! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | {{{title}}} | ! colspan="2" style="font-size:110%; text-align: center; background-color: #FFFFFF;" | {{{title}}} | ||
|- | |- | ||
! colspan="2" style="background-color: #FFFFFF;" | {{{image}}} | ! colspan="2" style="background-color: #FFFFFF;" | {{{image}}} | ||
|- | |- | ||
! style="background-color: #FFFFFF;" | | ! style="background-color: #FFFFFF;" | Japanese | ||
| {{{japanese}}} | | {{{japanese}}} | ||
|- | |- | ||
! style="background-color: #FFFFFF;" | Old localizations | ! style="background-color: #FFFFFF;" | Old localizations | ||
| {{{names}}} | | {{{names | {{{old | }}} }}} | ||
|- | |- | ||
! style="background-color: #FFFFFF;" | Found in | ! style="background-color: #FFFFFF;" | Found in | ||
| Line 24: | Line 24: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
* title: The name. E.g. Holy water | |||
* image: Image file. Do link. | |||
* japanese: Japanese name | |||
* old: If [[Dragon Quest Localization History|old localizations]] have different name(s) than "title=", write them here. | |||
* games: The games in which this item appears. | |||
* buy: Price when bought. If '''not''' a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article. | |||
* sell: Price when sold. If '''not''' a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article. | |||
* effect: If effect is ''not'' constant, use "various", see article | |||
== Example == | |||
=== Display === | |||
{{Item | |||
|title = Medicinal herb | |||
|image = [[Image:DQIV_DS_Medicinal Herb.png|center|240px]] | |||
|japanese = {{tt|やくそう|yakusō}} | |||
|names = Herb, Medical herb | |||
|games = {{DQ}}<br>{{DQ2}} blah blah | |||
|buy = varies | |||
|sell = varies | |||
|effect = Restores a small amount of HP to one character | |||
}} | |||
=== Code === | |||
<pre> | <pre> | ||
{{Item | {{Item | ||
|title = | |title = Medicinal herb | ||
|image = | |image = [[Image:DQIV_DS_Medicinal Herb.png|center|240px]] | ||
|japanese = | |japanese = {{tt|やくそう|yakusō}} | ||
|names = | |names = Herb, Medical herb | ||
|games = | |games = {{DQ}}<br>{{DQ2}} blah blah | ||
|buy = | |buy = varies | ||
|sell = | |sell = varies | ||
|effect = | |effect = Restores a small amount of HP to one character | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Item templates|{{PAGENAME}}]] | [[Category:Item templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 02:19, 10 February 2020
Usage
- title: The name. E.g. Holy water
- image: Image file. Do link.
- japanese: Japanese name
- old: If old localizations have different name(s) than "title=", write them here.
- games: The games in which this item appears.
- buy: Price when bought. If not a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article.
- sell: Price when sold. If not a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article.
- effect: If effect is not constant, use "various", see article
Example
Display
| Medicinal herb | |
|---|---|
| Japanese | やくそう |
| Old localizations | Herb, Medical herb |
| Found in | Dragon Quest Dragon Quest II: Luminaries of the Legendary Line blah blah |
| Buy for | varies |
| Sell for | varies |
| Effect | Restores a small amount of HP to one character |
Code
{{Item
|title = Medicinal herb
|image = [[Image:DQIV_DS_Medicinal Herb.png|center|240px]]
|japanese = {{tt|やくそう|yakusō}}
|names = Herb, Medical herb
|games = {{DQ}}<br>{{DQ2}} blah blah
|buy = varies
|sell = varies
|effect = Restores a small amount of HP to one character
}}
