Difference between revisions of "Template:Challenge"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| hlvl = | | hlvl = | ||
| elvl = | | elvl = | ||
| llvl = | |||
| bestowed = | | bestowed = | ||
| flavortext = | | flavortext = | ||
| zone = | | zone = | ||
| hexp = | | hexp = | ||
| eexp = | | eexp = | ||
| lexp = | |||
| favor = | | favor = | ||
| overview = | | overview = | ||
Line 23: | Line 25: | ||
| mapcount = | | mapcount = | ||
| links = | | links = | ||
| npccontact= | |||
| monsters = | |||
| loot= | |||
| mapname= | |||
}}</pre> | }}</pre> | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
Line 32: | Line 38: | ||
|parameter1description = The title of the challenge. | |parameter1description = The title of the challenge. | ||
|parameter2name = advpack | |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]] | |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 | |parameter3name = update | ||
|parameter3description = Which update was this challenge released in. | |parameter3description = Which update was this challenge released in. | ||
Line 41: | Line 47: | ||
|parameter6name = elvl | |parameter6name = elvl | ||
|parameter6description = What is the minimum epic normal level of the challenge - leave blank if there isn't an epic version. | |parameter6description = What is the minimum epic normal level of the challenge - leave blank if there isn't an epic version. | ||
|parameter7name = bestowed | |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> | ||
Line 78: | 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: {{{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|}}} | | {{#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: {{{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>}} | {{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}} | ||
</div> | </div> | ||
Line 96: | Line 112: | ||
{{{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|}}}| |None}}}}{{#if: {{{loot|}}}| | ||
<div class="paragraph-body">{{#dpl: category={{{ | {{{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 106: | Line 122: | ||
</div>}} | </div>}} | ||
<div class="paragraph-header">Monsters</div> | <div class="paragraph-header">Monsters</div> | ||
<div class="paragraph-body">{{#dpl: | <div class="paragraph-body">{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:NamedEnemy | |||
|ordermethod=sortkey|noresultsheader={{#if: {{{monsters|}}} | |None}}}}{{#if: {{{monsters|}}} | | |||
{{{monsters}}}}}</div> | |||
</div> | </div> | ||
</div> | </div> | ||
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Challenges]]|[[Category:Challenges without Update]]}} | {{#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 | |
title | The title of the challenge. |
advpack | 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. |
update | Which update was this challenge released in. |
dungeonname | Enter the name of the dungeon where this quest takes place. |
hlvl | What is the minimum heroic normal level of the challenge - leave blank if there isn't a heroic version.. |
elvl | What is the minimum epic normal level of the challenge - leave blank if there isn't an epic version. |
llvl | What is the minimum legendary normal level of the challenge - leave blank if there isn't an legendary version. |
bestowed | Who is gives access to the challenge. Use Template:PageLink if the page name does not match the article name. |
flavortext | Enter the DM text that is displayed in the chat or said when you enter the challenge. |
zone | The public area the challenge is in. Use Template:PageLink if the page name does not match the article name. |
hexp | Enter the range for the heroic experience. |
eexp | Enter the range for the epic experience. |
lexp | Enter the range for the legendary experience. |
favor | Enter the patron information about this challenge. Use Template:ChallengeFavor to format this correctly. |
overview | A textual overview of the challenge. |
timelimit | Enter the time limit imposed if there is one. |
starobjectives | Enter the objectives that give a star in the the challenge, one for each star. |
objectives | Enter other objectives for the challenge |
notes | Any notes about the challenge. |
patchhistory | Any changes in specific patches to the challenge. |
walkthrough | Use this to give a user a walkthrough on how to complete the challenge. |
mapcount | Specify how many maps. If this is blank, it will default to 1. The max you can have is 5. |
links | Any links to external sources. Use the template Template:ExternalLink. |
npccontact | 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. |
monsters | Enter a bulleted list of non-named monsters that are in the quest. Use Template:QuestMonster to populate. |
loot | A bulleted list of loot that drops that isn't specific to this challenge (i.e. tomes) |
mapname | The 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.