Template:Script data/doc: Difference between revisions

Content deleted Content added
See also: bullet
No edit summary
 
(5 intermediate revisions by 5 users not shown)
Line 1:
{{Documentation subpage}}
{{deprecated template|note=Not used, not maintainerd}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
===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 King/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 16 ⟶ 22:
* {{tl|Stylesheet data}}
 
<includeonly>{{Sandbox other||
[[Category:ImageWikipedia-specific image insertion templates]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
}}</includeonly>
[[Category:Image insertion templates]]
</includeonly>