Difference between revisions of "Template:Patron"

From DDO Compendium
 
(14 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.
|parameter1values =
|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.
|parameter2values =
|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.
|parameter3values =
|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.
|parameter4values =
|parameter5name = rewards2
|parameter5name = rewards2
|parameter5description = Information about the tier 1 rewards.  Use [[Template:PatronReward]] for this.
|parameter5description = Information about the tier 2 rewards.  Use [[Template:PatronReward]] for this.
|parameter5values =
|parameter6name = rewards3
|parameter6name = rewards3
|parameter6description = Information about the tier 1 rewards.  Use [[Template:PatronReward]] for this.
|parameter6description = Information about the tier 3 rewards.  Use [[Template:PatronReward]] for this.
|parameter6values =
|parameter7name = rewards4
|parameter7name = rewards4
|parameter7description = Information about the tier 1 rewards.  Use [[Template:PatronReward]] for this.
|parameter7description = Information about the tier 4 rewards.  Use [[Template:PatronReward]] for this.
|parameter7values =
|parameter8name = rewards5
|parameter8name = rewards5
|parameter8description = Information about the tier 1 rewards.  Use [[Template:PatronReward]] for this.
|parameter8description = Information about the tier 5 rewards.  Use [[Template:PatronReward]] for this.
|parameter8values =
|parameter9name = rewards6
|parameter9name = rewards6
|parameter9description = Information about the tier 1 rewards.  Use [[Template:PatronReward]] for this.
|parameter9description = Information about the tier 6 rewards.  Use [[Template:PatronReward]] for this.
|parameter9values =  
|parameter10name = rewards7
|parameter10name = overview
|parameter10description = Information about the tier 7 rewards.  Use [[Template:PatronReward]] for this.
|parameter10description = A textual overview of the patron.
|parameter11name = overview
|parameter10values =
|parameter11description = A textual overview of the patron.
|parameter11name = notes
|parameter12name = notes
|parameter11description = Any notes about the patron.
|parameter12description = Any notes about the patron.
|parameter11values =
|parameter13name = patchhistory
|parameter12name = patchhistory
|parameter13description = Any changes in specific patches to the patron.
|parameter12description = Any changes in specific patches to the patron.
|parameter14name = rewards8
|parameter12values =  
|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:''' [[{{{contact}}}]]<br>'''Location:''' [[{{{location}}}]]</div>
'''Representative:''' {{RenderLink|{{{contact}}}}}<br>'''Location:''' {{RenderLink|{{{location}}}}}</div>
</div>
</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-header">Overview</div>
Line 67: Line 62:
<div class="paragraph-header">Favor Rewards</div>
<div class="paragraph-header">Favor Rewards</div>
<div class="paragraph-body">
<div class="paragraph-body">
{{{rewards1|}}}{{{rewards2|}}}{{{rewards3|}}}{{{rewards4|}}}{{{rewards5|}}}{{{rewards6|}}}
{{{rewards1|}}}{{#if: {{{rewards2|}}}|
{{{rewards2|}}}}}{{#if: {{{rewards3|}}}|
{{{rewards3|}}}}}{{#if: {{{rewards4|}}}|
{{{rewards4|}}}}}{{#if: {{{rewards5|}}}|
{{{rewards5|}}}}}{{#if: {{{rewards6|}}}|
{{{rewards6|}}}}}{{#if: {{{rewards7|}}}|
{{{rewards7|}}}}}{{#if: {{{rewards8|}}}|
{{{rewards8|}}}}}
</div>
</div>
<div class="paragraph-header">Quests</div>
<div class="paragraph-body">
{{#dplvar:set|displaystyle|Table}}
{{#dplvar:set|displaystyle|Table}}
{{#DPL:
{{#DPL:
|uses=Template:Quest¦Template:Saga
|uses=Template:Quest
|linksto={{{name}}}
|linksto={{ARTICLEPAGENAME}}
|tablesortcol = 1
|mode=userformat
|noresultsheader=None
|format=,<tr>,</tr>,
|include={Quest¦QuestAllDPL}
|noresultsheader=&nbsp;
|table = class="wikitable" style="color: white; background-color:#3a3f44",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc
|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}
}}
}}
</div>
{{#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
nameThe name of the patron.
contactThe NPC that is the contact for the patron rewards. Use Template:PageLink if the page name is not the same as the NPC name.
locationThe public area that the npc is located in.Use Template:PageLink if the page name is not the same as the NPC name.
rewards1Information about the tier 1 rewards. Use Template:PatronReward for this.
rewards2Information about the tier 2 rewards. Use Template:PatronReward for this.
rewards3Information about the tier 3 rewards. Use Template:PatronReward for this.
rewards4Information about the tier 4 rewards. Use Template:PatronReward for this.
rewards5Information about the tier 5 rewards. Use Template:PatronReward for this.
rewards6Information about the tier 6 rewards. Use Template:PatronReward for this.
rewards7Information about the tier 7 rewards. Use Template:PatronReward for this.
overviewA textual overview of the patron.
notesAny notes about the patron.
patchhistoryAny changes in specific patches to the patron.
rewards8Information 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}}}]]
Overview
{{{overview}}}
Favor Rewards