Difference between revisions of "Template:Patron"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
|rewards5= | |rewards5= | ||
|rewards6= | |rewards6= | ||
|rewards7= | |||
|rewards8= | |||
|overview = | |overview = | ||
|notes = | |notes = | ||
Line 19: | Line 21: | ||
|name = Patron | |name = Patron | ||
|description = This template is used to render information about an patron. Example of the Template in Use: [[The Coin Lords]]. | |description = This template is used to render information about an patron. Example of the Template in Use: [[The Coin Lords]]. | ||
|category= Quest and Area Templates | |||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = name | |parameter1name = name | ||
|parameter1description = The name of the patron. | |parameter1description = The name of the patron. | ||
|parameter2name = contact | |parameter2name = contact | ||
|parameter2description = The NPC that is the contact for the patron rewards. | |parameter2description = The NPC that is the contact for the patron rewards. Use [[Template:PageLink]] if the page name is not the same as the NPC name. | ||
|parameter3name = location | |parameter3name = location | ||
|parameter3description = The public area that the npc is located in. | |parameter3description = The public area that the npc is located in.Use [[Template:PageLink]] if the page name is not the same as the NPC name. | ||
|parameter4name = rewards1 | |parameter4name = rewards1 | ||
|parameter4description = Information about the tier 1 rewards. Use [[Template:PatronReward]] for this. | |parameter4description = Information about the tier 1 rewards. Use [[Template:PatronReward]] for this. | ||
|parameter5name = rewards2 | |parameter5name = rewards2 | ||
|parameter5description = Information about the tier | |parameter5description = Information about the tier 2 rewards. Use [[Template:PatronReward]] for this. | ||
|parameter6name = rewards3 | |parameter6name = rewards3 | ||
|parameter6description = Information about the tier | |parameter6description = Information about the tier 3 rewards. Use [[Template:PatronReward]] for this. | ||
|parameter7name = rewards4 | |parameter7name = rewards4 | ||
|parameter7description = Information about the tier | |parameter7description = Information about the tier 4 rewards. Use [[Template:PatronReward]] for this. | ||
|parameter8name = rewards5 | |parameter8name = rewards5 | ||
|parameter8description = Information about the tier | |parameter8description = Information about the tier 5 rewards. Use [[Template:PatronReward]] for this. | ||
|parameter9name = rewards6 | |parameter9name = rewards6 | ||
|parameter9description = Information about the tier | |parameter9description = Information about the tier 6 rewards. Use [[Template:PatronReward]] for this. | ||
| | |parameter10name = rewards7 | ||
| | |parameter10description = Information about the tier 7 rewards. Use [[Template:PatronReward]] for this. | ||
| | |parameter11name = overview | ||
| | |parameter11description = A textual overview of the patron. | ||
|parameter12name = notes | |||
| | |parameter12description = Any notes about the patron. | ||
| | |parameter13name = patchhistory | ||
|parameter13description = Any changes in specific patches to the patron. | |||
| | |parameter14name = rewards8 | ||
| | |parameter14description = Information about the tier 8 rewards. Use [[Template:PatronReward]] for this. | ||
}}</noinclude> | }}</noinclude>{{#ifeq: {{FULLPAGENAME}} |Template:Patron||[[Category:Patrons]]}} | ||
<div> | <div> | ||
<div class="quest"> | <div class="quest"> | ||
<div class="box outer-box"> | <div class="box outer-box"> | ||
<div class="box inner-box"> | <div class="box inner-box"> | ||
'''Representative:''' | '''Representative:''' {{RenderLink|{{{contact}}}}}<br>'''Location:''' {{RenderLink|{{{location}}}}}</div> | ||
</div> | </div> | ||
<div class="paragraph-header">Overview</div> | <div class="paragraph-header">Overview</div> | ||
Line 72: | Line 67: | ||
{{{rewards4|}}}}}{{#if: {{{rewards5|}}}| | {{{rewards4|}}}}}{{#if: {{{rewards5|}}}| | ||
{{{rewards5|}}}}}{{#if: {{{rewards6|}}}| | {{{rewards5|}}}}}{{#if: {{{rewards6|}}}| | ||
{{{rewards6|}}}}} | {{{rewards6|}}}}}{{#if: {{{rewards7|}}}| | ||
{{{rewards7|}}}}}{{#if: {{{rewards8|}}}| | |||
{{{rewards8|}}}}} | |||
</div> | </div> | ||
{{#dplvar:set|displaystyle|Table}} | {{#dplvar:set|displaystyle|Table}} | ||
{{#DPL: | {{#DPL: | ||
|uses=Template:Quest | |uses=Template:Quest | ||
|linksto={{ | |linksto={{ARTICLEPAGENAME}} | ||
|mode=userformat | |mode=userformat | ||
|format=,<tr>,</tr>, | |format=,<tr>,</tr>, | ||
|noresultsheader= | |noresultsheader= | ||
|resultsheader=<div class="paragraph-header">Quests</div><div class="paragraph-body"><table class="compendiumtable"><tr class="header"><th>Lvl</th><th>Ep</th><th>Quest</th><th>Patron</th><th>Adventure Pack</th><th>Story Arc</th></tr> | |||
|resultsfooter=</table></div> | |||
|include={Quest¦QuestCombineDPL} | |include={Quest¦QuestCombineDPL} | ||
}} | }} | ||
{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body"> | {{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body"> | ||
{{{notes}}} | {{{notes}}} |
Latest revision as of 02:26, 21 June 2024
{{Template:Patron |name = |contact= |location= |rewards1= |rewards2= |rewards3= |rewards4= |rewards5= |rewards6= |rewards7= |rewards8= |overview = |notes = |patchhistory = }}
Patron[edit]
This template is used to render information about an patron. Example of the Template in Use: The Coin Lords.
Usage[edit]
Parameter Documentation | |
name | The name of the patron. |
contact | The NPC that is the contact for the patron rewards. Use Template:PageLink if the page name is not the same as the NPC name. |
location | The public area that the npc is located in.Use Template:PageLink if the page name is not the same as the NPC name. |
rewards1 | Information about the tier 1 rewards. Use Template:PatronReward for this. |
rewards2 | Information about the tier 2 rewards. Use Template:PatronReward for this. |
rewards3 | Information about the tier 3 rewards. Use Template:PatronReward for this. |
rewards4 | Information about the tier 4 rewards. Use Template:PatronReward for this. |
rewards5 | Information about the tier 5 rewards. Use Template:PatronReward for this. |
rewards6 | Information about the tier 6 rewards. Use Template:PatronReward for this. |
rewards7 | Information about the tier 7 rewards. Use Template:PatronReward for this. |
overview | A textual overview of the patron. |
notes | Any notes about the patron. |
patchhistory | Any changes in specific patches to the patron. |
rewards8 | Information about the tier 8 rewards. Use Template:PatronReward for this. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Representative: [[{{{contact}}}]]
Location: [[{{{location}}}]]
Location: [[{{{location}}}]]
Overview
{{{overview}}}
Favor Rewards