Difference between revisions of "Template:PatronReceived"

From DDO Compendium
(Created page with "<noinclude>{{TemplateDocumentation |name = PatronReceived |description = This template is used on equipment to correctly format where that equipment is received as a patron re...")
 
 
(3 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}} |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|}}}}}}}</onlyinclude>

Latest revision as of 03:05, 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)|(Location)}}

Parameter Documentation
PatronThis is the page to link to for the patron
favorThis is the amount of favor needed to get the item
TitleThis is the title of the patron, if it is different than the page name
LocationThis 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}}}]]