Difference between revisions of "Template:VendorCraft"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 7: | Line 7: | ||
* {{Ingredient|Sentient Jewel of Wave}} | * {{Ingredient|Sentient Jewel of Wave}} | ||
* {{Ingredient|Schism Shard|5}}}}</nowiki> | * {{Ingredient|Schism Shard|5}}}}</nowiki> | ||
|example1output = {{VendorCraft|Reflection of Wave| | |example1output = {{VendorSaleTable|{{VendorCraft|Reflection of Wave| | ||
* {{Ingredient|Legendary Echo of Wave||Echo of Wave}} | * {{Ingredient|Legendary Echo of Wave||Echo of Wave}} | ||
* {{Ingredient|Sentient Jewel of Wave}} | * {{Ingredient|Sentient Jewel of Wave}} | ||
* {{Ingredient|Schism Shard|5}}}} | * {{Ingredient|Schism Shard|5}}}}}} | ||
|parameter1name = Item | |parameter1name = Item | ||
|parameter1description = This is the item that is being created | |parameter1description = This is the item that is being created | ||
Line 26: | Line 26: | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}} | <onlyinclude>{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
| table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>{{#if: {{{3|}}}|{{{3}}}|1}}</td><td> | | table=<tr><td>{{RenderLink|{{{1}}}}}</td><td>{{#if: {{{3|}}}|{{{3}}}|1}}</td><td>{{#if:{{{2|}}}|{{WrapMultiLine|{{{2}}}}}}}</td>{{#if: {{{4|}}}|<td>{{{4}}}</td>}}{{#if: {{{5|}}}|<td>{{{5}}}</td>}}{{#if: {{{6|}}}|<td>{{{6}}}</td>}}</tr> | ||
{{#if:{{{2|}}}|{{WrapMultiLine|{{{2}}}}}}}</td>{{#if: {{{4|}}}|<td>{{{4}}}</td>}}{{#if: {{{5|}}}|<td>{{{5}}}</td>}}{{#if: {{{6|}}}|<td>{{{6}}}</td>}}</tr> | |||
|#default={{#if: {{{3|}}}|{{{3}}}}} {{RenderLink|{{{1}}}}} - {{#if:{{{2|}}}|{{WrapMultiLine|{{{2}}}}}}} | |#default={{#if: {{{3|}}}|{{{3}}}}} {{RenderLink|{{{1}}}}} - {{#if:{{{2|}}}|{{WrapMultiLine|{{{2}}}}}}} | ||
}}</onlyinclude> | }}</onlyinclude> |
Revision as of 01:31, 5 October 2021
VendorCraft[edit]
This template is used on equipment to correctly format what a vendor can craft for you.
Example Usage | |||||||
{{VendorCraft|Reflection of Wave| * {{Ingredient|Legendary Echo of Wave}} * {{Ingredient|Sentient Jewel of Wave}} * {{Ingredient|Schism Shard|5}}}} |
|
Usage[edit]
{{VendorCraft|(Item)|(Cost)|(Amount)|(Table Optional 1)|(Table Optional 2)|(Table Optional 3)}}
Parameter Documentation | |
Item | This is the item that is being created |
Cost | This is the ingredients in the item |
Amount | This is the number you get for that price, only use if it is not one |
Table Optional 1 | This is the value to show in the first optional column, when this template is inside Template:VendorSaleTable |
Table Optional 2 | This is the value to show in the second optional column, when this template is inside Template:VendorSaleTable |
Table Optional 3 | This is the value to show in the third optional column, when this template is inside Template:VendorSaleTable |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[{{{1}}}]]1