Difference between revisions of "Template:Saga"

From DDO Compendium
 
(23 intermediate revisions by the same user not shown)
Line 20: Line 20:
|name = Saga
|name = Saga
|description = This template is used to render information about a saga. Example of the Template in Use: [[In the Wastes of Gianthold (Heroic)]].
|description = This template is used to render information about a saga. Example of the Template in Use: [[In the Wastes of Gianthold (Heroic)]].
|category=Quest and Area Templates
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = title
|parameter1name = title
Line 25: Line 26:
|parameter1values =  
|parameter1values =  
|parameter2name = advpack
|parameter2name = advpack
|parameter2description = The adventure pack that in which this quest is a part. Leave blank if it is Free to Play.
|parameter2description = The adventure pack that in which this quest is a part. Leave blank if it is Free to Play. Use [[Template:PageLink]] if the page name is different than the title
|parameter2values =  
|parameter2values =  
|parameter3name = update
|parameter3name = update
Line 37: Line 38:
|parameter5values =  
|parameter5values =  
|parameter6name = bestowed1
|parameter6name = bestowed1
|parameter6description =Primary contact for the saga.
|parameter6description =Primary contact for the saga. Use [[Template:PageLink]] if the page name is different than the title
|parameter6values =  
|parameter6values =  
|parameter7name = bestowed2
|parameter7name = bestowed2
|parameter7description = Secondary contact for the saga.
|parameter7description = Secondary contact for the saga. Use [[Template:PageLink]] if the page name is different than the title
|parameter7values =  
|parameter7values =  
|parameter8name = zone  
|parameter8name = zone  
|parameter8description = The public area the saga NPC is in.
|parameter8description = The public area the saga NPC is in. Use [[Template:PageLink]] if the page name is different than the title
|parameter8values =  
|parameter8values =  
|parameter9name = points
|parameter9name = points
Line 58: Line 59:
|parameter12values =  
|parameter12values =  
|parameter13name = rewards
|parameter13name = rewards
|parameter12description = This describes the rewards for each saga level.  Use [[Template:SagaRewards]] for this.
|parameter13description = This describes the rewards for each saga level.  Use [[Template:SagaRewards]] for this.
|parameter13values =  
|parameter13values =  
}}</noinclude>
}}</noinclude>
Line 65: Line 66:
<div class="box outer-box">
<div class="box outer-box">
<div class="box inner-box">
<div class="box inner-box">
{{#if: {{{hlvl|}}} | [[Category: Heroic Sagas]] <span class="box-header">'''Heroic [[Saga]]'''</span><br>}}{{#if: {{{elvl|}}} | [[Category: Heroic Sagas]] <span class="box-header">'''Epic [[Saga]]'''</span><br>}}
{{#if: {{{hlvl|}}} | <span class="box-header">'''Heroic [[Saga]]'''</span><br>}}{{#if: {{{elvl|}}} | <span class="box-header">'''Epic [[Saga]]'''</span><br>}}
{{#if: {{{advpack|}}}|'''Pack:''' [[{{{advpack}}}]]<br>|Free To Play<br>}}
{{#if: {{{advpack|}}}|'''Pack:'''  
{{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}}
</div>
</div>
<div class="box inner-box">{{#if: {{{bestowed1|}}} |'''NPC Contact:''' [[{{{bestowed1}}}]]{{#if: {{{bestowed2|}}}| or [[{{{bestowed2}}}]]}}<br>}}{{#if: {{{zone|}}} |'''Found in:''' [[{{{zone}}}]]<br>}}</div>
<div class="box inner-box">{{#if: {{{hlvl|}}} | '''Heroic Level:''' {{{hlvl}}}<br>}}{{#if: {{{elvl|}}} | '''Epic Level:''' {{{elvl}}}<br>}}{{#if: {{{bestowed1|}}} |'''NPC Contact{{#if: {{{bestowed2|}}}|s}}:''' {{#if: {{{bestowed2|}}}|
* }}{{RenderLink|{{{bestowed1}}}}}{{#if: {{{bestowed2|}}}|
* {{RenderLink|{{{bestowed2}}}}}|<br>}}}}
 
{{#if: {{{zone|}}} |'''Found in:''' {{RenderLink|{{{zone}}}}}<br>}}</div>
{{#if: {{{points|}}} |<div class="box inner-box"><span class="box-header">'''Saga Points'''</span><br>{{{points}}}</div>}}
{{#if: {{{points|}}} |<div class="box inner-box"><span class="box-header">'''Saga Points'''</span><br>{{{points}}}</div>}}
</div>
</div>
{{#if: {{{hlvl|}}} | * Heroic Level {{{hlvl}}} Quests}}
{{#if: {{{elvl|}}} | * Epic Level {{{elvl}}} Quests}}
{{#if: {{{bestowed1|}}} | * Bestowed by [[{{{bestowed1}}}]]{{#if: {{{bestowed2|}}}| or [[{{{bestowed2}}}]]}}}} {{#if: {{{zone|}}}|in [[{{{zone}}}]]
{{#if: {{{overview|}}} |<div class="paragraph-header">Overview</div><div class="paragraph-body">
{{#if: {{{overview|}}} |<div class="paragraph-header">Overview</div><div class="paragraph-body">
{{{overview}}}</div>}}
{{{overview}}}</div>}}
Line 79: Line 82:
{{#dplvar:set|displaystyle|Table}}
{{#dplvar:set|displaystyle|Table}}
{{#DPL:
{{#DPL:
|category=Quests in saga {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Quest
|tablesortcol = 1
|tablesortcol = 1
|noresultsheader=None
|noresultsheader=None
|include={Quest¦QuestAllDPL}
|include={Quest¦QuestAllDPL}
|table = class="wikitable" style="color: white; background-color:#3a3f44",-,Lvl,Ep,Quest,Patron,Adventure Pack,Chain
|table = class="compendiumtable compendiumtablenonsortable",-,Lvl,Ep,Quest,Patron,Adventure Pack,Chain
}}
}}
{{#if: {{{rewards|}}} |<div class="paragraph-header">Rewards</div><div class="paragraph-body">
{{#if: {{{rewards|}}} |<div class="paragraph-header">Rewards</div><div class="paragraph-body">
Line 92: Line 96:
{{{patchhistory}}}
{{{patchhistory}}}
</div>}}
</div>}}
</div>}}
</div>{{#if: {{{update|}}} || {{#ifeq: {{FULLPAGENAME}} |Template:Saga||[[Category: Sagas without Update]]}}}}{{#if: {{{hlvl|}}} | [[Category: Heroic Sagas]]}}{{#if: {{{elvl|}}} | [[Category: Epic Sagas]]}}
{{#if: {{{update|}}} | [[Category: Update {{{update}}} Sagas]] | [[Category: Sagas without Update]]}}

Latest revision as of 19:40, 18 October 2019

{{Template:Saga
|title = 
|advpack = 
|update = 
|hlvl = 
|elvl = 
|bestowed1 = 
|bestowed2 = 
|zone = 
|points = 
|overview = 
|notes = 
|patchhistory = 
|rewards=
}}

Saga[edit]

This template is used to render information about a saga. Example of the Template in Use: In the Wastes of Gianthold (Heroic).

Usage[edit]

Parameter Documentation
titleThe title of the saga.
advpackThe adventure pack that in which this quest is a part. Leave blank if it is Free to Play. Use Template:PageLink if the page name is different than the title
updateWhich update was this quest released in.
hlvlWhat is the heroic level range of the quests in the saga - leave blank if there isn't a heroic version.
elvlWhat is the epic level range of the quests in the saga - leave blank if there isn't an epic version.
bestowed1Primary contact for the saga. Use Template:PageLink if the page name is different than the title
bestowed2Secondary contact for the saga. Use Template:PageLink if the page name is different than the title
zoneThe public area the saga NPC is in. Use Template:PageLink if the page name is different than the title
pointsEnter the saga points necessary for each level of reward. Use Template:SagaPoints for this.
overviewA textual overview of the saga.
notesAny notes about the saga.
patchhistoryAny changes in specific patches to the saga.
rewardsThis describes the rewards for each saga level. Use Template:SagaRewards for this.

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.


Free To Play

Quests

None