Difference between revisions of "Template:Challenge"

From DDO Compendium
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== About ==
The basic template for challenges in DDO.
== Usage ==
<pre>
<pre>
{{Challenge
{{Challenge
| title = <The title of the challenge>
| title =  
| flavortext = <Some text said or written by the DM at the beginning of the challenge>
| advpack =
| overview = <Simple quest overview>
| update =  
| hlvl = <The minimum heroic level as displayed in the Adventure Compendium>
| dungeonname =  
| elvl = <The minimum epic level as displayed in the Adventure Compendium>
| hlvl =  
| hexp = <Heroic Casual XP>
| elvl =  
| eexp = <Heroic Casual XP>
| llvl =
| zone = <Public zone of the quest entrance>
| bestowed =
| advpack = <Required adventure pack, default is Free To Play>
| flavortext =
| dungeonname = <Name of the dungeon instance>
| zone =
| bestowed = <NPC that bestows the challenge>
| hexp =  
| patron = <Patron name>
| eexp =
| timelimit = <The timelimit if there is one>
| lexp =
| walkthrough = <Detailed walkthrough of quest with all optionals>
| favor =
| mapcount = <Number of maps to show (default is 1, at most it is 5)>
| overview =  
| links = use template:ExternalLink for this
| timelimit =  
| notes = <Any and all relevant notes>
| objectives =  
| patchhistory = <Information on all patches that have happened>
| starobjectives =  
| objectives = <What to do for each star>
| notes =  
| update = <Which update this was first added to the game>
| patchhistory =  
| walkthrough =  
| mapcount =  
| links =  
| npccontact=
| monsters =  
| loot=
| mapname=
}}</pre>
}}</pre>
== The Template ==
{{TemplateDocumentation
|name = Challenge
|description = This template is used to render information about a challenge. Example of the Template in Use: [[Lava Caves: Circles of Power]].
|category=Quest and Area Templates
|usesnamedparameters = true
|parameter1name = title
|parameter1description = The title of the challenge.
|parameter2name = advpack
|parameter2description = The adventure pack that in which this challenge is a part. Leave blank if it is Free to Play. Use [[Template:PageLink]] if the page name does not match the article name.
|parameter3name = update
|parameter3description = Which update was this challenge released in.
|parameter4name = dungeonname
|parameter4description = Enter the name of the dungeon where this quest takes place.
|parameter5name = hlvl
|parameter5description = What is the minimum heroic normal level of the challenge - leave blank if there isn't a heroic version..
|parameter6name = elvl
|parameter6description = What is the minimum epic normal level of the challenge - leave blank if there isn't an epic version.
|parameter7name = llvl
|parameter7description = What is the minimum legendary normal level of the challenge - leave blank if there isn't an legendary version.
|parameter8name = bestowed
|parameter8description = Who is gives access to the challenge. Use [[Template:PageLink]] if the page name does not match the article name.
|parameter9name = flavortext
|parameter9description = Enter the DM text that is displayed in the chat or said when you enter the challenge.
|parameter10name = zone
|parameter10description = The public area the challenge is in. Use [[Template:PageLink]] if the page name does not match the article name.
|parameter11name = hexp
|parameter11description = Enter the range for the heroic experience.
|parameter12name = eexp
|parameter12description = Enter the range for the epic experience.
|parameter13name = lexp
|parameter13description = Enter the range for the legendary experience.
|parameter14name = favor
|parameter14description = Enter the patron information about this challenge.  Use [[Template:ChallengeFavor]] to format this correctly.
|parameter15name = overview
|parameter15description = A textual overview of the challenge.
|parameter16name = timelimit
|parameter16description = Enter the time limit imposed if there is one.
|parameter17name = starobjectives
|parameter17description = Enter the objectives that give a star in the the challenge, one for each star.
|parameter18name = objectives
|parameter18description = Enter other objectives for the challenge
|parameter19name = notes
|parameter19description = Any notes about the challenge.
|parameter20name = patchhistory
|parameter20description = Any changes in specific patches to the challenge.
|parameter21name = walkthrough
|parameter21description = Use this to give a user a walkthrough on how to complete the challenge.
|parameter22name = mapcount
|parameter22description = Specify how many maps.  If this is blank, it will default to 1.  The max you can have is 5.
|parameter23name = links
|parameter23description = Any links to external sources.  Use the template [[Template:ExternalLink]].
|parameter24name = npccontact
|parameter24description = The NPC you get rewards from if this is a walkup (i.e. there is no bestower).  Use [[Template:PageLink]] if the page name does not match the article name.
|parameter25name = monsters
|parameter25description = Enter a bulleted list of non-named monsters that are in the quest.  Use [[Template:QuestMonster]] to populate.
|parameter26name = loot
|parameter26description = A bulleted list of loot that drops that isn't specific to this challenge (i.e. tomes)
|parameter27name = mapname
|parameter27description = The prefix names of the map instead of the title incase the same maps are in more than one quest.
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
Line 34: Line 96:
<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>}}{{#if: {{{arc|}}} |'''Arc:''' [[{{{arc|}}}]]}}
{{#if: {{{advpack|}}}|'''Pack:''' {{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}}
</div>
</div>
<div class="box inner-box">{{QuestMaps|{{{title}}}|{{{mapcount|1}}}}}</div>
<div class="box inner-box">{{QuestMaps|{{#if: {{{mapname|}}}|{{{mapname}}}|{{{title}}}}}|{{{mapcount|1}}}}}</div>
<div class="box inner-box">
<div class="box inner-box">
{{#if: {{{hlvl|}}} |[[Category:Level {{{hlvl}}} Quests]]'''Heroic Level:''' {{{hlvl}}}<br>}}{{#if: {{{elvl|}}} |[[Category:Level {{{elvl}}} Quests]]'''Epic Level:''' {{{elvl}}}<br>}}{{#if: {{{bestowed|}}} |'''Bestowed by:''' [[{{{bestowed}}}]]<br>}}{{#if: {{{zone|}}} |[[Category: Quests Found In {{{zone}}}]]'''Found in:''' [[{{{zone}}}]]<br>}}{{#if: {{{dungeonname|}}} |'''Takes Place in:''' [[{{{dungeonname}}}]]<br>}}{{#if: {{{timelimit|}}} |'''Time Limit:''' [[{{{timelimit}}}]]<br>}}
{{#if: {{{hlvl|}}} |'''Heroic Level:''' {{{hlvl}}}<br>}}{{#if: {{{elvl|}}} |'''Epic Level:''' {{{elvl}}}<br>}}{{#if: {{{llvl|}}} |'''Legendary Level:''' {{{llvl}}}<br>}}{{#if: {{{bestowed|}}} |'''Bestowed by:''' {{RenderLink|{{{bestowed}}}}}|'''Walkup'''{{#if:{{{npccontact|}}}|<br>'''NPC Contact:''' {{RenderLink|{{{npccontact}}}}}}}}}<br>{{#if: {{{zone|}}} |'''Found in:''' {{RenderLink|{{{zone}}}}}<br>}}{{#if: {{{dungeonname|}}} |'''Takes Place in:''' {{{dungeonname}}}<br>}}{{#if: {{{timelimit|}}} |'''Time Limit:''' {{{timelimit}}} Minutes<br>}}{{#if: {{{hexp|}}} |'''Heroic XP:''' {{{hexp}}}<br>}}{{#if: {{{eexp|}}} |'''Epic XP:''' {{{eexp}}}<br>}}{{#if: {{{lexp|}}} |'''Legendary XP:''' {{{lexp}}}<br>}}</div>{{#if: {{{favor|}}} |<div class="box inner-box"><span class="box-header">'''Favor'''</span><br>{{{favor}}}</div>}}
</div>
{{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}}
{{#if: {{{hlvl|}}} |<div class="box inner-box"><span class="box-header">'''Heroic XP'''</span><br>{{{hexp}}}</div>}}{{#if: {{{elvl|}}} |<div class="box inner-box"><span class="box-header">'''Epic XP'''</span><br>{{{eexp}}}</div>}}{{#if: {{{favor|}}} |<div class="box inner-box"><span class="box-header">'''Favor'''</span><br>{{{favor}}}</div>}}{{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}}
</div>
</div>
{{#if: {{{flavortext|}}} |<div class="flavor-text paragraph-body">{{{flavortext}}}</div>}}
{{#if: {{{flavortext|}}} |<div class="flavor-text paragraph-body">{{{flavortext}}}</div>}}
<div class="paragraph-header">Overview</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-body">{{{overview}}}</div>
{{#if: {{{objectives|}}}|<div class="paragraph-header">Objectives</div><div class="paragraph-body">
{{#if: {{{starobjectives|}}}|<div class="paragraph-header">Star Objectives</div><div class="paragraph-body">
{{{starobjectives}}}
</div>}}
{{#if: {{{objectives|}}}|<div class="paragraph-header">Other Objectives</div><div class="paragraph-body">
{{{objectives}}}
{{{objectives}}}
</div>}}
</div>}}
<div class="paragraph-header">Named Loot</div>
<div class="paragraph-header">Named Loot</div><div class="paragraph-body">{{#dpl: category=Loot|linksto={{ARTICLEPAGENAME}}|ordermethod=sortkey|noresultsheader={{#if: {{{loot|}}}|&nbsp;|None}}}}{{#if: {{{loot|}}}|
<div class="paragraph-body">{{#dpl: category={{{title}}} loot|noresultsheader=None}}</div>
{{{loot}}}}}</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}}}
Line 57: Line 121:
{{{walkthrough}}}
{{{walkthrough}}}
</div>}}
</div>}}
</div>}}
<div class="paragraph-header">Monsters</div>
<div class="paragraph-body">{{#dpl:
|linksto={{ARTICLEPAGENAME}}
|uses=Template:NamedEnemy
|ordermethod=sortkey|noresultsheader={{#if: {{{monsters|}}} |&nbsp;|None}}}}{{#if: {{{monsters|}}} |
{{{monsters}}}}}</div>
</div>
</div>
</div>
</div>
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Quests]]}}
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Challenges]]|[[Category:Challenges without Update]]}}{{#if: {{{hlvl|}}} |[[Category:Heroic Challenges]]}}{{#if: {{{elvl|}}} |[[Category:Epic Challenges]]}}

Latest revision as of 14:08, 24 February 2023

{{Challenge
| title = 
| advpack = 
| update = 
| dungeonname = 
| hlvl = 
| elvl = 
| llvl =
| bestowed = 
| flavortext = 
| zone = 
| hexp = 
| eexp =
| lexp = 
| favor = 
| overview = 
| timelimit = 
| objectives = 
| starobjectives = 
| notes = 
| patchhistory = 
| walkthrough = 
| mapcount = 
| links = 
| npccontact=
| monsters = 
| loot=
| mapname=
}}

Challenge[edit]

This template is used to render information about a challenge. Example of the Template in Use: Lava Caves: Circles of Power.

Usage[edit]

Parameter Documentation
titleThe title of the challenge.
advpackThe adventure pack that in which this challenge is a part. Leave blank if it is Free to Play. Use Template:PageLink if the page name does not match the article name.
updateWhich update was this challenge released in.
dungeonnameEnter the name of the dungeon where this quest takes place.
hlvlWhat is the minimum heroic normal level of the challenge - leave blank if there isn't a heroic version..
elvlWhat is the minimum epic normal level of the challenge - leave blank if there isn't an epic version.
llvlWhat is the minimum legendary normal level of the challenge - leave blank if there isn't an legendary version.
bestowedWho is gives access to the challenge. Use Template:PageLink if the page name does not match the article name.
flavortextEnter the DM text that is displayed in the chat or said when you enter the challenge.
zoneThe public area the challenge is in. Use Template:PageLink if the page name does not match the article name.
hexpEnter the range for the heroic experience.
eexpEnter the range for the epic experience.
lexpEnter the range for the legendary experience.
favorEnter the patron information about this challenge. Use Template:ChallengeFavor to format this correctly.
overviewA textual overview of the challenge.
timelimitEnter the time limit imposed if there is one.
starobjectivesEnter the objectives that give a star in the the challenge, one for each star.
objectivesEnter other objectives for the challenge
notesAny notes about the challenge.
patchhistoryAny changes in specific patches to the challenge.
walkthroughUse this to give a user a walkthrough on how to complete the challenge.
mapcountSpecify how many maps. If this is blank, it will default to 1. The max you can have is 5.
linksAny links to external sources. Use the template Template:ExternalLink.
npccontactThe NPC you get rewards from if this is a walkup (i.e. there is no bestower). Use Template:PageLink if the page name does not match the article name.
monstersEnter a bulleted list of non-named monsters that are in the quest. Use Template:QuestMonster to populate.
lootA bulleted list of loot that drops that isn't specific to this challenge (i.e. tomes)
mapnameThe prefix names of the map instead of the title incase the same maps are in more than one quest.

Template

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