PotBS Wiki
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|style="padding:0 12px;"|
 
|style="padding:0 12px;"|
 
{|style="width:100%; line-height:16px; color:#472f2b;"
 
{|style="width:100%; line-height:16px; color:#472f2b;"
|<div style="border-bottom: 1px solid #664314; border-top: 1px solid #664314; text-align:center; font-size: 16px; padding: 5px; margin: 5px 5px 10px 5px; line-height: 18px;">{{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}{{#if:{{{image|}}}|<br />[[File:{{{image|}}}]]}}</div>
+
|<div style="border-bottom: 1px solid #664314; border-top: 1px solid #664314; text-align:center; font-size: 16px; padding: 5px; margin: 5px 5px 10px 5px; line-height: 23px;">{{#if:{{{name|}}}|'''{{{name|}}}'''|'''{{PAGENAME}}'''}}<br />[[File:{{{name|}}}.png]]</div>
 
{{!}}-
 
{{!}}-
 
{{!}}style="padding:0px 0 0 10px;"{{!}}''Can be lost if defeated at sea''
 
{{!}}style="padding:0px 0 0 10px;"{{!}}''Can be lost if defeated at sea''
Line 11: Line 11:
 
|style="padding:10px 0 0 10px;"|{{{description|}}}
 
|style="padding:10px 0 0 10px;"|{{{description|}}}
 
|-
 
|-
|style="padding:10px 0 0 10px;"|Item Weight: '''0'''
+
|style="padding:10px 0 0 10px;"|'''Item Weight:''' '''0'''
 
|-
 
|-
|style="padding:10px 0 0 10px;"|Sell value: {{{sell value|}}}{{Doubloons}}
+
|style="padding:10px 0 0 10px;"|'''Sell value:''' {{{sell value|}}}{{Doubloons}}
 
|-
 
|-
|style="padding:10px 0 0 10px;"|Required For:
+
|style="padding:10px 0 0 10px;"|'''Required For:'''
 
|-
 
|-
|<div class="alt" style="padding-left:15px; font-weight:bold;">{{#arraymap: {{{required for|}}}|;|x|[[x]]|<br />}}</div>
+
|<div class="alt" style="padding-left:15px;">{{#switch: {{NAMESPACE}}|Template = {{#arraymap: {{{required for|}}}|;|x|[[x]]|<br />}}|{{#ask: [[consumes::{{PAGENAME}}]]|format=list|sep=<br />}}}}</div>
 
|}
 
|}
 
|-
 
|-

Latest revision as of 16:39, 1 March 2012

Contents

This template can be used to document Loot Items.

Usage

Copy-paste the contents of the white box into your article, fill in the information about the item, and save the page.

{{loot items
|name = 
|description = 
|sell value = 
}}
  • name: item name
  • description: the description of the item
  • sell value: the amount of gold that the item sells for at a Junk Merchant

Example

Loot Items
Gold Blade
Gold Blade.png
Can be lost if defeated at sea
A ceremonial knife, inscribed with Aztec symbols of sacrifice, cast from solid gold.
Item Weight: 0
Sell value: 200Doubloon(s)
Required For:
Item 1
Item 2
Item 3


{{loot items
|name = Gold Blade
|description = A ceremonial knife, inscribed with Aztec symbols of sacrifice, cast from solid gold.
|sell value = 200
}}