Difference between revisions of "Template:ChallengeFavor"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 13: | Line 13: | ||
<onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}} | <onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}} | ||
| table = [[{{{1}}}]] | | table = [[{{{1}}}]] | ||
| #default = [[Category: Quests with {{{1}}} as Patron]]'''Patron:''' [[{{{1}}}]]<br>One point per star<br>Additional for all stars}}</onlyinclude> | | #default = {{#ifeq: {{FULLPAGENAME}} |Template:ChallengeFavor||[[Category: Quests with {{{1}}} as Patron]]}}'''Patron:''' [[{{{1}}}]]<br>One point per star<br>Additional for all stars}}</onlyinclude> |
Revision as of 01:47, 9 February 2019
ChallengeFavor[edit]
This template is used to nicely format the output for challenge favor.
NOTE: that if the dpl key "displaystyle" is set to "table" it generates just a link to the patron.
Example Usage | |
{{ChallengeFavor|Cannith}} | Patron: Cannith One point per star Additional for all stars |
Usage[edit]
{{ChallengeFavor|(Patron)}}
Parameter Documentation | |
Patron | This is the patron that the favor belongs with. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Patron: [[{{{1}}}]]
One point per star
Additional for all stars