User talk:Chieftain Alex/Archive 3

From Guild Wars 2 Wiki
Jump to navigationJump to search

Drop rate probability table[edit]

It might be worth the effort to make a simple drop table for researching single events like Continue Coin/drop rate and bonuses on the Daily. I already mentioned adding a "trials" column to SDR, but it would be too much a hassle.--Relyk ~ talk > 00:46, 28 March 2013 (UTC)

Hmm so you want something where the row total is the number of trials rather than the sum of the inputs?.. along the lines of
Chests opened Coins received Signature
User entries
3 2 Relyk
80 1 Unlucky steve
Totals
83 3
3.6%
I'm not sure whether its worth templating that. The coin bonuses on Daily need something totally different (boxplots about data ranges..) p.s. I've got 24 hours before I go visiting my parents for a week + then I'm back to work, so I have max 3 hours to do this within the next week :p -Chieftain AlexUser Chieftain Alex sig.png 01:53, 28 March 2013 (UTC)
I think we're fine with using SDRH for the tables.--Relyk ~ talk > 02:18, 9 April 2013 (UTC)

Name Change Contract[edit]

Good thinking with that image I uploaded! I thought to do something like that but I wasn't sure what to put so I just left it blank. I'm pleased with your help! RavenOfLocksley 23:22, 28 March 2013 (UTC)

Ah no problem! I saw your first version and thought I could do something similar to what we did on the guild wars 1 wiki, i.e. gww:File:Current character selection screen (March 2011).jpg. -Chieftain AlexUser Chieftain Alex sig.png 23:29, 28 March 2013 (UTC)

More .js problems![edit]

function addCAdelete() {
  addPortletLink ('p-navigation', '/index.php?title=' + wgPageName + '&action=delete', 'Delete orphaned image', 'n-deletenow', 'Instantly delete current page', '');
  var summary = 'Orphaned image / replaced';
  document.getElementById('wpReason').value = summary; 
  document.getElementById('mw-filedelete-submit').submit(); //this is the line that doesn't work.
 }
addOnloadHook(addCAdelete);

I'm trying to create a lazy click once to delete page option (yeah for gw1.. konig trolling me with hundreds of delete tags). (for those of you unfamiliar with the Delete page it first needs you to pick an option from the Reason list, and then you click submit.) I can fill the reason in ok, its just the "click on submit button bit" that I'm stuck on. any ideas very much appreciated. (idea 1: block konig..) Chieftain AlexUser Chieftain Alex sig.png 22:42, 8 April 2013 (UTC)

.submit() event refers to a whole form, not a single button. to click on a button, you should instead use .click(). If I get what you've done and expected... MalGalad 22:46, 8 April 2013 (UTC)
(Edit conflict) .submit() is a form action, not a button action: form.submit. —Dr Ishmael User Dr ishmael Diablo the chicken.png 22:48, 8 April 2013 (UTC)
You guys are awesome. thanks! (I hate trying to bodge .js but its useful...) -Chieftain AlexUser Chieftain Alex sig.png 23:03, 8 April 2013 (UTC)


Also, take this.
User Chieftain Alex barnstar chicken.png Awesome award!
You guys are both awesome.
Chieftain AlexUser Chieftain Alex sig.png 23:27, 8 April 2013 (UTC)

unsigned[edit]

can you get the subst: trick to evaluate the ifexist statement before subst: the template in?--Relyk ~ talk > 03:40, 10 April 2013 (UTC)

I expect not, but I'll have a look at it. -Chieftain AlexUser Chieftain Alex sig.png 07:44, 10 April 2013 (UTC)
testing
{{subst:User:Chieftain Alex/sandbox4|Chieftain Alex|08:44, 10 April 2013}}
testing The preceding unsigned comment was added by Chieftain Alex (talkcontribs) at 08:44, 10 April 2013 (UTC).
Unfortunately it now breaks on pages which haven't substituted it :/ bot run? -Chieftain AlexUser Chieftain Alex sig.png 08:03, 10 April 2013 (UTC)
No getting past that.--Relyk ~ talk > 08:31, 10 April 2013 (UTC)
Why did we make this change? It's now harder to use and we can't change the unsigned text should we want to. User Kirbman signature.png talk 20:54, 28 May 2013 (UTC)
The change I made a) removed an ifexist statement from being inserted into the page every time it was substed b) forces users to subst the template (unintentional but template should really be subst'd anyway). What do you mean by "change" the unsigned text? (if you type it incorrectly and submit it and then need to change it?) -Chieftain AlexUser Chieftain Alex sig.png 22:40, 28 May 2013 (UTC)

Icons for items[edit]

How are you finding the icons for these items? Is there a page that has them all that you can search through or are you just doing this from memory/extract? (wanting to know so I can more easily add them) Vahkris 15:34, 10 April 2013 (UTC)

Well I've got all dr ishmael's icons sorted into folders (about 10 or so) + I look up the icon on gw2db, pray its correct, and pick the corresponding 64x64px icon from my folders. -Chieftain AlexUser Chieftain Alex sig.png 15:35, 10 April 2013 (UTC)
Ah, well that makes sense. Not sure I can have that available at all times then. I'll just create the item pages and someone with the access at that time can add them, or I can go back and add them later once I grab those files. Vahkris 15:39, 10 April 2013 (UTC)

I don't even[edit]

Poke.png Slingshot.png Mini Bomb (skill).png Whip (skill).png Light (Candle).png Health Potion.png Locked (Super Adventure Box).png Dig (Digger).png Locked (Super Adventure Box).png Moto's Breath.png

D:--Relyk ~ talk > 22:31, 11 April 2013 (UTC)

div.nav table td {
  padding: 2px 8px 5px;
}
MediaWiki:Common.cssDr Ishmael User Dr ishmael Diablo the chicken.png 22:47, 11 April 2013 (UTC)
Can you hide the table from the class?--Relyk ~ talk > 23:11, 11 April 2013 (UTC)


Chieftain AlexUser Chieftain Alex sig.png 23:32, 11 April 2013 (UTC)
Oh, it's individual cell formatting--Relyk ~ talk > 23:45, 11 April 2013 (UTC)
Yeah it still padding being nested inside the box class inside the nav class, so I'll give up--Relyk ~ talk > 00:13, 12 April 2013 (UTC)

GW2DB[edit]

is wrong. At least, for weapon strength, it's wrong at least 50% of the time. Basic-quality armor defense is completely off, but they're spot-on for all other defense values and for attribute bonuses. —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:24, 16 April 2013 (UTC)

Event info box[edit]

Thanks for fixing the cnames --Claret 23:37, 17 April 2013 (UTC)

no problem, I couldn't find an example to test it with, but I thought it looked about right :) -Chieftain AlexUser Chieftain Alex sig.png 00:02, 18 April 2013 (UTC)
Found a problem or rather others have, if the start_npc is not defined ie they just wrote it in you get as in the example Escort the merchant pack bull to Ireko Tradecamp. No idea why but it was pointed out, I guess an "if..then may be needed  :) But I'll leave that to you  :) --Claret 01:59, 18 April 2013 (UTC)

Spekks' Lab[edit]

Proper spelling counts. The page title may be what the achievement says in the list but proper spelling and grammar is generally used in wiki articles. Label the page as an in-game text error and please un-revert it back to proper grammar. Look at the wiki page for possessive form and the screenshot of what it was. It may be both are the wrong spelling now but the spelling was once using proper possessive form for the in-game achievement pop-up.Durp da durp 23:29, 18 April 2013 (UTC)

so basically, I posted a duplicate of what you said here on that page, and you repeated that on my talk? no need. -Chieftain AlexUser Chieftain Alex sig.png 00:17, 19 April 2013 (UTC)
meh I see you posted that before tanetris tried to stomp on it. -Chieftain AlexUser Chieftain Alex sig.png 00:19, 19 April 2013 (UTC)

suck it[edit]

I'm at 5000 edits and you're only at 4500 in the past 91 days.--Relyk ~ talk > 09:58, 1 May 2013 (UTC)

Rofl, I actually looked those numbers up yesterday. wanted to see where Cloned was after foreign link-spam. p.s. you still got owned by shard lime, 7,281. -Chieftain AlexUser Chieftain Alex sig.png 10:18, 1 May 2013 (UTC)
nerds. -Auron 12:00, 1 May 2013 (UTC)
auron's edit for the month--Relyk ~ talk > 05:56, 2 May 2013 (UTC)
Alex still has ~300 more in total though (btw. you are crazy; and I feel bad). poke | talk 09:54, 2 May 2013 (UTC)
Aha, take that you scurvy cur! I have two edits this month! -Auron 04:01, 3 May 2013 (UTC)

Vector redesign[edit]

“redesign the vector stylesheet from scratch, with common.css turned off” – and after that, move all monobook-related stuff to monobook.css or why are you disabling it? Common.css is loaded for both and should contain stuff that applies to all skins (like infoboxes and stuff). poke | talk 20:23, 9 May 2013 (UTC)

my main concern was that the vector skin had been poorly upgraded + had a bunch of useless properties defined. I've gone through ost of them, my local copy is ok. I have grouped things by area, so vector ends up having only the tabs that are different. You are right though that there is currently some duplication between vector/monobook which could be in common. -Chieftain AlexUser Chieftain Alex sig.png 01:37, 10 May 2013 (UTC)

Galleries[edit]

{{ #ask:[[Category:Warhorns]]
 | ?Has appearance
 | ?Has caption
 | format=gallery
 | imageproperty=Has appearance
 | captionproperty=Has caption
}}

You have to set the Has caption property on the infobox page.--Relyk ~ talk > 07:37, 15 May 2013 (UTC)

totally uncalled for--Relyk ~ talk > 22:47, 15 May 2013 (UTC)
Probably a bit harsh. I really didn't want to implement the first query as a variable to fix it.. I'd end up doubling the amount of text. -Chieftain AlexUser Chieftain Alex sig.png 23:00, 15 May 2013 (UTC)

more dialogue[edit]

{{dialogue|id=start
|The Consortium appreciates the help to control the unsettled new vacationers.|
:{{response|1|No problem. Anything else I can do?}}
:{{response|2|Why are the the new settlers acting up?}}
:{{response|end|You're welcome.}}
}}

{{dialogue|id=1
|For reasons unknown, the creatures near the resort are rather feral, we would appreciate eliminating any threats to our clients.|
:{{response|2|Why are the the new settlers acting up?}}
:{{response|end|I'll see what I can do.}}
}}

{{dialogue|id=2
|Some of the refugees are ungrateful for our assistance and refuse to listen.|
:{{response|1|I heard that the animals around the area are becoming aggressive.}}
:{{response|end|You guys can work something out.}}
}}

The Consortium appreciates the help to control the unsettled new vacationers.

Talk more option tango.png No problem. Anything else I can do?
For reasons unknown, the creatures near the resort are rather feral, we would appreciate eliminating any threats to our clients.
Talk more option tango.png Some of your clients also seem to be feral. (Why are the the new settlers acting up?)
Talk end option tango.png I'll see what I can do.
Talk more option tango.png Why are the the new settlers acting up?
Some of the refugees are ungrateful for our assistance and refuse to listen.
Talk more option tango.png I heard that the animals around the area are becoming aggressive? (No problem. Anything else I can do?)
Talk end option tango.png You guys can work something out.
Talk end option tango.png You're welcome.

legit--Relyk ~ talk > 01:33, 17 May 2013 (UTC)

collapsible rows[edit]

Name Tier 1

If only rows could have expandable as a class. Can you do it with div magic?--Relyk ~ talk < 01:45, 19 May 2013 (UTC)

Not sure that I understand what you're asking for. (similar to User:Chieftain Alex/Templates/Jumping puzzles) -Chieftain AlexUser Chieftain Alex sig.png 12:01, 19 May 2013 (UTC)
ohhh that's where you put it--Relyk ~ talk < 21:33, 19 May 2013 (UTC)
(documentation) poke | talk 15:12, 20 May 2013 (UTC)
Also, after the upgrade, we can make arbitrary collapsible divs.

This text is not collapsible; but the next is collapsible and hidden by default:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Dr Ishmael User Dr ishmael Diablo the chicken.png 15:25, 20 May 2013 (UTC)
We should apply that to the spoiler template then, the show/hide element being misaligned has bugged me for months. -Chieftain AlexUser Chieftain Alex sig.png 15:29, 20 May 2013 (UTC)
I seriously spent 20 minutes reading through Help:Tables/Help:Collapsing on mw and wikipedia and got nowhere on collapsing it correctly.--Relyk ~ talk < 17:47, 20 May 2013 (UTC)

Orrian Staff[edit]

Yo, I'm going through some of the skin sets - and I noticed you have an icon for Orrian Staff. The Traveler's Orrian Staff of Rage that drops from standard skin loot tables (MF etc) however uses the default staff skin, shared with most staves. Where did you get this icon? --User Karasu sig.png Karasu (talk) 15:08, 19 May 2013 (UTC)

If its wrong, then just upload the real icon over the top of it, I won't complain ;) I think that I collected all the similar looking icons together and guessed which was correct - gw2db uses this icon but its not to be trusted. -Chieftain AlexUser Chieftain Alex sig.png 16:55, 19 May 2013 (UTC)

flamey flame[edit]

Template talk:See also for sigils and runes--Relyk ~ talk < 03:44, 27 May 2013 (UTC)

SDRH[edit]

<includeonly><!-- Note to coders; the last organised code copy is at http://wiki.guildwars2.com/index.php?title=Template:SDRH&oldid=442015 - the variables have since been moved inside if statements for calculation economy
-->{{#vardefine:DRvar_title|{{{title|Title parameter here}}}}}<!--   Title
-->{{#vardefine:DRvar_total|0}}<!--                                  Variable for running total
-->{{#vardefine:size|{{{size|50}}}px}}<!--                           Default size of images
-->{{#vardefine:labels|{{{labels|no}}}}}<!--                         Set to "yes" if labels are to be included
  Generic boilerplate header
-->{{#ifeq:{{{noheading|false}}}|true||{{research}}

This page is for recording items received from {{{subject|the [[{{BASEPAGENAME}}]]}}}. The line totals, grand totals and overall percentages at the bottom are updated automatically based on the number of entries, and as such may not reflect the actual chance of receiving an item if multiple items are received each time.

Some items can give the user more than one item each time. E.g. a player opens '''1''' box and receives '''10''' blue beads and '''8''' red beads. This would be recorded by adding '''1''' to the existing count for both the red and blue beads for that player's line.

To add data, edit the page and copy the referenced new line format at the end of the table. If you already have a line, edit that instead.}}
<!-- Create table and define variables for item amounts-->
{| {{STDT|{{{class|mech1}}}}}
|-    <!-- The following customised display variables are setup here: image, image size, image link - this way they can be used in the footer. And also the number of active columns is recorded for later reference. --->
! {{#var:DRvar_title}}
! {{#vardefine:i1 |{{trim|{{{i1|{{trim|{{{1|skill}}}}}.png}}}}}}}	{{#vardefine:is1 |{{{is1 |{{#var:size}}}}}}}	{{#vardefine:l1|{{{l1|{{{1}}}}}}}}		{{#vardefine:s1|{{{s1|{{{1}}}}}}}}		{{#vardefine:DRvar_columns|3}}	[[File:{{#var:i1}}|{{#var:is1}}|link={{#var:l1}}]]		{{#vardefine:DRvar_1|0}}
! {{#arraymap:2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50|,|@@@|
  {{#if: {{{@@@|}}}|
    {{#vardefine:i@@@ |{{trim|{{{i@@@|{{trim|{{{@@@}}}}}.png}}}}}}}
    {{#vardefine:is@@@ |{{{is@@@ |{{#var:size}}}}}}}
    {{#vardefine:l@@@|{{{l@@@|{{{@@@}}}}}}}}
    {{#vardefine:s@@@ |{{{s@@@|{{{@@@}}}}}}}}
    {{#vardefine:DRvar_columns|4}}
    {{#vardefine:DRvar_@@@|0}}
	[[File:{{#var:i@@@}}|{{#var:is@@@}}|link={{#var:l@@@}}]] !!
  }}
|}}{{#ifeq: {{#var:labels}} | yes | <br>
{{!}}-    <!-- Optional labels section --->
! {{#arraymap:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50|,|@@@|
    {{#if: {{{@@@|}}} | {{#vardefineecho:label@@@ | !! {{{label@@@|{{{@@@}}}}}}}} }} 
  |}} !! Signature|Signature
}}
|-
| colspan = {{#var:DRvar_columns}} | {{anchor|User Entries}} '''User entries'''</includeonly><noinclude>

--Relyk ~ talk < 23:06, 1 June 2013 (UTC)

I'm on summer holiday so my responses will be few and far between, but that looks pretty shit hot.
revision 2 places commas between every icon and title. Maybe I'll look into this. -Chieftain AlexUser Chieftain Alex sig.png 09:38, 5 June 2013 (UTC)
Ok, fixed the commas by changing the "new_delimiter" to blank.. Now to work on the unexpected > operator (I guess it doesn't interpret the arraymap number as a number or some shit) -Chieftain AlexUser Chieftain Alex sig.png 10:28, 5 June 2013 (UTC)
Yeah my own stupidity for referencing a variable I hadn't set yet.. everything appears to work now. I'll test it on a bunch of existing drop rate pages and see if anything changes (it shouldn't), and then copy them over to the mainspace versions. -Chieftain AlexUser Chieftain Alex sig.png 11:14, 5 June 2013 (UTC)
I swear though, #arraymaps makes the code easier to read so I don't zone out looking at it, but I still hate reading it.--Relyk ~ talk < 11:22, 5 June 2013 (UTC)

gives verbatim[edit]

[1], well someone just added it to a bunch of infoboxes /sigh--Relyk ~ talk < 09:09, 5 June 2013 (UTC)

They're only human. -Chieftain AlexUser Chieftain Alex sig.png 09:38, 5 June 2013 (UTC)

Standard droprate stuff[edit]

Just wanted to say, that looks really good. Well done. poke | talk 11:14, 12 June 2013 (UTC)

thanks, but Relyk did most of it above. I never would have thought of using arraymaps. -Chieftain AlexUser Chieftain Alex sig.png 11:15, 12 June 2013 (UTC)

remind me why we don't use a semantic icon query for SDRH?[edit]

Because we do not have an icon template urghhhhhhhhhhhhhhh--Relyk ~ talk < 14:13, 15 June 2013 (UTC)

SDRH quantity parameters[edit]

Since there's so much demand for it, we could add a quantity parameter for each item so people can enter their total received and require a total parameter. Then create a completely separate footer displaying the averages. People can ignore the parameters, but it might encourage people to be lazy and not to track the items received. If the total opened they put in the parameter doesn't match the calculated total, we can even yell at them and not count their row XD.--Relyk ~ talk < 11:02, 17 June 2013 (UTC)

I'm not sure what you're saying. You want people to submit both the frequency of each item (what we currently ask for) and the quantity? Rejecting the line is easy enough - like this - I've made it strikeout the line and ignore the data in this version. -Chieftain AlexUser Chieftain Alex sig.png 11:24, 17 June 2013 (UTC)
Pretty much. We don't have a reason to require total count yet.--Relyk ~ talk < 11:54, 17 June 2013 (UTC)

two infoboxes[edit]

Two infobox bad. {{fm table}} now adapts between weapons/armor/trinkets (strength/defense rows displayed conditionally) so we should be using that for everything. —Dr Ishmael User Dr ishmael Diablo the chicken.png 13:10, 18 June 2013 (UTC)

good job. Do you think you could match the background of the fmtable to be using the armor infobox colours if its used on an armor or trinket page? -Chieftain AlexUser Chieftain Alex sig.png 13:12, 18 June 2013 (UTC)
Nice! Death to all double infoboxes! - Yandere Talk to me... 13:41, 18 June 2013 (UTC)
Nevermind, we seem to use random colours of tables on the same pages anyway. -Chieftain AlexUser Chieftain Alex sig.png 13:52, 18 June 2013 (UTC)
Infoboxes and tables use slightly different colors on purpose (per Alfa's overarching design, anyway): infoboxes are supposed to be a bolder, brighter color, while tables are somewhat less saturated. The infobox classes weapon and armor are identical to the item class, and I'm using the item table class for the FM table, so that combination is probably what Alfa intended. —Dr Ishmael User Dr ishmael Diablo the chicken.png 15:45, 18 June 2013 (UTC)
/blames eyesight - yeah they're all the same colour.. that doesn't change that I think the background colour on fmtable is contrasts badly with the rarity text. -Chieftain AlexUser Chieftain Alex sig.png 16:20, 18 June 2013 (UTC)
I agree, but even within my already poor graphic design skills, my color skills are abysmal, so I don't know what to do about it. —Dr Ishmael User Dr ishmael Diablo the chicken.png 16:22, 18 June 2013 (UTC)
Find a color that works well with blue and green, obviously. While you're at it, make sure it works with yellow, orange, and pink also. Just for kicks, you know? :D
Seriously, I think white is the only thing that will work...and it doesn't really work. Vahkris (talk) 16:27, 18 June 2013 (UTC)

Skill links tl[edit]

I've tried to create a {{Skill link table}}, and it works as I expected, but what I did not expect - two additional paragraphs with line breaks inside. Can you point me where's the mistake? MalGalad 08:08, 19 June 2013 (UTC)

Ah you were so close :D ... the noinclude has to immediately follow the includeonly. (fixed) -Chieftain AlexUser Chieftain Alex sig.png 08:43, 19 June 2013 (UTC)
Thank you, I knew it will be something stupid... MalGalad 09:08, 19 June 2013 (UTC)
Put another way, everything outside of noinclude gets included, and that means whitespace too. —Dr Ishmael User Dr ishmael Diablo the chicken.png 12:26, 19 June 2013 (UTC)

(Reset indent) Ok, I've updated the template to a new formatting as I saw it, so that the resulting table is more compact (see Engineer). I ask you to review the new code, cause I feel like it can be more... elegant? And I could have broken some "taboos" in tl scripting, or just used code inefficiently. *And I'm not sure in my grammar right here* MalGalad 11:31, 21 June 2013 (UTC)

I've cleaned up the code a bit, and it doesn't look like I've broken anything (yay!). Changes:
  • if a width is zero, it has no need of units (you can drop the "px")
  • we can combine the two options for the first line with and without id2 by making it use a rowspan of 2 or 1 respectively.
  • when we're inside an #if statement that only works if id2 is used, then we don't need to have another #if inside it asking if it exists or not ^^ (and we don't need fallback parameters either in that case)
  • I put the vertical-align:middle in the table formatting instead of the span, and then I concluded that it didn't do anything (i might be wrong about this one)
  • I removed the whitespace hiding #if and just put the variables on the same line (theres only two, and I first used that for when I was declaring about 10..) -Chieftain AlexUser Chieftain Alex sig.png 12:39, 21 June 2013 (UTC)
If I may suggest, I think it would look better now if the skill name were on the left, instead of on the right. That's where you normally look for the "topic" of a row, and now that you have rowspans, you've shifted the topic from the ID to the skill name. —Dr Ishmael User Dr ishmael Diablo the chicken.png 13:01, 21 June 2013 (UTC)
@Ishmael, np, I felt the same way. But, how to say, if the "topic" was on the IDs, skill names that has 2 IDs had always white background color (cause they are always odd), and it looked really dumb. But now, trait icon right between ID and skill name looks odd, probably move it to the most right column? Ah, and does it look better at all, or previous variant with splitting into two tables was better?
@Chieftain Alex, thank you, it looks a lot prettier right now and still easy to read. I've also added "class" to the first row in case there's now second ID... And I'm sorry for all that changes in the mainspace, didn't thought at all about first trying in the personal sandbox. Is it even possible to preview changes of template without saving it and purging (or waiting)? MalGalad 13:14, 21 June 2013 (UTC)
No problem ;) Making lots of changes to templates that aren't widely used doesn't really matter, but keeping them to a minimum is good. I'd probably recommend initially designing templates without the "includeonly" tags, i.e. only noinclude, so that the half-baked result appears on the page example. You can test fill parameters by giving them fallback values to experiment with, e.g. {{#if: {{{id2|test parameter value}}} | format 1 ... | format 2 }} to make it display the first option instead of the second... just remember to remove the test values after previewing, which almost everyone forgets to do :P Chieftain AlexUser Chieftain Alex sig.png 13:38, 21 June 2013 (UTC)
After you switched it around, theres a wierd border beneath the trait icons - seems due to border-collapse:collapse. Not sure if related: missing line beneath the subheading row on User:Malgalad/0x07 codes/Elementalist#Staff. -Chieftain AlexUser Chieftain Alex sig.png 13:53, 21 June 2013 (UTC)
Wierd, on Opera 12.15 or Chrome 27 trait icons doesn't have any border. About "missing line" - you mean, the line that separates skill names? It is because it's border-bottom, not border-top... A good enough reason to change it. MalGalad 14:00, 21 June 2013 (UTC)
firefox only: Recoloured the border with stdt colours. internet explorer 10: really awful border bugs everywhere.. -Chieftain AlexUser Chieftain Alex sig.png 14:14, 21 June 2013 (UTC)
File:User Chieftain Alex skill link table bug firefox.png -Chieftain AlexUser Chieftain Alex sig.png 14:54, 21 June 2013 (UTC)
derp. -Chieftain AlexUser Chieftain Alex sig.png 15:15, 21 June 2013 (UTC)
Yeah, also found it. Should be fixed now. MalGalad 15:22, 21 June 2013 (UTC)

(Reset indent) Aha, nice catch. Why the hell was <nowiki/> needed there? MalGalad 16:52, 21 June 2013 (UTC)

Parser functions like #if, #switch etc remove whitespace and newlines at the start and end of the function - so you just put something invisible but existant at the start of it to respect your newline if the first thing you want in the function is a newline. <span></span> or & nbsp; (without the space) would have worked too, and maybe <code></code>, <code/> or <span/> would have worked too. -Chieftain AlexUser Chieftain Alex sig.png 16:56, 21 June 2013 (UTC)
Also wanted to ask, is it possible to pass arguments to a template, separeted by comma? E.g. {{Skill link table row|id1,id2|name1,name2|chain=chain}}. It will allow to get rid of id2=<id> etc, IMO this optional parameters feel... out of concept. MalGalad 20:36, 21 June 2013 (UTC)
Not in this case, because you're mapping the id to the name. You would pass an array of records, {{Skill link table row|<id;name,...id;name>|chain=chain}}. I though the name stays the same though, you only need it for traits?--Relyk ~ talk < 20:56, 21 June 2013 (UTC)
Not always, engineer's Drop Bandages changes to Throw Bandages while traited, and that's only 4/8 classes proceeded, so we might encounter more of this. Well, for now it's the only set of spells that changes names, but still I prefer to handle exceptions then just ignore them and put common code each time.
Also, elementalist's Glyph of Storms and Glyph of Renewal are the only utility skills that changes with the attunement but maintains the same name. MalGalad 21:04, 21 June 2013 (UTC)

since you often have good ideas about stuff...[edit]

Rune of Altruism - Working model for rune/sigil "overview" pages. Sticking points:

  • Templating the variant recipe list: {{recipe list|this=output}}. Does that feel okay? Or should it just be a separate template (using the same result template)?
  • Category. I don't want to put these pages back into Category:Runes because they don't describe individual items. I'm not really sure where else to put them, though - "Rune overviews" seems the most logical name for their immediate category, but what category does that go in?

If Relyk sees this (I know you will), I'd like your input too. And anyone else who feels like spamming Alex with notifications. —Dr Ishmael User Dr ishmael Diablo the chicken.png 18:12, 28 June 2013 (UTC)

I'm not Chieftain Lex, nor Relyk, but as for me, putting Category:Rune overviews into Category:Runes seems logical enough. It produces a bit of discomfort, because structurally a more common page will be on a level below, then a more concrete page, but imo it's the best place to put new category into without creating more entities just for it. MalGalad 19:13, 28 June 2013 (UTC)
It should be a separate template as it serves a different purpose. It keeps it clear what the queries are doing. Recipe list is a pretty ambiguous template name, the semantics are closer to {{requires item}} and {{creates item}}, like "Recipe/Requires".
We can have Category:Rune overviews/Category:Sigil overviews be categorized into [[:Category:Upgrade component overviews]], which is put in Category:Upgrade components. I'm drawing parallels for Category:Item galleries by type, where it's like [[:Category:Upgrade component overviews by group]]. As we don't a category for each group of runes, categorizing them into Category:Runes/Category:Sigils isn't useful for navigation between the rune group and the runes themselves. Ishmael already stated before we aren't creating 50 separate categories for each upgrade component group, which I agree with. We're going to have navigation between rune groups on the individual rune pages with the nav templates, we don't need to bother structuring the categories to do so.-Relyk ~ talk < 19:49, 28 June 2013 (UTC)
i) I think its fine to use the recipe list template, but to me thats a really wierd name for a template parameter. I'd prefer a different parameter name, perhaps "search = family" or something.. this=output seems odd at least.
ii) I think that putting Category:Rune overviews as a sub category of Category:Runes sounds fine. Anything that an uninformed/regular user could find would be good.
-Chieftain AlexUser Chieftain Alex sig.png 20:04, 28 June 2013 (UTC)

Gift[edit]

It wasn't that hard.--Relyk ~ talk < 20:35, 1 July 2013 (UTC)

Named armor[edit]

Do you have any reason why the page Named armor exists? Or at least, it's being considered an armor on the armor gallery? I haven't found anything for it. --Noka (talk) 09:15, 5 July 2013 (UTC)

NVM on the previous NVM. I'm just going to set it to redirect and forsake this line of thought for now, but it'd be cool if you could figure out why that's considered a special term in the gallery. --Noka (talk) 09:20, 5 July 2013 (UTC)
I have read this thrice and now understand exactly what it all entails. It's 4am here, sorry for the consistent editing. In any case: there needs to be a page for Named armor, otherwise I'm gonna feel really awkward when I try and do it and there's no gallery to view the results in. --Noka (talk) 09:22, 5 July 2013 (UTC)
And I just posted such on your page lol. I've been trying to organize what would consider named equipment and will eventually split it into Named armor, Named weapon, and Named trinket (Or really, [[List of named armor]], etc...)--Relyk ~ talk < 09:35, 5 July 2013 (UTC)
Since the appearance of the same weights of the named armor is the same there should be a central page.
writing the nav. -Chieftain AlexUser Chieftain Alex sig.png 13:00, 5 July 2013 (UTC)

think I broke it  :)[edit]

since you've helped me lots i thought id ask you first  :) can you have a look at my minipet section of my page, horrik isn't displaying even though I added him correctly. no rush at all, just don't wanna lose track of the little things :) ty in advance Spark GOLD "talk" 17:05, 7 July 2013 (UTC)

Oh sure, you added it correctly to your page, but I hadn't added it to the template yet ;) -Chieftain AlexUser Chieftain Alex sig.png 17:17, 7 July 2013 (UTC)
Tyvm, was getting confused over that one.  :) this a better sig :) Spark Guardian tango icon 200px.png 19:04, 7 July 2013 (UTC)

{{Skill infobox}} tl[edit]

I've tried to use semantic properties in the chain skills icons, so that skill icon will be shown for skills that uses icon from another skill. Basically, I replaced File:{{{chain1}}}.png with {{#show:{{{chain1|}}}|?Has game icon|link=none}}. It works fine (well, I'd also crop black borders) but could it be done easier/shorter? MalGalad 16:32, 10 July 2013 (UTC)

User Chieftain Alex barnstar chicken.png Awesome award!
You are awesome.
MalGalad 22:15, 10 July 2013 (UTC)
(Edit conflict) While a bit more complex + achieving the same the "fix" is a bit neater. Summary of changes:
  1. Firstly I've used arraymaps. This means I can lose the original #if: chain1, chain2 and chain3 - the arraymap ignores empty bits between commas. It also means I only have to type the code once.
  2. {{borderless}} can only be used with files without the "File:" or "File:" prefix - so I've used Extension:StringFunctions' {{#sub: ... | start }} to crop the first 5 characters off the phrase.
  3. I don't think the infobox is set to record the icon property if it doesn't exist, so I've given it a default instead of using #ifexist (this might be wrong, we'll see later if any bugs arise)
seems to work :D Chieftain AlexUser Chieftain Alex sig.png 22:21, 10 July 2013 (UTC)
He knows. --Claret (talk) 22:17, 10 July 2013 (UTC)
User Chieftain Alex barnstar dinosaur.png Rawr dinosaur
I've been here long enough to do this stuff :p
:) yep Chieftain AlexUser Chieftain Alex sig.png 22:21, 10 July 2013 (UTC)
And this is one of those times I wish we had an actual skill icon--Relyk ~ talk < 22:36, 10 July 2013 (UTC)

Reference from within the game[edit]

Yeah, I did. I've been paying attention to the forums and noticing some comments about how lore is presented on the wiki. Basically, we put lore into pages stated as-is, but we never show where that lore comes from. If it's something on that NPC's page, it makes sense because you can go in-game and see them saying it, but there's lore and statements made on more general pages (like Zephyrite or Captain's Council, or even Lion's Arch) where we never show where the info comes from. One example given to me was how the Lion's Arch page mentions the Captain's Council seats are purchased (in the history section, last paragraph), but on the Captain's Council page it's mentioned the seats are elected into office. It's seemingly contradictory, and perhaps both are true, but neither one has any sort of reference as to where the info comes from (Advisor Evellana is one source). I'm trying to figure out a way to point this info out. Vahkris (talk) 14:24, 12 July 2013 (UTC)

How could you![edit]

[2], I thought we all agreed to ignore this.--Relyk ~ talk < 10:06, 14 July 2013 (UTC)

heh I was sure I'd implemented it before, if you don't like it then revert it :d -Chieftain AlexUser Chieftain Alex sig.png 10:10, 14 July 2013 (UTC)
[[Has skin type::{{#vardefineecho:skin type|{{{1| {{ucfirst:{{#sub:{{#vardefineecho:plural skin type|{{#replace:{{PAGENAME}}|Gallery of |}}}}|0|{{#expr: {{#len:{{#var:plural skin type}}}} - 1 }}}}}} }}} }}]]

ffs use multiple lines and comments XD--Relyk ~ talk < 10:24, 14 July 2013 (UTC)

oh I do, until I have to submit it :P -Chieftain AlexUser Chieftain Alex sig.png 10:24, 14 July 2013 (UTC)
btw it cut of the i in foci and now an anon is mad.--Relyk ~ talk < 10:26, 14 July 2013 (UTC)
(Edit conflict) oh I see. thanks. -Chieftain AlexUser Chieftain Alex sig.png 10:34, 14 July 2013 (UTC)
{{#if:
{{#vardefine:plural|{{#replace:{{PAGENAME}}|Gallery of |}}}}
{{#vardefine:skin type|{{#switch:{{#var:plural}}
  |foci = Focus
  |torches = Torch
  |#default = {{ucfirst:{{#sub:{{#var:plural}}|-1}}}}
  }}
}} }}{{#ask:[[Has skin type::{{{1|{{#var:skin type}}}}}]]

--Relyk ~ talk < 10:33, 14 July 2013 (UTC)

won't work for torches. -Chieftain AlexUser Chieftain Alex sig.png 10:34, 14 July 2013 (UTC)
Well we know how to fix that--Relyk ~ talk < 10:36, 14 July 2013 (UTC)

api + harpoon[edit]

Since the API and TP don't agree on these names (unlike the armor type names), I've translated harpoon/speargun to spear/harpoon gun in the workbook so that it matches the much more visible TP. —Dr Ishmael User Dr ishmael Diablo the chicken.png 15:09, 14 July 2013 (UTC)

32 team bracket[edit]

Ok I give up, I tried modifying the 16 Team bracket you made for me here to turn it into a 32 team bracket here, but I'm kinda fucking that up and I don't know how to fix/add the finals. Halp please? <3 --SirrushUser Sirrush sig.jpg 16:14, 15 July 2013 (UTC)

jesus that stuff makes my head hurt xd -Chieftain AlexUser Chieftain Alex sig.png 16:42, 15 July 2013 (UTC)
Its slightly imperfect when viewing, two of the brackets space out weirdly... but its fine when editing >.> -Chieftain AlexUser Chieftain Alex sig.png 16:45, 15 July 2013 (UTC)
Thank you! <3 --SirrushUser Sirrush sig.jpg 18:03, 15 July 2013 (UTC)

I love you[edit]

I'm looking at your sandbox version of the tournament template, the code is so neat and I didn't even know about the arraymap parser function. <3 -- Phen. 87.115.179.176 19:05, 16 July 2013 (UTC)

Lol I saw the code of the previous template yesterday.. you must have done well to debug it, I couldn't read it at all.
I think my sandbox version is ready now, I might have missed out some of the medal table functionality, but I think its mostly intact.
Theres less white-space between the bottom of the "league info" bit and the top of the next section, I can't remember how to fix that. -Chieftain AlexUser Chieftain Alex sig.png 19:18, 16 July 2013 (UTC)
MY BABY! WHAT DID YOU DO TO MY BABY!? Nah it looks awesome, sorry about the mess. --SirrushUser Sirrush sig.jpg 19:21, 16 July 2013 (UTC)
By the way, leave the medals template stuff that the infobox is calling for intact, I'm about to make those happen. --SirrushUser Sirrush sig.jpg 19:31, 16 July 2013 (UTC)
the gap in the medals section was cos you'd left space between noinclude and includeonly. -Chieftain AlexUser Chieftain Alex sig.png 20:08, 16 July 2013 (UTC)

achievement templates[edit]

User:Relyk/achievement, not sure how to get it collapsed correctly--Relyk ~ talk < 02:56, 17 July 2013 (UTC)

mediawikiwiki:ResourceLoader/Default_modules#jquery.makeCollapsible
gww:User:Chieftain Alex/sandbox 3
I suspect yours could also be done without the custom toggles, if for example you wanted it to say Show/hide at the end of the row. But I don't recall how. -Chieftain AlexUser Chieftain Alex sig.png 20:02, 17 July 2013 (UTC)
Ok it can be done with poke's expandable stuff too:
{| {{STDT|collapsible}}
|-
! width="200" | Name
! Tier 1
! Tier 2
! Tier 3
! Tier 4
! Tier 5
!
|- class="expandable"
| [[Revival|No One Left Behind]]<br>''So glad to see you!''
| {{User:Relyk/achievement cell|50 Revives|5}}
| {{User:Relyk/achievement cell|100 Revives|5}}
| {{User:Relyk/achievement cell|500 Revives|5}}
| {{User:Relyk/achievement cell|500 Revives|5}}
| {{User:Relyk/achievement cell|1000 Revives|5|Combat Healer}}
|
|-
| colspan=7 | Revive players and NPCs. At some places in the world there are many allies to revive, such as [[The Bloodfields]] in [[Gendarran Fields]] and [[Thaumanova Reactor]] in [[Metrica Province]].
|}
(which is a lot simpler but less fun tbh) -Chieftain AlexUser Chieftain Alex sig.png 20:33, 17 July 2013 (UTC)

Achievement list result format[edit]

Poke you on something related: [[Template:Achievement list result format]]. The code can possibly be modified/simplified to replace the "show more tiers" button with the rest of the tiers and I suck too much with the syntax.--Relyk ~ talk < 02:43, 1 August 2013 (UTC)

Costume_Brawl#Achievements looks horribly broken. Maybe remove the show more button at first and let me work towards making it expandable. -Chieftain AlexUser Chieftain Alex sig.png 15:49, 1 August 2013 (UTC)
That's because the template was changed and it wasn't updated.--Relyk ~ talk < 16:21, 1 August 2013 (UTC)
Well it's only breaking on King of the Costume Brawl in Community, must be a caching issue? Meh, it was missing a delimiter because it was code i didn't write lol.--Relyk ~ talk < 16:34, 1 August 2013 (UTC)
it was breaking on Keg Brawl cos it was trying to list everything.. >.> -77.97.208.117 17:12, 1 August 2013 (UTC)

Skin types[edit]

Hey, you remember when we added the skin types to weapon skin articles? Is there a reason why the infobox no longer displays any of that information? The infobox just says “Consumable” as the type, completely omitting the skin information. I think you made it disappear when you removed that temporary category here. poke | talk 13:51, 20 July 2013 (UTC)

probably because I believe that it says "Consumable" ingame for the item type. When adding the parameter, it was handy because it showed the output for the SMW property Property:Has skin type. If you can think of a way to display it neatly, perhaps like
;Item type
:Consumable
;Skin type
:Longbow
then re-add as you see fit. -77.97.208.117 10:06, 23 July 2013 (UTC)
While that explanation could work, other consumable subtypes, such as containers, are displayed directly. If we really want to keep the “Consumable” in there, maybe we can mention the subtype in parentheses instead, e.g. “Consumable (Container)”, “Consumable (Longbow skin)” etc. poke | talk 10:56, 23 July 2013 (UTC)
you'd get an ugly line wrap if its that long. -77.97.208.117 08:20, 24 July 2013 (UTC)
Is listing the basic item type important? Listing "Weapon skin" for the item type is much more useful than "Consumable" for players and the description typically says "Double-click to..." anyways.--Relyk ~ talk < 14:47, 24 July 2013 (UTC)

oh look[edit]

best couple--Relyk ~ talk < 15:04, 24 July 2013 (UTC)

I don't want to understand. -77.97.208.117 16:47, 24 July 2013 (UTC)

User NPC infobox[edit]

Maybe, instead of creating a special template for the infobox to be used inside the user namespace, it would make more sense to have a generic infobox template that would just take key/value pairs that would be displayed as a infobox list. That way we add flexibility to it so people can just display whatever they want without having to match the limitations mainspace infoboxes have. And we wouldn’t have to duplicate infoboxes for user namespaces… poke | talk 00:05, 5 August 2013 (UTC)

that wouldn't be very user friendly though. new users are going to want to copy the mainspace templates, they always have, probably always will. -Chieftain AlexUser Chieftain Alex sig.png 00:07, 5 August 2013 (UTC)
But they can copy it themselves :/--Relyk ~ talk < 02:58, 5 August 2013 (UTC)

Tidying up[edit]

So we should remove all empty parameters in event infoboxes? --Claret (talk) 19:40, 6 August 2013 (UTC)

Empty parameters are bad practice in any template. If you don't have a value for it, omit it completely. —Dr Ishmael User Dr ishmael Diablo the chicken.png 19:47, 6 August 2013 (UTC)
Yes, it's just that Alex went thru' a bunch of events, wondered if there was a particular reason. Thanks anyway. BTW, did you read my request for consensus in Divinity's Reach talk page. Interested in your view.
He probably did that because of this edit summary that pointed out the removal of those parameters, so he was cleaning them up in general (not just because they were empty but because the parameter doesn't exist anymore). —Dr Ishmael User Dr ishmael Diablo the chicken.png 19:56, 6 August 2013 (UTC)
Thanks --Claret (talk) 19:59, 6 August 2013 (UTC)
Yeah that was me editing the event infobox as an ip, so I thought I'd cleanup the dead parameters. While leaving parameters blank is bad, there would be many more edits, and as I was manually using AWB to detect the dead parameters and manually fix them, I really didn't want to remove all empties (that would take ages) -Chieftain AlexUser Chieftain Alex sig.png 12:03, 7 August 2013 (UTC)
Thanks --Claret (talk) 12:05, 7 August 2013 (UTC)

Bleh singular weapon pages with multiple {{prefix attributes}}[edit]

can't be queried. :

  • e.g. Destroyer Greatsword - doesn't record weapon strength values at all
  • e.g. Dark Asuran Axe - querying for attributes results in the stats from all three possibilities at once

perhaps weapon pages should be using subobjects... -Chieftain AlexUser Chieftain Alex sig.png 10:09, 11 September 2013 (UTC)

We shouldn't need the attribute bonus property if we have a lookup table already.--Relyk ~ talk < 11:23, 11 September 2013 (UTC)

Update page[edit]

I've become busy and you look active, so feel free to finish up the update page. --JonTheMon (talk) 17:02, 15 October 2013 (UTC)

working as intended but still annoying[edit]

blah blah blah too lazy to upload screenshots of the wiki to the wiki. It looks nice when viewing your userpage normally, though. Vili 点 User talk:Vili 04:37, 19 October 2013 (UTC)

yeah absolute positioning does ignore the preview bit at the top. I like the skin you're using though the image in the top left is a bit out of place :P. -Chieftain AlexUser Chieftain Alex sig.png 10:40, 19 October 2013 (UTC)
Instead of using top you could just use margin-top to move it relative to its original position instead of it having an absolute position. poke | talk 14:49, 19 October 2013 (UTC)
if it isn't using position:absolute it doesn't respect the z-index, so I don't think I can do that. -Chieftain AlexUser Chieftain Alex sig.png 16:43, 19 October 2013 (UTC)
Using margin-top doesn’t mean you can’t use absolute position. And I never said not to position it absolutely, did I? :P poke | talk 16:44, 19 October 2013 (UTC)