Template:Item: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Created template
No edit summary
Line 1: Line 1:
{| 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}}}
{{qif|test={{{image|}}}|then= {{{image}}}}}
|-
! style="background-color: #FFFFFF;" | [http://en.wikipedia.org/wiki/Kana Kana]
| {{{japanese}}}
|-
! style="background-color: #FFFFFF;" | Localized As
| {{{names}}}
|-
! style="background-color: #FFFFFF;" | Found in
| {{{games}}}
|-
! style="background-color: #FFFFFF;" | Buy for
| {{{buy}}}
|-
! style="background-color: #FFFFFF;" | Sell for
| {{{sell}}}
|-
! style="background-color:#FFFFFF;" | Effect
| {{{effect}}}
|}
<noinclude>
<noinclude>
See [[Template:Item/doc]] for documentation on this template.<br/>
<br>
[[Category:Item templates|Item]]
<br>
<br>
<br>
<br>
<br>
<br>
<br>
== Usage ==
<pre>
{{Item
|title = ''use the title of the article (ex.'' Yakusou'')''
|image = ''add'' [[Image:''ImageName.ext'']] ''so the image will appear.''
|japanese = ''use kanji only (ex.'' やくそう'')''
|names = ''example:'' Herb''<br>'' Medical Herb''<br>'' Medicinal Herb
|games =
|buy = ''if not a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article''
|sell = ''if not a constant number (ex. 8G) enter the range (ex. 6-4G), including the specific detail in the article''
|effect = ''if effect is not constant, use'' various, see article
}}
</pre>
</noinclude>
</noinclude>
<onlyinclude><includeonly>
{{ #switch: {{{1}}}
| header = {{{!}} cellpadding="0" cellspacing="0" class="equipmentTemplateTable"
{{!}}-
| entry =
{{!}} style="vertical-align:top;" {{!}}
{{{!}} cellpadding="5" cellspacing="0" style="margin: 0px 10px 0px 0px; height:100%; width:250px; border-collapse: collapse;"
{{!}}-
{{!}} colspan="2" style="font-size:120%; font-weight:bold;" class="equipmentTemplateHeader" {{!}} {{#if: {{{image|}}} | {{{image}}} }} &nbsp;{{{name}}}
{{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Sell Price
{{!}} class="equipmentTemplateCell" {{!}} {{{sellPrice}}}
{{!}}
{{#if: {{{flavor|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Flavor text
{{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }}
{{#if: {{{console|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Console
{{!}} class="equipmentTemplateCell" {{!}} {{{console}}} }}
{{#if: {{{notes|}}} | {{!}}-
{{!}} style="width:50px;" class="equipmentTemplateHeader" {{!}} Notes
{{!}} class="equipmentTemplateCell" {{!}} {{{notes}}} }}
{{!}}}
{{!}}
| footer = {{!}}} }}
</includeonly></onlyinclude>

Revision as of 11:22, 27 April 2010

{{{title}}}

Template:Qif

Kana {{{japanese}}}
Localized As {{{names}}}
Found in {{{games}}}
Buy for {{{buy}}}
Sell for {{{sell}}}
Effect {{{effect}}}









Usage

{{Item
|title = ''use the title of the article (ex.'' Yakusou'')''
|image = ''add'' [[Image:''ImageName.ext'']] ''so the image will appear.'' 
|japanese = ''use kanji only (ex.'' やくそう'')''
|names = ''example:'' Herb''<br>'' Medical Herb''<br>'' Medicinal Herb
|games =
|buy = ''if not a constant number (ex. 8G) enter the range (ex. 6-12G), including the specific detail in the article''
|sell = ''if not a constant number (ex. 8G) enter the range (ex. 6-4G), including the specific detail in the article''
|effect = ''if effect is not constant, use'' various, see article
}}