Template:Script data/doc: Difference between revisions

Content deleted Content added
Sardanaphalus (talk | contribs)
category update
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1:
{{Documentation subpage}}
{{deprecated template|note=Not used, not maintainerd}}
 
===How to use===
On a script's documentation page, at the bottom of the page, place the following code (fill in your own script's page name, of course):
 
<pre>{{script data | page = User:Gary/script installer.js }}</pre>
 
If the script's source page name is the same as the documentation page's (with an added .js), you can use:
 
<pre>{{script data | page = <nowiki>{{subst:FULLPAGENAME}}.js</nowiki> }}</pre>
 
== Use cases ==
This template is used by [[Wikipedia:Script Installer]] to add an install button to script documentation pages.
 
=== Parameters ===
Line 15 ⟶ 22:
* {{tl|Stylesheet data}}
 
<includeonly>{{Sandbox other||
[[Category:Wikipedia-specific image insertion templates]]
}}</includeonly>