Template talk:ShopItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Template:!)
 
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Articles==

Are "a pair of" or "a set of" counted as articles?--[[User:Isharon|Isharon]] 00:18, 16 May 2010 (UTC)

== Template:! ==
== Template:! ==


Template:ShopItem and Template:! don't appear to be play well together. The links work, but the display on the shop pages is messed up.<br>-[[User:Glimmereyes|Glimmereyes]] 11:05, 2 July 2008 (CDT)
Template:ShopItem and Template:! don't appear to be play well together. The links work, but the display on the shop pages is messed up.<br>-[[User:Glimmereyes|Glimmereyes]] 11:05, 2 July 2008 (CDT)
:Hmm, where are they not behaving? IE gimme a link to a shop--[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 11:16, 2 July 2008 (CDT)
::[[Milgrym's Weapons]]'s has a couple of the display errors. An example is the dagger which displays as "dagger|Dagger (1)|Dagger". Not sure where it's grabbing the first part, but the second and third parts look like it's not properly handling the page name and the display name.<br>-[[User:Glimmereyes|Glimmereyes]] 11:24, 2 July 2008 (CDT)
:Ahhh ok... yeah ugh. At least it's linking to the correct page for now, so it's just a display error. My eyes cross when I look at these templates that Caraamon has created, so might get him to take a look.--[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 11:26, 2 July 2008 (CDT)
::Upon further investigation, looks like Caraamon snuck a different way to handle such links, but didn't update [[Category talk:Shops]]. I say we hang him up by his toes for not updating all the documentation! [[Template:ShopItem]] mentions the Name field and it doesn't break the links<br>-[[User:Glimmereyes|Glimmereyes]] 11:32, 2 July 2008 (CDT)
::..... Why does the shops category even have documentation?!? And how was I supposed to know? I document my templates, I don't go searching for documentation lodged in the equivalent of someone's left big toe. :P -[[User:Caraamon|Caraamon Strugr-Makdasi]]<sup>([[User talk:Caraamon|talk]])</sup> 20:45, 2 July 2008 (CDT)

<!--
Storing this in here in case I want to use it later. -Caraamon

<includeonly>|[[{{#switch:{{{smw}}}|n=|shop sells::}}{{#switch:{{lc:{{{t|}}}}}|n=|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{1}}}}}}}{{#if:{{{name|}}}|{{!}}{{{name}}}|{{!}}{{{1}}}}}]]{{#If:{{{note|}}}|&nbsp;-&nbsp;''{{{note}}}''}}||{{{2|?}}}

-->

== Making REDLINKS go to correct form! ==

Caraamon, instead of breaking things, I wanted to ask if you could take a look at the following link and see if it's possible to add to this template, to get the Redlinks to open the correct form from the shopping pages.

http://www.mediawiki.org/wiki/Semantic_Forms#Pointing_red_links_to_.27add_data.27_form

Thanks! --[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 09:59, 18 August 2008 (CDT)
:Ya, I'll look into it. -[[User:Caraamon|Caraamon Strugr-Makdasi]]<sup>([[User talk:Caraamon|talk]])</sup> 18:50, 18 August 2008 (CDT)
:Is our MediWiki version less than 1.13? If so, I need you to make the alteration listed [http://www.mediawiki.org/wiki/Extension:Semantic_Forms/MediaWiki_red_links_code_change here]. If it is greater, something funky is going on and I'll need to dig around after I get back from work. -[[User:Caraamon|Caraamon Strugr-Makdasi]]<sup>([[User talk:Caraamon|talk]])</sup> 19:19, 18 August 2008 (CDT)
::We have Version 1.11.2 as seen on [[Special:Version]]. I'll take a look at the changes. That's really weird that we'd have to make code changes...--[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 10:13, 20 August 2008 (CDT)
::Ok I've made the code changes to Linker.php. See if it'll work now.--[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 10:15, 20 August 2008 (CDT)

Latest revision as of 19:18, 15 May 2010

Articles

Are "a pair of" or "a set of" counted as articles?--Isharon 00:18, 16 May 2010 (UTC)

Template:!

Template:ShopItem and Template:! don't appear to be play well together. The links work, but the display on the shop pages is messed up.
-Glimmereyes 11:05, 2 July 2008 (CDT)

Hmm, where are they not behaving? IE gimme a link to a shop--Naeya (talk) 11:16, 2 July 2008 (CDT)
Milgrym's Weapons's has a couple of the display errors. An example is the dagger which displays as "dagger|Dagger (1)|Dagger". Not sure where it's grabbing the first part, but the second and third parts look like it's not properly handling the page name and the display name.
-Glimmereyes 11:24, 2 July 2008 (CDT)
Ahhh ok... yeah ugh. At least it's linking to the correct page for now, so it's just a display error. My eyes cross when I look at these templates that Caraamon has created, so might get him to take a look.--Naeya (talk) 11:26, 2 July 2008 (CDT)
Upon further investigation, looks like Caraamon snuck a different way to handle such links, but didn't update Category talk:Shops. I say we hang him up by his toes for not updating all the documentation! Template:ShopItem mentions the Name field and it doesn't break the links
-Glimmereyes 11:32, 2 July 2008 (CDT)
..... Why does the shops category even have documentation?!? And how was I supposed to know? I document my templates, I don't go searching for documentation lodged in the equivalent of someone's left big toe. :P -Caraamon Strugr-Makdasi(talk) 20:45, 2 July 2008 (CDT)


Making REDLINKS go to correct form!

Caraamon, instead of breaking things, I wanted to ask if you could take a look at the following link and see if it's possible to add to this template, to get the Redlinks to open the correct form from the shopping pages.

http://www.mediawiki.org/wiki/Semantic_Forms#Pointing_red_links_to_.27add_data.27_form

Thanks! --Naeya (talk) 09:59, 18 August 2008 (CDT)

Ya, I'll look into it. -Caraamon Strugr-Makdasi(talk) 18:50, 18 August 2008 (CDT)
Is our MediWiki version less than 1.13? If so, I need you to make the alteration listed here. If it is greater, something funky is going on and I'll need to dig around after I get back from work. -Caraamon Strugr-Makdasi(talk) 19:19, 18 August 2008 (CDT)
We have Version 1.11.2 as seen on Special:Version. I'll take a look at the changes. That's really weird that we'd have to make code changes...--Naeya (talk) 10:13, 20 August 2008 (CDT)
Ok I've made the code changes to Linker.php. See if it'll work now.--Naeya (talk) 10:15, 20 August 2008 (CDT)