Difference between revisions of "Template:PatronReceived"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|parameter3name = Title | |parameter3name = Title | ||
|parameter3description = This is the title of the patron, if it is different than the page name | |parameter3description = This is the title of the patron, if it is different than the page name | ||
|parameter4name = Location | |||
|parameter4description = This is the location of the patron | |||
}} | }} | ||
</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>{{#if: {{{4|}}}|{{RenderLink|{{{4}}}}}}}</td><td>1</td><td>{{{2}}} Favor</td><td></td></tr> | |||
|#default=Recieved for {{{2}}} favor from {{PageLink|{{{1}}}|{{{3|}}}}}}}{{#dplvar:set|seodroplocation|{{#dplvar:seodroplocation}} | |||
* Recieved for {{{2}}} favor from {{{1}}}}}</onlyinclude> |
Latest revision as of 16:22, 23 December 2024
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)|(Location)}}
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 |
Location | This is the location of the patron |
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}}}]]