User talk:Relyk

From Guild Wars 2 Wiki
Jump to navigationJump to search


As regards easy tasks[edit]

"It would actually be easy..."

Please do, then? - Tanetris (talk) 19:47, 5 March 2017 (UTC)

Template:Base ingredients total[edit]

I changed the contained items in Improvement and Tactic Pack from a bullet list to a table with the crafting prices. These prices I got from your template {{Base ingredients total}}, everything worked fine (I actually needed some time to figure out that I need {{#Widget:TP prices total}}) until I noticed that sorting isn't working in the table. So am I using these template in the correct way, is there another template that does the same job or am I missing something? --Tolkyria (talk) 19:52, 30 June 2017 (UTC)

The table has no way to sort the output of {{tp total placeholder}}. The template isn't made for tables, you probably have to go up to the row level or table level to add the sort information. The total is calculated at [[Widget:TP prices total]] and the widget updates the sort value. Looks like Alex has the widget loop through 'tpprice' elements and update the elements with the total as the sort value. The {{tp total placeholder}} template only has 'tpwrapper' for the class so the widget can calculate total TP cost. You will need to check User:Chieftain Alex as he has a better idea on what the widget needs.
The best solution would be to update the sort values once all the 'tpwrapper' and 'tpprice' elements have been processed.--Relyk ~ talk < 01:54, 6 July 2017 (UTC)

Check your email plsss[edit]

thnx - Felix Omni 18:50, 9 October 2017 (UTC)

Dialogue Template Help[edit]

Hey Relyk. I came here to ask this question as I know you are quite knowledgeable about wiki. I'm working on developing a new format for meta events that is easier to follow, and therefore developing a template. I am wondering how the Template: Dialogue icon template works to automatically include vertical lines to visually connect dialogue options of the same level. I've tried using the exact same code from that template in a new template I made in my user space, and it doesn't automatically make those vertical lines. How is the dialogue icon template doing it? ~Mervil User Mervil Sig.png 00:22, 14 October 2017 (UTC)

It isn't related to the template in any way. There is a CSS style in MediaWiki:Common.css for the == Dialogue == section.
/* Dialogue indent guides, added by demarcateDialogue in MediaWiki:Common.js */
.dialogue dl dd {
  padding-left: 16px;
  margin-left: 0;
}
.dialogue dl {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-left: 11px;
  border-left: 2px solid rgba(110, 98, 74, 0.4);
}
.dialogue > dl, .dialogue td > dl {
  margin-bottom: 10px;
  border-left: none;
}
.dialogue dt {
  margin-left: -11px;
}
You can make your own with {{Custom CSS}}.--Relyk ~ talk < 00:01, 13 November 2017 (UTC)

Template fix[edit]

...because my computer broke just when it got brought up so I've been unable/relegated to mobile edits and basically it sucks editing via mobile: [[Gallery of outfits]]. Other than it not working right/stopping at 49 outfits, I think that things should be split up up by race as that page is getting too long. Can you look into it? - Doodleplex 17:41, 15 February 2018 (UTC)

NVM Alex fixed it. - Doodleplex 18:22, 15 February 2018 (UTC)

Properties for split skills/traits[edit]

Heya Relyk, over at my SVH template rework mini-project I'm not quite sure how to properly handle properties. Quick TL;DR of the project page: Instead of having separate pages for WvW and PvP versions, everything is kept on one page. While skill facts are easy to deal with, as they are saved as one complete package (and have their visibility toggled via another template), things like recharge time or thief initiative cost are a bit more complicated.
My current idea:

  • Always set the currently used properties (Property:Has recharge time, Property:Has initiative cost, ...) to the PvE value to keep compability for current templates
  • If split, set properties such as Has PvE recharge time, Has WvW recharge time and Has PvP recharge time
    • In addition, if a skill or trait is split, set a property called Has game mode split with the property content formatted like pve;wvw pvp or pve;wvw;pvp; game mode versions are separated by semicolons. That way, other templates that query for these properties can check for split properties (and I could create an overview page to list all split skills/traits, probably with the splitted fact included (like this, but automatically updated and moved to the main namespace).

I don't think this approach is the best solution to my problem, so I'm asking for your opinion - what are your thoughts on this? —Nefastu 20:58, 3 March 2018 (UTC)

Because we aren't creating a separate page for each version of the skill, you would create subobjects for each version of the skill. Will use all the same properties but have a "Property:Has game mode split" for differing versions. The main page would be for all game modes by default and be the PvE version if a split is specified.
If we start specifying versions, we can do a card layout for each version. Which I'm sure Alex would be more than happy to do.
We could do a separate property for each version, but that would make queries useless for skills because you couldn't do many queries without a lot of difficulty.--Relyk ~ talk < 22:40, 10 March 2018 (UTC)