Difference between revisions of "Template:StoryArc"

From DDO Compendium
 
(29 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|llvl =  
|llvl =  
|bestowed =  
|bestowed =  
|bestowed2 =
|zone =  
|zone =  
|overview =  
|overview =  
Line 24: Line 25:
|parameter1description = The title of the story arc.
|parameter1description = The title of the story arc.
|parameter2name = advpack
|parameter2name = advpack
|parameter2description = The adventure pack that in which this arc is a part. Use [[Template:PageLink]]
|parameter2description = The adventure pack that in which this arc is a part. Use [[Template:PageLink]] if the page is not the same name as the title
|parameter3name = update
|parameter3name = update
|parameter3description = Which update this arc is part up
|parameter3description = Which update this arc is part up
Line 34: Line 35:
|parameter6description = What is the level range of the legendary arc - leave blank if there isn't a legendary version.
|parameter6description = What is the level range of the legendary arc - leave blank if there isn't a legendary version.
|parameter7name = bestowed
|parameter7name = bestowed
|parameter7description = Who bestows the arc, and gives the arc end rewards.
|parameter7description = Who bestows the arc, and gives the arc end rewards. Use [[Template:PageLink]] if the page is not the same name as the title
|parameter8name = zone  
|parameter8name = zone  
|parameter8description = The public or wilderness area the arc is in.
|parameter8description = The public or wilderness area the arc is in. Use [[Template:PageLink]] if the page is not the same name as the title
|parameter9name = overview
|parameter9name = overview
|parameter9description = A textual overview of the arc.
|parameter9description = A textual overview of the arc.
Line 45: Line 46:
|parameter12name = links
|parameter12name = links
|parameter12description = Any links to external sources.  Use the template [[Template:ExternalLink]].
|parameter12description = Any links to external sources.  Use the template [[Template:ExternalLink]].
|parameter12name = lootcategory
|parameter13name = lootcategory
|parameter12description = Enter the name of the category (without Loot at the end) that has loot for this arc to override the default values.
|parameter13description = Enter the name of the category (without Loot at the end) that has loot for this arc to override the default values.
|parameter14name = bestowed2
|parameter14description = Who is the quest giver for the quest for the epic/legendary version if it is different than the heroic. Use [[Template:PageLink]] if the page is not the same name as the title
|parameter15name = loot
|parameter15description = A buleted list of loot that drops that isn't specific to this quest (i.e. tomes)
}}</noinclude>
}}</noinclude>
<div>
<div>
Line 52: Line 57:
<div class="box outer-box">
<div class="box outer-box">
<div class="box inner-box">
<div class="box inner-box">
{{#if: {{{advpack|}}}|'''Pack:''' {{{advpack}}}<br>|Free To Play<br>}}</div>
{{#if: {{{advpack|}}}|'''Pack:''' {{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}}{{#if: {{{update|}}} |'''Released:''' Update {{{update}}}<br>}}
</div>
<div class="box inner-box">
<div class="box inner-box">
{{#if: {{{hlvl|}}} |'''Heroic Range:''' {{{hlvl}}}<br>}}{{#if: {{{elvl|}}} |'''Epic Range:''' {{{elvl}}}<br>}}{{#if: {{{llvl|}}} |'''Legendary Range:''' {{{llvl}}}<br>}}{{#if: {{{bestowed|}}} |[[Category: Story Arcs given by {{{bestowed}}}]]'''Bestowed by:''' [[{{{bestowed}}}]]<br>}}{{#if: {{{zone|}}} |'''Found in:''' [[{{{zone}}}]]<br>}}
{{#if: {{{hlvl|}}} |'''Heroic Range:''' {{{hlvl}}}<br>}}{{#if: {{{elvl|}}} |'''Epic Range:''' {{{elvl}}}<br>}}{{#if: {{{llvl|}}} |'''Legendary Range:''' {{{llvl}}}<br>}}{{#if: {{{bestowed|}}} |'''Bestowed by:''' {{#if: {{{bestowed2|}}}|
*}} {{RenderLink|{{{bestowed}}}}} {{#if: {{{bestowed2|}}}|&nbsp;(Heroic)}}<br>{{#if: {{{bestowed2|}}} |* {{RenderLink|{{{bestowed2}}}}} ({{#if: {{{elvl|}}}|Epic|Legendary}})}}}}
{{#if: {{{zone|}}} |'''Found in:''' {{RenderLink|{{{zone}}}}}<br>}}
</div>
</div>
{{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}}
{{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}}
Line 61: Line 69:
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-header">Quests</div>
<div class="paragraph-header">Quests</div>
<div class="paragraph-body">
<div class="paragraph-body"><table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th>Lvl</th><th>Ep</th><th>Quest</th><th>Patron</th><th>Adventure Pack</th></tr>
{{#dplvar:set|displaystyle|Table}}
{{#dplvar:set|displaystyle|Table}}
{{#DPL:
{{#DPL:
|linksto={{FULLPAGENAME}}
|uses=Template:Quest
|uses=Template:Quest
|linksto={{{title|none}}}
|tablesortcol = 1
|noresultsheader=None
|include={Quest¦QuestAllDPL}
|table = class="compendiumtable compendiumtablenonsortable",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc
}}
</div><div class="paragraph-header">Named End Rewards</div><table class="compendiumtable compendiumtablenonsortable"><tr class="header"><th>Name</th><th>Type</th><th>ML</th><th>Binding</th></tr>{{#DPL:
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|uses=Template:Weapon
|mode=userformat
|mode=userformat
|format=,<tr>,</tr>,
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|include={Quest¦QuestArcDPL}
|include={Weapon¦WeaponInfoCombineDPL}
|ordermethod=sortkey
}}{{#DPL:
|tablesortcol=1
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|debug=3
|uses=Template:Armor
|noresultsheader=None
|mode=userformat
}}</table>
|format=,<tr>,</tr>,
</div><div class="paragraph-header">Named End Rewards</div><div class="paragraph-body">{{#dpl: category=Loot|linksto={{ARTICLEPAGENAME}}|ordermethod=sortkey|noresultsheader=|noresultsheader={{#if: {{{loot|}}}|&nbsp;|None}}}}{{#if: {{{loot|}}}|{{{loot}}}}}</div>
|noresultsheader=&nbsp;
{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body">
|include={Armor¦WeaponInfoCombineDPL}
}}{{#DPL:
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|uses=Template:Shield
|mode=userformat
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|include={Shield¦WeaponInfoCombineDPL}
}}{{#DPL:
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|uses=Template:Item
|mode=userformat
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|include={Item¦WeaponInfoCombineDPL}
}}{{#DPL:
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|uses=Template:Wand
|mode=userformat
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|include={Wand¦WeaponInfoCombineDPL}
}}{{#DPL:
|category={{#if: {{{lootcategory|}}}|{{{lootcategory}}}|{{{title|none}}}}} Loot
|uses=Template:RuneArm
|mode=userformat
|format=,<tr>,</tr>,
|noresultsheader=&nbsp;
|include={RuneArm¦WeaponInfoCombineDPL}
}}</table>{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body">
{{{notes}}}
{{{notes}}}
</div>}}{{#if: {{{patchhistory|}}}|<div class="paragraph-header">Patch History</div><div class="paragraph-body">
</div>}}{{#if: {{{patchhistory|}}}|<div class="paragraph-header">Patch History</div><div class="paragraph-body">
{{{patchhistory}}}
{{{patchhistory}}}
</div>}}
</div>}}
</div>
</div>{{#ifeq: {{FULLPAGENAME}} |Template:StoryArc||[[Category: Story Arcs]]}}
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Story Arcs]]}}

Latest revision as of 21:53, 18 February 2023

{{Template:StoryArc
|title = 
|advpack = 
|update = 
|hlvl = 
|elvl = 
|llvl = 
|bestowed = 
|bestowed2 = 
|zone = 
|overview = 
|notes = 
|patchhistory = 
|links = 
}}

StoryArc[edit]

This template is used to render information about a story arc. Example of the Template in Use: The Lost Seekers.

Usage[edit]

Parameter Documentation
titleThe title of the story arc.
advpackThe adventure pack that in which this arc is a part. Use Template:PageLink if the page is not the same name as the title
updateWhich update this arc is part up
hlvlWhat is the level range of the heroic arc - leave blank if there isn't a heroic version..
elvlWhat is the level range of the epic arc - leave blank if there isn't an epic version.
llvlWhat is the level range of the legendary arc - leave blank if there isn't a legendary version.
bestowedWho bestows the arc, and gives the arc end rewards. Use Template:PageLink if the page is not the same name as the title
zoneThe public or wilderness area the arc is in. Use Template:PageLink if the page is not the same name as the title
overviewA textual overview of the arc.
notesAny notes about the arc.
patchhistoryAny changes in specific patches to the arc.
linksAny links to external sources. Use the template Template:ExternalLink.
lootcategoryEnter the name of the category (without Loot at the end) that has loot for this arc to override the default values.
bestowed2Who is the quest giver for the quest for the epic/legendary version if it is different than the heroic. Use Template:PageLink if the page is not the same name as the title
lootA buleted list of loot that drops that isn't specific to this quest (i.e. tomes)

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


Overview
{{{overview}}}
Quests
None
LvlEpQuestPatronAdventure Pack
Named End Rewards
None