Difference between revisions of "Template:Returning"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
|example2 = <nowiki>{{Returning|75}}</nowiki> | |example2 = <nowiki>{{Returning|75}}</nowiki> | ||
|example2output = {{Returning|75}} | |example2output = {{Returning|75}} | ||
|example3 = <nowiki>{{Returning||True}}</nowiki> | |||
|example3output = {{Returning||True}} | |||
|example4 = <nowiki>{{Returning|75|True}}</nowiki> | |||
|example4output = {{Returning|75|True}} | |||
|parameter1name=percent | |parameter1name=percent | ||
|parameter1description=What percent do they return, leave blank it is 100, don't include the % | |parameter1description=What percent do they return, leave blank it is 100, don't include the % | ||
|parameter2name=enchantment | |||
|parameter2description=Is this in the enchantment list | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{EnchTitle||Returning{{#if: {{{1|}}}| {{{1}}}%}} | <onlyinclude>{{#if: {{{2|}}}|{{EnchTitle|Returning|Returning{{#if: {{{1|}}}| {{{1}}}%}}}}{{EnchBody|This missile will return to you{{#if: {{{1|}}}| {{{1}}}% of the time}}.}}|Chance to Return: {{#if: {{{1|}}}|{{{1}}}%|100%}}}}{{EnchCat|Returning|Returning Items}}</onlyinclude> |
Latest revision as of 15:49, 14 January 2025
Returning[edit]
This template is used on equipment for the Returning enchantment.
Example Usage | |
{{Returning}} | Chance to Return: 100% |
{{Returning|75}} | Chance to Return: 75% |
{{Returning||True}} | Returning: This missile will return to you. |
{{Returning|75|True}} | Returning 75%: This missile will return to you 75% of the time. |
Usage[edit]
{{Returning|(percent)|(enchantment)}}
Parameter Documentation | |
percent | What percent do they return, leave blank it is 100, don't include the % |
enchantment | Is this in the enchantment list |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Chance to Return: 100%