Difference between revisions of "Template:DinosaurBonePurchase"

From DDO Compendium
Line 24: Line 24:
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
</noinclude><onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}}
|table=<tr><td>[[Sharpened Bone]]</td><td>[[Village of Tanaroa]]</td><td>1</td><td style="White-space: nowrap">{{VendorIngredientList|{{#if: {{{6|}}}|Black Pearl}}|{{{6|}}}|{{#if: {{{5|}}}|Fossilized Tyrannosaurus Tooth}}|{{{5|}}}|{{#if: {{{1|}}}|Fossilized Raptor Claw}}|{{{1|}}}|{{#if: {{{2|}}}|Fossilized Triceratops Horn}}|{{{2|}}}|{{#if: {{{3|}}}|Fossilized Pteradon Vertebrae}}|{{{3|}}}|{{#if: {{{4|}}}|Fossilized Ankylosaur Rib}}|{{{4|}}}}}</td><td></td></tr>
|table=<tr><td>[[Sharpened Bone]]</td><td>[[Village of Tanaroa]]</td><td>1</td><td style="White-space: nowrap">{{VendorIngredientList|{{#if: {{{6|}}}|Black Pearl}}|{{{6|}}}|{{#if: {{{5|}}}|Fossilized Tyrannosaurus Tooth}}|{{{5|}}}|{{#if: {{{1|}}}|Fossilized Raptor Claw}}|{{{1|}}}|{{#if: {{{2|}}}|Fossilized Triceratops Horn}}|{{{2|}}}|{{#if: {{{3|}}}|Fossilized Pteradon Vertebrae}}|{{{3|}}}|{{#if: {{{4|}}}|Fossilized Ankylosaur Rib}}|{{{4|}}}}}</td><td></td></tr>
|#default=[[Sharpened Bone]]: Purchase {{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|&nbsp;Cost:}}
|#default=* [[Sharpened Bone]]: Purchase {{#if: {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|&nbsp;Cost:}}
{{WrapMultiLine|{{#if: {{{6|}}}|** {{Ingredient|Black Pearl|{{{6}}}}}}}{{#if: {{{5|}}}|** {{Ingredient|Fossilized Tyrannosaurus Tooth|{{{5}}}}}}}{{#if: {{{1|}}}|** {{Ingredient|Fossilized Raptor Claw|{{{1}}}}}}}{{#if: {{{2|}}}|** {{Ingredient|Fossilized Triceratops Horn|{{{2}}}}}}}{{#if: {{{3|}}}|** {{Ingredient|Fossilized Pteradon Vertebrae|{{{3}}}}}}}{{#if: {{{4|}}}|** {{Ingredient|Fossilized Ankylosaur Rib|{{{4}}}}}}}}}
{{WrapMultiLine|{{#if: {{{6|}}}|** {{Ingredient|Black Pearl|{{{6}}}}}}}{{#if: {{{5|}}}|** {{Ingredient|Fossilized Tyrannosaurus Tooth|{{{5}}}}}}}{{#if: {{{1|}}}|** {{Ingredient|Fossilized Raptor Claw|{{{1}}}}}}}{{#if: {{{2|}}}|** {{Ingredient|Fossilized Triceratops Horn|{{{2}}}}}}}{{#if: {{{3|}}}|** {{Ingredient|Fossilized Pteradon Vertebrae|{{{3}}}}}}}{{#if: {{{4|}}}|** {{Ingredient|Fossilized Ankylosaur Rib|{{{4}}}}}}}}}
}}{{#ifeq: {{FULLPAGENAME}} |Template:DinosaurBonePurchase||[[Category:Dinosaur Bone Craftable Items]]}}</onlyinclude>
}}{{#ifeq: {{FULLPAGENAME}} |Template:DinosaurBonePurchase||[[Category:Dinosaur Bone Craftable Items]]}}</onlyinclude>

Revision as of 20:34, 1 July 2022

DinosaurBonePurchase[edit]

This template is used on equipment to correctly format where that equipment is received from trading in dinosaur bones.

Example Usage
{{DinosaurBonePurchase|25|25|25|25}}* Sharpened Bone: Purchase  Cost:
{{DinosaurBonePurchase|25|25|25|25|100}}* Sharpened Bone: Purchase  Cost:
{{DinosaurBonePurchase|25|25|25|25||50}}* Sharpened Bone: Purchase  Cost:

Usage[edit]

{{DinosaurBonePurchase|(Raptor)|(Triceratops)|(Pteradon)|(Ankylosaur)|(Tyrannosaurus)|(Black Pearls)}}

Parameter Documentation
RaptorNumber of Fossilized Raptor Claws
TriceratopsNumber of Fossilized Triceratops Horns
PteradonNumber of Fossilized Pteradon Vertebrae
AnkylosaurNumber of Fossilized Ankylosaur Ribs
TyrannosaurusNumber of Fossilized Tryannosaurus Teeth
Black PearlsNumber of Black Pearls

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.