Wikipedia talk:TemplateData/Tutorial: Difference between revisions

Content deleted Content added
Line 76:
:::I've amended the first instruction, since it's not necessary to work out whether you should put it in [[Special:MyPage/vector.js]] or somewhere else if you use a different skin. The link [[Special:MyPage/skin.js]] automatically goes to the relevant .js file for your current skin.
:::But, it can be simpler. Does it work in all current skins (Cologne Blue, Modern, Monobook, Vector)? If so, the place to put it would be [[Special:MyPage/common.js]]; then, if you change skins, the script does not need to be reinstalled for the new skin. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 07:15, 20 July 2013 (UTC)
::::Thanks, I didn't know about skin.js. I do'nt know if it works for all skins, but it seems quite simple, so probably. In [[User:NicoV/TemplateDataEditor]], I suggested to use common.js. --[[User:NicoV|NicoV]] <sup>([[:fr:Discussion Utilisateur:NicoV|Talk on frwiki]])</sup> 07:20, 20 July 2013 (UTC)
 
== Had a go - feedback ==