Template:Userscript/doc: Difference between revisions

Content deleted Content added
Examples: reflist
 
(9 intermediate revisions by 8 users not shown)
Line 20:
* If no name is entered, a default name will be produced from the code or doc page name.
{{collapse bottom}}
 
=== Additional parameterparameters ===
* This template enables an automatic installation link for editors who use automatic installer scripts like [[User:Enterprisey/script-installer]] or [[User:Equazcion/ScriptInstaller]]. If you have reason to disable automatic installation for a particular script (ege.g. because it requires more than just the usual importScript line), add the following parameter: {{para|noautoinstall|yes}}.
* To suppress the creation of a footnote with installation instructions, set {{para|noref|yes}}.
 
== Examples ==
Line 29 ⟶ 33:
*Produces: {{userscript|doc=User:TheDJ/sharebox}}
 
Use <code><nowiki>{{reflist}}</nowiki></code> to produce specific installation instructions:
{{reflist}}
 
==See also==
== Additional parameter ==
* [[Wikipedia:User scripts/List]]
This template enables an automatic installation link for editors who use automatic installer scripts like [[User:Equazcion/ScriptInstaller]]. If you have reason to disable automatic installation for a particular script (eg. because it requires more than just the usual importScript line), add the following parameter:
 
<code><nowiki>|noautoinstall=yes</nowiki></code>
{{Wikipedia:User scripts/Navbox}}
<includeonly>{{Sandbox other||
[[Category:Wikipedia scripts| *]]
[[Category:Wikipedia user script templates]]
}}</includeonly>