Template:Script data/doc: Difference between revisions

Content deleted Content added
Parameters: example
add
Line 1:
{{Documentation subpage}}
<!-- 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>
 
=== Parameters ===
Line 6 ⟶ 11:
;hideicon (optional): Set to "yes" to hide the [[Template:Top icon|top icon]]
;type (optional): Set to "stylesheet" to indicate that the script is a stylesheet.
 
===Example===
<pre>{{script data | page = User:Gary King/script installer.js }}</pre>
 
==See also==