Difference between revisions of "Template:PatronReceived"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 13: | Line 13: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:PatronReceived||[[Category:{{{1}}} Gained Gear]]}}Recieved for {{{2}}} favor from {{PageLink|{{{1}}}|{{{3|}}}}}</onlyinclude> | <onlyinclude>{{#ifeq: {{FULLPAGENAME}} |Template:PatronReceived||[[Category:{{{1}}} Gained Gear]]}}{{#switch: {{lc:{{#dplvar:vendorformat}}}} | ||
|table=<tr><td>{{PageLink|{{{1}}}|{{{3|}}}}}</td><td></td><td>1</td><td>{{{2}}} Favor</td><td></td></tr> | |||
|#default=Recieved for {{{2}}} favor from {{PageLink|{{{1}}}|{{{3|}}}}}}}</onlyinclude> |
Revision as of 02:57, 24 July 2021
PatronReceived[edit]
This template is used on equipment to correctly format where that equipment is received as a patron reward
Example Usage | |
{{PatronReceived|The Harpers|250}} | Recieved for 250 favor from The Harpers |
Usage[edit]
{{PatronReceived|(Patron)|(favor)|(Title)}}
Parameter Documentation | |
Patron | This is the page to link to for the patron |
favor | This is the amount of favor needed to get the item |
Title | This is the title of the patron, if it is different than the page name |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Recieved for {{{2}}} favor from [[{{{1}}}]]