Template talk:Recipe list by discipline

From Guild Wars 2 Wiki
Jump to navigationJump to search

Broken page[edit]

Glob of Ectoplasm has an issue with Mystic Forge. --JonTheMon (talk) 21:43, 8 July 2013 (UTC)

No problem here, move along--Relyk ~ talk < 21:45, 8 July 2013 (UTC)

Mystic Coin[edit]

Mystic Coin has to many uses. >_< - Yandere Talk to me... 00:48, 9 July 2013 (UTC)

They're all MF recipes (the chef recipe was erroneous, I've corrected it), so there's no reason to use this template. I say switch to {{recipe list}} and increase the limit in that template to 150, since it looks like there aren't too many more (it gets down to Volcanus). —Dr Ishmael User Dr ishmael Diablo the chicken.png 00:56, 9 July 2013 (UTC)
Jug of Water has also to many uses... This time your workaround doesn't work. - Yandere Talk to me... 02:36, 12 July 2013 (UTC)
Add a parameter to make it collapsible probably--Relyk ~ talk < 02:42, 12 July 2013 (UTC)
We can increase the limit up to 500, I just didn't want to increase it too far too soon. I guess there's little reason not to do it, though. Derp, that uses this template, and this one was still set at 100. I've bumped it up to 150 as well. Stupid Artificers and their 118 potions. —Dr Ishmael User Dr ishmael Diablo the chicken.png 04:31, 12 July 2013 (UTC)

whitespace[edit]

If there are no MF or General recipes, the result has excess whitespace at the top - see Sun Bead. This comes from the linefeeds necessary to get the succeeding headers onto their own line so MW parses them as such - these linefeeds have to be outside the #if blocks, otherwise they'd get trimmed from the #if's output. So even if MF/General sections don't generate a table, those linefeeds are still there, and get parsed into an empty <p> element. I can't figure out what to do. —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:13, 9 July 2013 (UTC)

Could you replace the linefeeds with manual breaks? <br/> or \n - Yandere Talk to me... 01:29, 9 July 2013 (UTC)
Tried that, <br> doesn't mean anything to the wiki parser. You can't use \n except in certain circumstances (like as the "new separator" argument of #arraymap). —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:46, 9 July 2013 (UTC)
Add constraints to recipe list then add three separate tempaltes. I never liked generating section headers in templates. (I know that would make this template redundant).--Relyk ~ talk < 03:01, 9 July 2013 (UTC)
The point of this template is to automatically select which disciplines (and MF/General) to display and fill out the entire "Recipes requiring X" section. If you explicitly set the headers and then call individual recipe lists (e.g. what I had done on Mithril Ingot before writing this template), then it won't automatically add other sections if new recipes are added to the wiki. —Dr Ishmael User Dr ishmael Diablo the chicken.png 03:59, 9 July 2013 (UTC)
Yeah ignore that. Does using the intro parameter make a difference?--Relyk ~ talk < 04:13, 9 July 2013 (UTC)
Hadn't thought of that, but no, it doesn't change the whitespace required between the #ifs.
However, I suddenly remembered about {{trim}}. Problem solved. —Dr Ishmael User Dr ishmael Diablo the chicken.png 04:34, 9 July 2013 (UTC)
I honestly had no idea where the problem was coming from, fortunate trim works. Still, seemed like a good idea to add constraints then use that to generate all three tables on one template lol.--Relyk ~ talk < 04:39, 9 July 2013 (UTC)

(Reset indent)

{{#if: {{{a|}}} | <\nowiki>
this text is on a new line. | <!-- do nothing --> }}

This is what I do when I want a newline in an #if statement -Chieftain AlexUser Chieftain Alex sig.png 08:12, 9 July 2013 (UTC)

Mjölnir Comes Up Twice[edit]

I've noticed on the pages of the crafting materials required to make the weapon Mjölnir, the weapon is listed twice in the respective recipe tables (example: Charged Lodestone). I'm not sure how one would fix that so I thought it best to just post here notifying it. --Wingsy (talk) 12:52, 1 October 2013 (UTC)

It's a bug with the Semantic MediaWiki extension that arises when a page is moved. There's nothing we can do from an editor perspective, unfortunately. —Dr Ishmael User Dr ishmael Diablo the chicken.png 14:15, 1 October 2013 (UTC)

Mystery Tonic (forest)[edit]

Something a bit odd going on with links (too many closing ]s ?) when this template is used in Mystery Tonic (forest), same for the beast and furniture variants --BramStoker (talk, contribs) 11:19, 13 December 2014 (UTC)

old fail by me that went unnoticed for 2 years where the canonical name hadn't been set.
Did you also notice that the recipe list template can't cope when there are two of the same item (e.g. Wolf Tonic should be "2 Mystery Tonic, 1, Tiny Claw + 1 Tiny Fang"... but instead shows up as "1 Mystery Tonic, 1, Tiny Claw + 1 Tiny Fang") (Steam ogre tonic is even worse). -Chieftain AlexUser Chieftain Alex sig.png 14:17, 13 December 2014 (UTC)

Error with Copper Doubloon[edit]

The Copper Doubloon page using this template shows one Mystic Forge recipe to produce Amalgamated Gemstone requiring:

However, the Amalgamated Gemstone page shows the same recipe requiring:

Which is correct? Since the Mystic Forge requires 4 input items, I believe this template is in error. What is the best way to resolve this discrepency? ~ 1Maven (talk) 14:23, 13 September 2015 (UTC)

SMW sees the repeated ingredient entries as duplicates and only stores 1 instance of it. I'm pretty sure there's nothing we can do. —Dr Ishmael User Dr ishmael Diablo the chicken.png 14:41, 13 September 2015 (UTC)