Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to build a reputation and unlock more editing privileges, and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template talk:QTL

From DDO wiki
Jump to: navigation, search

I'm almost back... Once I am back, I will spend some time revamping this template for Epic difficulties and Epic XP... Until then, please be patient. Big Grin ShoeMaker (Contributions Message) 11:18, September 24, 2012 (EDT)

Honestly I don't think this template needs any changes for epics, just add a new table and label it epic. Temp could use a simplified code so one does not have to deal with new lines and aliment but, which I could do. Really could use a new item template that covers 6 same name items like those of druid deep on one page. Bladedge (ContributionsMessage) 13:23, September 24, 2012 (EDT)
I was thinking along the lines of...
Quest Name Quest Level Total Favor Patron  ♣CasualIcon tooltip.pngSolo/Casual  ♦NormalIcon tooltip.pngNormal  ♥HardIcon tooltip.pngHard  ♠EliteIcon tooltip.pngElite Epic?
Quest 1 3 7 Patron  ♣500Icon tooltip.pngSolo/Casual
 ♣750Icon tooltip.pngEpic Casual
 ♦1,000Icon tooltip.pngNormal
 ♦1,500Icon tooltip.pngEpic Normal
 ♥1,250Icon tooltip.pngHard
 ♥1,875Icon tooltip.pngEpic Hard
 ♠1,500Icon tooltip.pngElite
 ♠2,250Icon tooltip.pngEpic Elite
Yes
Quest 2 3 7 Patron
♣750
♦1,500
♥1,875
♠2,250
No
Quest 3 3 7 Patron  ♣1,000Icon tooltip.pngSolo/Casual
 ♣1,500Icon tooltip.pngEpic Casual
 ♦2,000Icon tooltip.pngNormal
 ♦3,000Icon tooltip.pngEpic Normal
 ♥2,500Icon tooltip.pngHard
 ♥3,750Icon tooltip.pngEpic Hard
 ♠3,000Icon tooltip.pngElite
 ♠4,500Icon tooltip.pngEpic Elite
Yes
Quest 4 3 7 Patron
♣2,000
♦4,000
♥5,000
♠6,000
No
Total 4 28  ♣4,250Icon tooltip.pngSolo/Casual
 ♣2,250Icon tooltip.pngEpic Casual
 ♦8,500Icon tooltip.pngNormal
 ♦4,500Icon tooltip.pngEpic Normal
 ♥10,625Icon tooltip.pngHard
 ♥5,625Icon tooltip.pngEpic Hard
 ♠12,750Icon tooltip.pngElite
 ♠6,750Icon tooltip.pngEpic Elite
 ●36,125Icon tooltip.pngEpic
 ●●19,125Icon tooltip.pngEpic

...for an output. -- ShoeMaker (Contributions Message) 13:47, September 24, 2012 (EDT)

I thought about a number of ways, on same line w/ & w/o (), second line, using rowspan, etc. Then there is the users who would be trying to break down the information on whats be shown with a dozen numbers with yes, no. And just decided here be the heroic table and there epic table with out all the extras that weren't being looked for and keep it clean and neat. Bladedge (ContributionsMessage) 15:24, September 24, 2012 (EDT)
I also was considering some kind of mouse-over possible method. I really think it is easier and looks neater all on one page. Just my personal opinion though... ShoeMaker (Contributions Message) 16:08, September 24, 2012 (EDT) (Posted from my BlackBerry Curve 9330)

Epics[edit]

I think it is time to revisit this idea. I know have a manageable grasp on how DPL works mostly, and these tables need a major overhaul. I'm thinking that they should be flat out converted to a phantom template and a DPL call template. Before I start working on that though... Do we want it to be all inline or do we want it split over two lines? I think that doing it as two lines would look less cluttered, but it would make the table less functional by messing with sortability (it could still be done, but would require a lot more hidden magic; which can be a pain). Alternatively, it can be done all on one line, which is fine for people with wide screens, but gets really hard to read for people without. I need some feedback here, and am willing to put together some mockups and take screenshots at various resolutions to see what they look like. Let me know. ShoeMaker (Contributions Message) 09:11, August 10, 2015 (EDT)

  • This has been sitting here as a C:PPoIs for well over a year and I've gotten no feedback at all... I'm going to try it as a single line first because functionality is more important to me than aesthetics. We can go from there later. DDOstream (ContribsMessage) 08:54, January 17, 2017 (EST)
  • Note: I actually started working on this on stream today!
    Change list:
    • Epic column gone
    • Epic values now accepted as parameters:
      |10 = epic/legendary solo\casual
      |11 = epic/legendary normal
      |12 = epic/legendary hard
      |13 = epic/legendary elite
    To be done still:
    • Make XP columns sortable again with a data-sort-value
    • Change order of columns to be | Quest Name | Level | Solo | Norm | Hard | Elite | Patron | Favor |
      Use total row for | Total | # of quests | Solo XP | Norm XP | Hard XP | Elite XP | Total XP | Total Favor |
    • Set up DPL template and use this as part of phantom for it
See EXAMPLES section of template for current appearance. DDOstream (ContribsMessage) 09:52, October 3, 2017 (EDT)

Is there any way to make this template not display the "Unavailable" msg for quests that have no epic version? For example, the table on The Catacombs has "Unavailable" with the red bar printed 32 times which makes the table ugly and much larger than needed. I'm sorry if this is just a work in progress...I don't mean to put undue pressure on. Kkoliver (ContribsMessage) 05:47, January 4, 2018 (EST)

Complete template rework for DPL and versatility[edit]

I've been working hard on my project to make a template for quest tables and I think it's coming along nicely. But let me explain all my thought process from the beginning:

Initial thoughts[edit]

One day I was checking out Favor to see the max favor currently achievable. It hasn't been updated in a while (even though some parts of it mention the latest update) and the numbers don't add up. So, I went to the patron pages instead to see if they listed the correct favor. Each patron page has a different layout and they as well don't have the correct favor.

So with all the DPL tables that existed already for monsters, I thought that it should be entirely possible to calculate max favor using DPL. I started looking into details and my immediate thoughts were that if I had a dynamic table with the quests and their info, it shouldn't be that hard to add columns afterwards. Turns out I was wrong and DPL does not offer any column sums with its table format, but I started working on creating a table of quests similar to The Twelve#Quests since it was the format I liked the most.

Progress[edit]

While I was working and facing the difficulties of getting quest pages to cooperate with what info I was trying to gather, the programmer inside me thought that this DPL table should be parameterized to accomodate more quest listings than just the Category:Patron factions pages. So it became a template using templates. Of course parameterization has its limits (when the parameters needed to do some work exceed the volume of code produced, you should just do what you want explicitly), so it's hard to balance how general of a template it should be.

It's now at the point where there is a template with a simple DPL call (that can be used for more than just quests) and a phantom template that does ALL the work but I'm currently breaking that template into pieces so an editor can assemble them and do exactly what he wants using existing code. There's also a balance there between how abstract the template is (easier to understand) and how much code you need to write to make it work (as well as how much documentation you need to read).

Update: Since the last time I posted, there has been some significant progress. The phantom template (the one that decides how to present the data) is now using a meta template that calculates all the possible table cells and the phantom chooses which cells to display. This means that it's much easier to customize which columns are being shown and how should an editor wish to create a new phantom template. I've also encountered a problem with quests having epic counterparts in a different page. See the talk here: Talk:Different quests that share favor I didn't get much feedback on that, so I chose the 1st version and resolved the issue.

All in all, I'm not entirely sure I've thought of all the problems but it's a big project and I can't think everything alone. So I will start slowly copying the templates to the main namespace and apply them once I've resolved some last technical issues and do some polishing. If anyone cares to have a look at the project and share thoughts/opinions/bugs, speak up below. In any case, I expect people will start responding once the templates are applied and not before. Faltout (ContribsMessage) 18:37, April 17, 2018 (EDT)

Update2: I don't remember what changes I have made since my last update. There are a lot. I have moved the templates in public space and written some documentation for each one. Also made a new {{Patron}} template that will use the quest listing. I've applied the patron template to Agents of Argonnessen. I still haven't gotten any objections to the quest table layout so I will be applying the patron template to more patrons as I fix the NPC pages to display correctly.

As for the rest of the pages that use quest tables, I will get to them as well. However, there are some changes to the {{Quest}} template pending to allow quest listing by adventure pack or by location. Faltout (ContribsMessage) 16:34, May 16, 2018 (EDT)

Details[edit]

Feedback[edit]

As the templates are nearing completion, I would like some feedback:

  • What is the desired format for each page that needs a quest table? Obviously, patron pages don't need to have patron info and level pages don't need to have the quest level info.
  • Are there any edge cases I need to watch out for? I'm going through all the quests by level to test and quests like Devil Assault (quest) presented some problems that required code modification.
  • Are the templates usable by the average wiki editor? I'm trying to have a full documentation and make the template interface as easy as possible.
  • Is the template code humanly readable? Any coding standards I should employ? I won't be around forever to maintain the templates and we already have too many templates that can't even be read by their creator. Also, code structure helps spot and eliminate bugs.
  • Any features I could add or make space for future addition? I thought about having the loading screen of a quest pop-up when you hover over the quest name. Then thought it may obstruct table view and decided against it.
  • Any other comments?

In my User:Faltout/SandBox#Template tests you will find at least one application of the template at any given time. However, I'm changing them quite frequently to test more quests and debug so I'm leaving an example below. Hope to see some feedback :) Faltout (ContribsMessage) 14:16, March 26, 2018 (EDT)

Replies[edit]

Leave your reply here:

I never delved into DPL, looks complicated. I do like the result though. In general, these aren't templates that an average Joe has to use; it seems like once the pages are set up, all is going to work automatically. When a new adventure pack or patron is introduced, I assume that even the average Joe would be able to copy the short DPL call and replace category name in it.

Anyway, if this works, it will eliminate quite a lot of tedious editing and math to update the zillion articles about quest by XY. And standardized look is also nice to have. So thanks! -- Cru121 (ContribsMessage) 01:12, March 27, 2018 (EDT)

Examples[edit]

Example #1:

{{DPL category table
  | template = Template:Quest
  | categories = The Twelve patron quests
  | phantom = Patron quest table row
  | notcategories = History
}}
Quest name Level Max favor Adventure pack Acquired in Bestowed by  ♣CasualIcon tooltip.pngSolo/Casual  ♦NormalIcon tooltip.pngNormal  ♥HardIcon tooltip.pngHard  ♠EliteIcon tooltip.pngElite Epic
18 27 The Vale of Twilight The Marketplace Delvarrion Iravati
-
8200
-
8500
-
8800
-
No
15 18 Free The Twelve Magus Littleton 2378
-
4132
-
4300
-
4467
-
No
17 21 Reign of Madness The Twelve Rorry Malcanus 3485
-
6036
-
6265
-
6493
-
No
6 / 21 15 White Plume Mountain and Other Tales The Twelve Bimbog Jabyt 1773
10287
3160
17727
3364
18308
3976
18889
Both
15 / 31 18 The Vale of Twilight Meridia Trull Knopper 3254
15607
5655
26672
5886
27331
6118
27991
Both
18 / 26 21 Heart of Madness The Twelve Kier d'Phiarlan 2971
11023
5139
18904
5326
19436
5513
19968
Both
18 27 The Vale of Twilight The Marketplace Brunaccio Patroclus
-
8200
-
8500
-
8800
-
No
6 / 21 12 White Plume Mountain and Other Tales The Twelve Unknown 1723
9989
3070
17214
3268
17778
3466
18342
Both
32 36 Free The Marketplace Niara Tonant -
-
35340
-
36194
-
37050
Yes
16 24 The Vale of Twilight The Vale of Twilight Walk-up 3900
-
6766
-
7033
-
7299
-
No
6 / 23 12 White Plume Mountain and Other Tales The Twelve Tara Fenwyth 1723
10666
3070
18342
3268
18906
3466
19471
Both
18 / 26 21 Heart of Madness The Twelve Housewarming Invitation 3263
12109
5644
20767
5849
21352
6054
21937
Both
16 24 The Vale of Twilight The Vale of Twilight Walk-up 4860
-
8433
-
8766
-
9099
-
No
16 24 The Vale of Twilight The Vale of Twilight Walk-up 4284
-
7433
-
7726
-
8020
-
No
16 24 The Vale of Twilight The Vale of Twilight Walk-up 3924
-
7099
-
7379
-
7659
-
No
18 / 26 21 Heart of Madness The Twelve Verona Jethro 4677
17380
8092
29810
8388
30654
8684
31498
Both
16 24 The Vale of Twilight The Vale of Twilight Walk-up 5359
-
9300
-
9688
-
10036
-
No
17 21 Reign of Madness The Tower of the Twelve Elawyn Thwr 3792
-
6570
-
6819
-
7067
-
No
17 18 Reign of Madness The Tower of the Twelve Krannoch Flamehand 3142
-
5443
-
5648
-
5854
-
No
6 / 25 15 White Plume Mountain and Other Tales The Twelve Dorris 2277
15068
4060
25866
4324
26619
4588
27371
Both
17 21 Reign of Madness The Tower of the Twelve Horace Neble 3110
-
5386
-
5590
-
5793
-
No
17 33 The Vale of Twilight Meridia Aaseamah Screven
-
11540
-
11980
-
12420
-
No
19 18 The Devils of Shavarath Amrath Mystichaze Shastien 3723
-
6432
-
6658
-
6885
-
No
19 18 The Devils of Shavarath Amrath Gustor Miles 1486
-
2566
-
2654
-
2742
-
No
Total 24
Quests
513
Total favor
2
Free
9
Epic

Example #2:

{{DPL category table
  | template = Template:Quest
  | categories = Three-Barrel Cove quests
  | phantom = Patron quest table row
  | notcategories = History
}}
Quest name Level Max favor Adventure pack Acquired in Bestowed by  ♣CasualIcon tooltip.pngSolo/Casual  ♦NormalIcon tooltip.pngNormal  ♥HardIcon tooltip.pngHard  ♠EliteIcon tooltip.pngElite Epic
25 12
(shared)
Three-Barrel Cove Three-Barrel Cove Unknown -
14617
-
25091
-
25821
-
26550
Both
5 9 Three-Barrel Cove Three-Barrel Cove Unknown 1230
-
2200
-
2350
-
2500
-
No
5 12
(shared)
Three-Barrel Cove Three-Barrel Cove Unknown 1620
-
2900
-
3100
-
3300
-
Both
25 12
(shared)
Three-Barrel Cove Three-Barrel Cove Marteen Worley -
11457
-
19665
-
20235
-
20805
Both
5 9 Three-Barrel Cove Three-Barrel Cove Lars Riflee 709
-
1266
-
1349
-
1433
-
No
7 15
(shared)
Three-Barrel Cove Three-Barrel Cove Unknown 1908
-
3385
-
3590
-
3796
-
Both
(heroic: Old Grey Garl)
25 15
(shared)
Three-Barrel Cove Three-Barrel Cove Unknown -
11575
-
20181
-
20767
-
21352
Both
25 21 Three-Barrel Cove Three-Barrel Cove Unknown -
11231
-
19277
-
19836
-
20394
Yes
5 12
(shared)
Three-Barrel Cove Three-Barrel Cove Unknown 1723
-
3086
-
3300
-
3513
-
Both
25 12
(shared)
Three-Barrel Cove Three-Barrel Cove Dirty Vingus -
12209
-
20957
-
21564
-
22173
Both
5 12
(shared)
Three-Barrel Cove Three-Barrel Cove Laurent Chastel 2056
-
3684
-
3940
-
4196
-
Both
7 12 Three-Barrel Cove Three-Barrel Cove Unknown 1500
-
2600
-
2820
-
2980
-
No
5 12 Three-Barrel Cove Three-Barrel Cove Unknown 2140
-
3833
-
4100
-
4366
-
No
6 12 Three-Barrel Cove Three-Barrel Cove Red Tom 1320
-
2350
-
2500
-
2650
-
No
Total 14
Quests
126
Total favor
0
Free
5
Epic

Quest Grouping[edit]

There has been some discussion on Talk:Masterminds_of_Sharn about adding an optional column for a quest index - for example MoS has two series of quests and numbering them 1.1-1.5 and 2.1-2.4. I think this might be a good addition if its easy to do (ie adding a column for the index, suppressing the column if the field doesn't exists). This should probably allow grouping or splitting the table (MoS would be arc 1, arc 2 and cog) but I think this is overly challenging given the many different types of quest groupings. Thoughts??? Christopher G Lewis (ContribsMessage) 09:54, June 1, 2019 (EDT)