Template:ArmourShop: Difference between revisions

From Dragon Quest Wiki
(created part 1 of 3 of new template)
 
(created documentation for new template)
 
Line 1: Line 1:
<includeonly><div style="background-color: #7dce82; width: 525px; padding: 3px; margin:5px 5px 5px 5px; border-radius: 4px; {{#if:{{{float|}}}|float:{{{float}}};}}"><center style="color: #fff">[[File:File:ICON-ARMOUR-SHOP.png|link=Armour shop]] '''{{#if:{{{title|}}}|{{{title}}}|Armour Shop}}{{#if:{{{subtitle|}}}|&nbsp;({{{subtitle}}})|&nbsp;}}'''</center><table cellpadding="0" cellspacing="0" style="width: 100%; border: 1px solid #31572c; border-bottom: 0px; border-radius: 3px;"><tr>
<noinclude>
<td style="background-color: #499f68; border-right: 1px solid #31572c; width: 200px; color: #eee; text-align: center;">'''Item'''</td>
This is a template used to list items that can be bought at [[armour shop|armour shops]] as they appear in ''Dragon Quest'' games. For other types of shops, please use the appropriate template.
<td style="background-color: #499f68; border-right: 1px solid #31572c; width: 75px; color: #eee; text-align: center;">'''Price'''</td>
 
<td style="background-color: #499f68; color: #eee; text-align: center; width: 250px">'''Attributes'''</td></tr></includeonly>
==Example==
{{ArmourShop/Start|title=|subtitle=|float=}}
{{ArmourShop/Item|name=Chain mail|price=9,999,999|attributes=Defence +9,999}}
{{ArmourShop/End|note=}}
==Usage==
<pre>
{{ArmourShop/Start|title=|subtitle=|float=}}
{{ArmourShop/Item|name=|price=|attributes=}}
{{ArmourShop/End|note=}}</pre>
</noinclude>

Latest revision as of 16:50, 20 October 2017

This is a template used to list items that can be bought at armour shops as they appear in Dragon Quest games. For other types of shops, please use the appropriate template.

Example[edit]

ICON-ARMOUR-SHOP.png Armour Shop 
Item Price Attributes
ICON-Chain mail.png Chain mail9,999,999Defence +9,999

Usage[edit]

{{ArmourShop/Start|title=|subtitle=|float=}}
{{ArmourShop/Item|name=|price=|attributes=}}
{{ArmourShop/End|note=}}