Difference between revisions of "Template:QuestFavor"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category:Template]]{{TemplateDocumentation | ||
|name = QuestFavor | |||
|description = This template is used to nicely format the output for quest favor. | |||
|example1 = <nowiki>{{QuestFavor|The Free Agents|3}}</nowiki> | |||
|example1output = {{QuestFavor|The Free Agents|3}} | |||
|parameter1name = Patron | |||
|parameter1description = This is the patron that the favor belongs with. | |||
|parameter1values = | |||
|parameter2name = Favor Normal Difficulty Amount | |||
|parameter2description = This is the amount of favor given on normal difficulty. The rest are calculated from that value. | |||
|parameter2values = | |||
}} | |||
</noinclude> | </noinclude> | ||
<onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}} | <onlyinclude>{{#switch: {{lc:{{#dplvar:displaystyle}}}} | ||
| table = [[{{{1}}}]] | | table = [[{{{1}}}]] | ||
| #default = [[Category: Quests with {{{1}}} as Patron]]'''Patron:''' [[{{{1}}}]]<br>'''Solo/Casual:''' {{#expr: floor({{{2}}}/2)}}<br>'''Normal:''' {{{2}}}<br>'''Hard:''' {{#expr: {{{2}}}*2}}<br>'''Elite:''' {{#expr: {{{2}}}*3}}}}</onlyinclude> | | #default = [[Category: Quests with {{{1}}} as Patron]]'''Patron:''' [[{{{1}}}]]<br>'''Solo/Casual:''' {{#expr: floor({{{2}}}/2)}}<br>'''Normal:''' {{{2}}}<br>'''Hard:''' {{#expr: {{{2}}}*2}}<br>'''Elite:''' {{#expr: {{{2}}}*3}}}}</onlyinclude> |
Revision as of 21:38, 5 May 2018
QuestFavor[edit]
This template is used to nicely format the output for quest favor.
Example Usage | |
{{QuestFavor|The Free Agents|3}} | Patron: The Free Agents Solo/Casual: 1 Normal: 3 Hard: 6 Elite: 9 |
Usage[edit]
{{QuestFavor|(Patron)|(Favor Normal Difficulty Amount)}}
Parameter Documentation | |
Patron | This is the patron that the favor belongs with. |
Favor Normal Difficulty Amount | This is the amount of favor given on normal difficulty. The rest are calculated from that value. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Category: Quests with {{{1}}} as Patron]]Patron: [[{{{1}}}]]
Solo/Casual: Expression error: Unrecognized punctuation character "{".
Normal: {{{2}}}
Hard: Expression error: Unrecognized punctuation character "{".
Elite: Expression error: Unrecognized punctuation character "{".