Template:Equipment: Difference between revisions

347 bytes removed ,  20:13, 11 April 2020
Removing weapon class due to redundancy, it's already in the name.
mNo edit summary
(Removing weapon class due to redundancy, it's already in the name.)
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Equipment templates]]
{{{{PAGENAME}}/doc}}
Below is a sample of this template:
[[Category:Equipment templates|{{PAGENAME}}]]
{{Equipment
|float=left
|icon=[[Image:nopic.png]]
|name=Test
|game=Dragon Quest XXVI
|console=GBC
|romanji= chingchow
|statModified=Attack
|modifier=+2
|description=This is a test weapon.
}}
</noinclude>
</noinclude>
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px; background-color: #ffffff; color:black; border:1px solid #8888aa; {{#if: {{{float|}}} | float:{{{float}}}; clear:{{{float}}} | float:right; clear:right; }}"
{{#switch: {{{1}}}
|- style="background-color:firebrick;"
| header =
| colspan="2" style="background-color:firebrick; color:white; text-align:center; font-size:120%;" |{{{icon}}}'''{{{name}}}'''
{{{!}} cellpadding="5" cellspacing="0" class="equipmentTemplateTable"
|-
! colspan="2" class="equipmentTemplateHeader" {{!}} {{#if: {{{image|}}} | [[Image:{{{image}}}|40px]] }} &nbsp;{{{name}}} {{#if: {{{console|}}} | &nbsp;({{{console}}}) }}
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| Game Appearance
{{!}}-
| style="border: 1px black solid;" | {{{game}}}
| stat =  
|-  
{{!}}-
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| Console
{{!}} class="equipmentTemplateHeader" {{!}} {{{name}}}  
| style="border: 1px black solid;" | {{{console}}}
{{!}} class="equipmentTemplateCell" {{!}} {{{modifier}}}
{{#if: {{{romanji|}}} | {{!}}-
{{!}}-
{{!}} style="background-color:firebrick; white-space:nowrap; width:110px; color:white;" {{!}} Romanji
| footer =
{{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }}
{{!}}-
|-
{{!}} class="equipmentTemplateHeader" {{!}} Equipable by
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| {{{statModified}}}
{{!}} class="equipmentTemplateCell" {{!}} {{#if: {{{equipableBy|}}} | {{{equipableBy}}} }}
| style="border: 1px black solid;" | {{{modifier}}}
{{!}}-
{{#if: {{{description|}}} | {{!}}-
{{!}} class="equipmentTemplateHeader" {{!}} Buy Price
{{!}} style="background-color:firebrick; white-space:nowrap; width:110px; color:white;" {{!}} Description
{{!}} class="equipmentTemplateCell" {{!}} {{{buyPrice}}}
{{!}} style="border: 1px black solid;" {{!}} {{{description}}} }}
{{!}}-
|}
{{!}} class="equipmentTemplateHeader" {{!}} Sell Price
</includeonly>
{{!}} class="equipmentTemplateCell" {{!}} {{{sellPrice}}}
</onlyinclude>
{{!}}-
{{#if: {{{flavor|}}} |  
{{!}}-
{{!}} class="equipmentTemplateHeader" {{!}} Flavor text
{{!}} class="equipmentTemplateCell" {{!}} {{{flavor}}} }}
{{!}}-
{{#if: {{{notes|}}} |  
{{!}}-  
{{!}} class="equipmentTemplateHeader" {{!}} Notes
{{!}} class="equipmentTemplateCell" {{!}} {{{notes}}} }}
{{!}}} }}</includeonly></onlyinclude>