Content deleted Content added
m Adding Category:Wikipedia user script templates using Cat-a-lot |
|||
(13 intermediate revisions by 8 users not shown) | |||
Line 9:
At least <code>|code=</code> ''' -or- ''' <code>|doc=</code> is required. The template will attempt to determine defaults for any information not entered.
* '''Check
* If you end up leaving the template with no "(source)" link produced, make sure your documentation page includes complete installation instructions, along with any necessary code page addresses.
* You can make up any name for the <code>|name</code> parameter. It is just for display purposes.
Line 20:
* If no name is entered, a default name will be produced from the code or doc page name.
{{collapse bottom}}
* 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 (
* 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:
▲== Additional parameter ==
{{reflist}}
▲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:
==See also==
<includeonly>▼
* [[Wikipedia:User scripts/List]]
{{Wikipedia:User scripts/Navbox}}
<
[[Category:Wikipedia scripts|*]]
[[Category:Wikipedia user script templates]]
▲}}</includeonly>
|