Difference between revisions of "Template:Saga"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(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 | ||
| | |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|}}} | | {{#if: {{{hlvl|}}} | <span class="box-header">'''Heroic [[Saga]]'''</span><br>}}{{#if: {{{elvl|}}} | <span class="box-header">'''Epic [[Saga]]'''</span><br>}} | ||
{{#if: {{{advpack|}}}|'''Pack:''' | {{#if: {{{advpack|}}}|'''Pack:''' | ||
{{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}} | |||
</div> | </div> | ||
<div class="box inner-box">{{#if: {{{bestowed1|}}} |'''NPC Contact:''' | <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: {{{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: | ||
| | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:Quest | |||
|tablesortcol = 1 | |tablesortcol = 1 | ||
|noresultsheader=None | |noresultsheader=None | ||
|include={Quest¦QuestAllDPL} | |include={Quest¦QuestAllDPL} | ||
|table = class=" | |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 {{{ |
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 | |
title | The title of the saga. |
advpack | 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 |
update | Which update was this quest released in. |
hlvl | What is the heroic level range of the quests in the saga - leave blank if there isn't a heroic version. |
elvl | What is the epic level range of the quests in the saga - leave blank if there isn't an epic version. |
bestowed1 | Primary contact for the saga. Use Template:PageLink if the page name is different than the title |
bestowed2 | Secondary contact for the saga. Use Template:PageLink if the page name is different than the title |
zone | The public area the saga NPC is in. Use Template:PageLink if the page name is different than the title |
points | Enter the saga points necessary for each level of reward. Use Template:SagaPoints for this. |
overview | A textual overview of the saga. |
notes | Any notes about the saga. |
patchhistory | Any changes in specific patches to the saga. |
rewards | This 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