Template:Equipment: Difference between revisions

From Dragon Quest Wiki
mNo edit summary
(Revised and updated)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Equipment templates]]
See [[Template:Equipment/doc]] for documentation on this template.<br/>
Below is a sample of this template:
[[Category:Equipment templates|Equipment]]
{{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: 10px 10px 10px 10px; 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 = {{{!}} cellpadding="0" cellspacing="0" class="equipmentTemplateTable"
| colspan="2" style="background-color:firebrick; color:white; text-align:center; font-size:120%;" |{{{icon}}}'''{{{name}}}'''
{{!}}-
|-
| subtable =
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| Game Appearance
{{!}} style="vertical-align:top;" {{!}}
| style="border: 1px black solid;" | {{{game}}}
{{{!}} cellpadding="5" cellspacing="0" style="margin: 5px 5px 5px 5px; height:100%; width:250px; border-collapse: collapse;"
|-  
{{!}}-
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| Console
{{!}} class="equipmentTemplateHeader" colspan="2" {{!}} {{{console}}}
| style="border: 1px black solid;" | {{{console}}}
{{!}}-
{{#if: {{{romanji|}}} | {{!}}-
| entry = {{!}}-  
{{!}} style="background-color:firebrick; white-space:nowrap; width:110px; color:white;" {{!}} Romanji
{{!}} colspan="2" class="equipmentTemplateLabel" {{!}} {{#if: {{{image|}}} | {{{image}}} }} &nbsp;{{{name}}}
{{!}} style="border: 1px black solid;" {{!}} {{{romanji}}} }}
{{!}}-
|-
{{!}} class="equipmentTemplateLabel" {{!}} {{statModified}}  
| style="background-color:firebrick; white-space:nowrap; width:110px; color:white;"| {{{statModified}}}
{{!}} class="equipmentTemplateCell" {{!}} {{{statModifier}}}
| style="border: 1px black solid;" | {{{modifier}}}
{{!}}-  
{{#if: {{{description|}}} | {{!}}-
{{!}} class="equipmentTemplateLabel" {{!}} Notes
{{!}} style="background-color:firebrick; white-space:nowrap; width:110px; color:white;" {{!}} Description
{{!}} class="equipmentTemplateCell" {{!}} {{{notes}}}
{{!}} style="border: 1px black solid;" {{!}} {{{description}}} }}
{{!}}-
|}
| subtablefooter =
</includeonly>
{{!}}}  
</onlyinclude>
{{!}}
| footer = {{!}}} }}
</includeonly></onlyinclude>

Revision as of 18:30, 20 February 2010

See Template:Equipment/doc for documentation on this template.