Wikipedia talk:TemplateData/Tutorial: Difference between revisions
Content deleted Content added
→Editor for TemplateData ?: Special:MyPage/skin.js is an automatic link |
|||
Line 61:
{{unindent}}Sure :
* Edit [[Special:MyPage/skin.js]].
* Add a line with the following text <code>importScript('User:NicoV/TemplateDataEditor.js');</code>
* Save the page
Line 74:
:Thanks - too late at night to try anything now but I look forward to having a go at it tomorrow. [[User:PamD|<font color="green">'''''Pam'''''</font>]][[User talk:PamD|<font color="brown">'''''D'''''</font>]] 23:30, 19 July 2013 (UTC)
::Hope you'll enjoy it :-) More explanations on how to install/use at [[User:NicoV/TemplateDataEditor]]. --[[User:NicoV|NicoV]] <sup>([[:fr:Discussion Utilisateur:NicoV|Talk on frwiki]])</sup> 04:57, 20 July 2013 (UTC)
:::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)
== Had a go - feedback ==
|