• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.88
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Script data

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
Stop hand nuvola.svgTemplate:Script data is deprecated. Not used, not maintainerd

Contents

  • 1 How to use
  • 2 Use cases
    • 2.1 Parameters
  • 3 See also

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):

{{script data | page = User:Gary/script installer.js }}

If the script's source page name is the same as the documentation page's (with an added .js), you can use:

{{script data | page = {{subst:FULLPAGENAME}}.js }}

Use cases

This template is used by Wikipedia:Script Installer to add an install button to script documentation pages.

Parameters

page
The script's page name.
hideicon (optional)
Set to "yes" to hide the top icon
type (optional)
Set to "stylesheet" to indicate that the script is a stylesheet.

See also

  • {{Style data}}
  • {{Stylesheet data}}
The above documentation is transcluded from Template:Script data/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Script_data&oldid=30090"
Categories:
  • Deprecated templates
  • Wikipedia-specific image insertion templates
Last edited on 11 August 2010, at 22:58

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 11 August 2010, at 22:58.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop