Template:Userscript/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 8:
<code><nowiki>{{userscript |code= [.js address] |name= [script name] |doc= [documentation page address] }}</nowiki></code>
 
* At least <code>|code=</code> ''' -or- ''' <code>|doc=</code> is required. The template will attempt to fill in defaults for the other information, if they aren't entered explicitly.
The name will be linked to the documentation page, and separate "(source)" text will link to the code page.
 
* At least <code>|code=</code> ''' -or- ''' <code>|doc=</code> is required. The template will attempt to fill in defaults for the other information, if they aren't entered explicitly.
* '''Check to make sure the links are accurate after placing this template!''' If any defaults are incorrect for your script, enter the necessary parameters explicitly.
* 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.