Template:Item: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| 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: 300px; 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|{{PAGENAME}}}}}
{{qif|test={{{image|}}}|then= {{{image}}}}}
|-
|-
! style="background-color: #FFFFFF;" | Kanji
! colspan="2" style="background-color:#fff;text-align:center" | {{{image}}}
|-
! style="background-color: #FFFFFF;" | Japanese
| {{{japanese}}}
| {{{japanese}}}
|-
|-
! style="background-color: #FFFFFF;" | Localized As
! style="background-color: #FFFFFF;" | Romaji
| {{{names}}}
| {{{romaji}}}
|-
|-
! style="background-color: #FFFFFF;" | Buy for
! style="background-color: #FFFFFF;" | Old localisations
| {{{buy}}}
| {{{names | {{{old | }}} }}}
|-
|-
! style="background-color: #FFFFFF;" | Sell for
! style="background-color: #FFFFFF;" | Found in
| {{{sell}}}
| {{{games}}}
|-
|-
! style="background-color:#FFFFFF;" | Effect
! style="background-color:#FFFFFF;" | Effect
| {{{effect}}}
| {{{effect}}}
|}<noinclude>
|}</onlyinclude></includeonly>
<br>
<noinclude>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
== Usage ==
== Usage ==
* title: The name. E.g. Holy water
* image: Image file. Do link.
* japanese: Japanese name
* romaji: Japanese name in Latin letters
* old: If [[Dragon Quest localization history|old localisations]] have different name(s) than "title=", write them here.
* games: The games in which this item appears.
* effect:  If effect is ''not'' constant, use "various", see article
== Example ==
=== Display ===
{{Item
|title = Medicinal herb
|image = [[File:DQIV_DS_Medicinal Herb.png|center|240px]]
|japanese = やくそう
|romaji = {{tt|Yakusō|Medicinal herb/plant}}
|names = Herb, Medical herb
|games = {{DQ}}<br>{{DQ2}}
|effect = Restores a small amount of HP to one character
}}
=== Code ===
<pre>
<pre>
{{Item
{{Item
|title = ''use the title of the article (ex.'' Yakusou'')''
|title =  
|image =
|image =  
|japanese = ''use kanji only (ex.'' やくそう'')''
|japanese =  
|names = ''example:'' Herb''<br>'' Medical Herb''<br>'' Medicinal Herb
|romaji =  
|buy = ''if not a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article''
|names =  
|sell = ''if not a constant number (ex. 8G) enter the range (ex. 6-4G), including the specific detail in the article''
|games =  
|effect = ''if effect is not constant, use'' various, see article
|effect =  
}}
}}
</pre>
</pre>
[[Category:Item templates]]
</noinclude>
</noinclude>

Latest revision as of 23:08, 13 February 2026


Usage[edit source]

  • title: The name. E.g. Holy water
  • image: Image file. Do link.
  • japanese: Japanese name
  • romaji: Japanese name in Latin letters
  • old: If old localisations have different name(s) than "title=", write them here.
  • games: The games in which this item appears.
  • effect: If effect is not constant, use "various", see article

Example[edit source]

Display[edit source]

Medicinal herb
Japanese やくそう
Romaji Yakusō
Old localisations Herb, Medical herb
Found in Dragon Quest
Dragon Quest II: Luminaries of the Legendary Line
Effect Restores a small amount of HP to one character

Code[edit source]

{{Item
|title = 
|image = 
|japanese = 
|romaji = 
|names = 
|games = 
|effect = 
}}