Template talk:ShopItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:


<!--
<!--
Storing this in here in case I want to use it later. -~~~~
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|?}}}
<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|?}}}

Revision as of 17:22, 15 August 2008

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)