Difference between revisions of "Template:Challenge"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(32 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre> | <pre> | ||
{{Challenge | {{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= | |||
}}</pre> | }}</pre> | ||
{{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> | ||
<div> | |||
<div class="quest"> | |||
<div class="box outer-box"> | |||
<div class="box inner-box"> | |||
{{#if: {{{advpack|}}}|'''Pack:''' {{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}} | |||
<div class=" | |||
<div class=" | |||
< | |||
''' | |||
</div> | </div> | ||
<div class=" | <div class="box inner-box">{{QuestMaps|{{#if: {{{mapname|}}}|{{{mapname}}}|{{{title}}}}}|{{{mapcount|1}}}}}</div> | ||
''' | <div class="box inner-box"> | ||
< | {{#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>}} | ||
''' | {{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}} | ||
< | |||
''' | |||
</div> | </div> | ||
<div class=" | {{#if: {{{flavortext|}}} |<div class="flavor-text paragraph-body">{{{flavortext}}}</div>}} | ||
<div class="paragraph-header">Overview</div> | |||
< | <div class="paragraph-body">{{{overview}}}</div> | ||
{{#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}}} | |||
</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|}}}| | |||
{{{loot}}}}}</div> | |||
{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body"> | |||
{{{notes}}} | |||
</div>}}{{#if: {{{patchhistory|}}}|<div class="paragraph-header">Patch History</div><div class="paragraph-body"> | |||
{{{patchhistory}}} | |||
</div>}}{{#if: {{{walkthrough|}}}|<div class="paragraph-header">Walkthrough</div><div class="paragraph-body"> | |||
{{{walkthrough}}} | |||
</div>}} | |||
<div class="paragraph-header">Monsters</div> | |||
<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: {{{hlvl|}}} |[[Category:Heroic Challenges]]}}{{#if: {{{elvl|}}} |[[Category:Epic Challenges]]}}[[Category:Challenges]] | |||
{{{ | |||
{{ | |||
[[ | |||
[[ | |||
{{ | |||
{{{ | |||
[[Category: |
Latest revision as of 13:56, 7 January 2025
{{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.