Template talk:Legendary unlock text

From Guild Wars 2 Wiki
Jump to navigationJump to search

Thoughts on adding a property (or using dpl) and displaying this information all in one place on the Legendary Armory page? -Chieftain AlexUser Chieftain Alex sig.png 09:49, 18 July 2021 (UTC)

Legendary weapon/Lore looking good Tolkyria. -Chieftain AlexUser Chieftain Alex sig.png 11:40, 18 July 2021 (UTC)
I have already thought about storing the text in a property, but discarded it. Compared to an infobox we can't really ensure template uniqueness, sure we could use e.g. to check with {{#show: {{PAGENAME}}|?Has item rarity}} for the rarity legendary and thus for an actual legendary item, namespace check, etc.... Overall, I think a simple dpl check, mostly to obtain the wiki links as that's pretty much the only thing that changes in the text, is sufficient enough.
The following code does the job without any further complicate constructions:
<div style="max-width: 1999px;"> <!-- max 3 columns: 500px with margin -->
{{#arraymap:
<legendary items list>
|*|@@@|<div style="display:inline-block; margin: 1em 2em 0 0;">{{Legendary unlock text|pagename=@@@|{{#dpl:|title=@@@|include={Legendary unlock text}:1}}|height=6em}}</div>
|\n}}
</div>
I think the lore texts are more related to the legendary pages, so I prefer to add it to subpages of Legendary armor/weapon/back item/trinket than to the Legendary Armory.
While I already created Legendary weapon/Lore (edit conflict, as you already have seen) and also moved Frenzy (weapon) to Frenzy in order to simplify our life, I'm not sure how the armor section/page should look like? We have 3 PvE, 9 PvP and 6 WvW armors, all of them have 6 armor pieces sharing the same text. So should we display:
  • all of them, i.e. 108 boxes
  • only one of each set, e.g. head piece, i.e. 18 boxes
  • a generalized version of each set, i.e. 18 box (not sure how to generalize it and which icon to choose).
Using this template outside the overview page raises the question how to link it, which obviously aren't necessary on the individiual legendary item pages. The title should remain purple (class "rarity-legendary") to reflect the in-game style, so we can't really link it. Hence, the only option would be the icon, but I'm not sure if we need it though.
So yes, I like the idea of collecting the lore texts on an overview page. --Tolkyria (talk) 11:47, 18 July 2021 (UTC)
I gave the 108 boxes a try, see Legendary armor/Lore. With the different titles and icons, although the text repeats six times, it looks okay for me.
Hovever, I'm not sure how to link to those subpages from the rootpage yet. --Tolkyria (talk) 12:18, 18 July 2021 (UTC)
I was thinking chest pieces only. User:Chieftain Alex/sandbox4. -Chieftain AlexUser Chieftain Alex sig.png 12:24, 18 July 2021 (UTC)
This looks more decent than my excessive box usage; and for the Legendary back items/Legendary trinkets it would fit into the already existing tables: List of legendary back items/trinkets. I would just hardcode the armors pieces and introduce PvE, PvP and WvW subheaders to clearly group it. --Tolkyria (talk) 12:39, 18 July 2021 (UTC)
Sure. Or we could put it on the armory page, and stick a section with a {{Main}} on each of the legendary overview pages. -Chieftain AlexUser Chieftain Alex sig.png 12:44, 18 July 2021 (UTC)
For me the Legendary Armory is just the storage itself and doesn't really have to do anything with the lore text. It appears before or while the item goes into the Legendary Armory storage, but that's it.
Nevertheless, I guess having an accessible (visible links), compact (not my box spam, although on a subpage we might want to keep those offering some variety, if not just delete them) and properly grouped (e.g. armor: PvE, PvP, WvW; weapons: generation 1 vs generation 2) overview of all legendary lore texts is more important than its specific wiki location. Please, implement your idea! --Tolkyria (talk) 13:16, 18 July 2021 (UTC)
I wrote down your overview table idea but without smw (insufficient sort options imo), still collecting the lore text with dpl, see my sandbox. We can add this to Legendary Armory if you also agree on this approach.
Furthermore, I reduced the armor boxes at Legendary armor/Lore to 18, i.e. chest pieces only, it should be clearer now. --Tolkyria (talk) 15:27, 18 July 2021 (UTC)
That last table is A+. -Chieftain AlexUser Chieftain Alex sig.png 15:51, 18 July 2021 (UTC)