Difference between revisions of "Template:Merchant test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 5: Line 5:
<!--{{{Valuables|0.5}}} This will check if there is a {{{variable}}} with that name and if so it will take its value, and if not it will take the default 0.5 -->
<!--{{{Valuables|0.5}}} This will check if there is a {{{variable}}} with that name and if so it will take its value, and if not it will take the default 0.5 -->


<!-- |{{#if: {{{Metal|}}} | {{C|Gray|Metal}}{{!!}}{{C|+|{{{Metal}}}%}} | }}  This is a command that says,  
<!-- |{{#if: {{{Metal|}}} | {{C|Gray|Metal}} {{!!}} {{C|+|{{{Metal}}}%}} | }}  This is a command that says,  
if the variable {{{metal}}} is empty then don't display the line (which is the last option - after "|") but if there is content there, display the line as usual.
if the variable {{{metal}}} is empty then don't display the line (which is the last option - after "|") but if there is content there, display the line as usual.
This allows you to ensure that only the things related to that merchant are displayed.-->
This allows you to ensure that only the things related to that merchant are displayed.-->

Revision as of 18:41, 9 October 2025


it a test do not use Documentation needs to be added