साँचा:Infobox Wikipedia user script/doc
यह प्रलेखन उपपृष्ठ साँचा:Infobox Wikipedia user script के लिए है। इसमें उपयोग विधि की जानकारी, श्रेणियाँ और वह वस्तुएँ हैं जो कि असली साँचा के पृष्ठ पर नही हैं। |
This template uses Lua: |
Usage
संपादित करेंThis infobox is intended to be used on user script description/documentation pages.
[[File:{{{logo}}}|{{{logosize}}}|alt={{{logoalt}}}|upright={{{logoupright}}}|{{{logoalt}}}]] | |
[[File:{{{screenshot}}}|{{{screenshotsize}}}|alt={{{screenshotalt}}}|upright={{{screenshotupright}}}|{{{screenshotalt}}}]] | |
Description | {{{desc}}} |
---|---|
Author(s) | {{{author}}} |
Maintainer(s) | {{{maintainer}}} |
Status | {{{status}}} |
First released | {{{released}}} |
Version | {{{version}}} |
Updated | {{{updated}}} |
Browser support | {{{browsers}}} |
Skin support | {{{skins}}} |
Source | {{{source}}} |
GitHub repository | {{{github}}} |
Full syntax
संपादित करें{{infobox Wikipedia user script
|styled =
|bodystyle =
|install-target =
|name =
|logo =
|logosize =
|logoupright =
|logoalt =
|logo-caption =
|screenshot =
|screenshotsize =
|screenshotupright =
|screenshotalt =
|screenshot-caption =
|desc =
|author =
|maintainer =
|status =
|released =
|version =
|updated =
|browsers =
|skins =
|source = <!-- or " |mainsource = " or " |beta = " -->
|gitHub = <!-- or " |Github = " -->
|categorize = <!-- or " |cat = " -->
}}
Example
संपादित करेंDescription | Does something useful |
---|---|
Author(s) | Username |
Status | Stable |
First released | जुलाई 7, 2008 |
Version | 2.1.0 |
Updated | मार्च 3, 2013 |
Browser support | Firefox, Chrome |
Skin support | Vector |
Source | User:Username/Example.js |
{{infobox user script
| name = MyScript
| desc = Does something useful
| author = [[User:Username|Username]]
| updated = {{start date and age|2013|03|03}}
| status = Stable
| released = {{start date and age|2008|07|07}}
| version = 2.1.0
| source = [[User:Username/Example.js]]
| skins = Vector
| browsers = [[Firefox]], [[Google Chrome|Chrome]]
| logo = [[File:Wikimedia-logo.svg|50px]]
| screenshot = [[File:Floater script screenshot.png|300px]]
| screenshot-caption = MyScript in action
}}
- Add
|styled = yes
for an alternate colored version (see second example):
MyScript | |
---|---|
Description | Does something useful |
Author(s) | Username |
Status | Stable |
First released | जुलाई 7, 2008 |
Version | 2.1.0 |
Updated | मार्च 3, 2013 |
Browser support | Firefox, Chrome |
Skin support | Vector |
Source | User:Username/Example.js |
{{infobox user script
| name = MyScript
| desc = Does something useful
| author = [[User:Username|Username]]
| updated = {{start date and age|2013|03|03}}
| released = {{start date and age|2008|07|07}}
| status = Stable
| version = 2.1.0
| source = [[User:Username/Example.js]]
| skins = Vector
| browsers = [[Firefox]], [[Google Chrome|Chrome]]
| styled = yes
}}
Parameters
संपादित करें- name: The name of the script. Defaults to page name.
- desc: A short description of what the script does.
- author: The script author's user name.
- released: When the script was first released.
- updated: The date of last update. Use {{start date and age}} to automatically display time since the last update.
- status: Script's development status. You may describe this any way you like, such as alpha/beta/release, or stable/experimental/inactive.
- source: The source code page.
- skins: Supported skins.
- browsers: Supported web browser(s).
- github: The script's repository on GitHub, as input to the
{{github}}
template. - logo: Image file address for logo
- logoupright: See Module:InfoboxImage: upright=yes displays image at 75% of default size, upright=value with values under 1 scaling the image down (0.9 = 90%) and values greater than 1 scaling the image up (1.15 = 115%).
- logosize: Logo size in pixels. Use of logoupright is recommended as pixels can vary in size depending on display used.
- screenshot: Image file address for screenshot
- screenshotupright: See logoupright.
- screenshotsize: See logosize.
- screenshot-caption: Text caption for screenshot
- styled: Set to
yes
for an alternate colored version (see example above) - categorize: Set to
no
to prevent categorizing the page into Category:Wikipedia scripts
The following parameters can aid in automatic installation:
- mainsource: The main source file, which is to be loaded from the user's custom script.
- install-target: The preferred page on which the script should be included. The default is
common.js
.
Templatedata
संपादित करेंकोई विवरण नहीं।
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
styled | styled | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
bodystyle | bodystyle | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
mainsource | mainsource | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
install-target | install-target | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
name | name | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
logo | logo | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
logosize | logosize | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
logoalt | logoalt | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
logo-caption | logo-caption | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
screenshot | screenshot | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
screenshotsize | screenshotsize | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
screenshotalt | screenshotalt | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
screenshot-caption | screenshot-caption | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
desc | desc | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
author | author | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
maintainer | maintainer | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
status | status | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
released | released | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
version | version | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
updated | updated | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
browsers | browsers | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
skins | skins | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
beta | beta | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
source | source | कोई विवरण नहीं | अज्ञात | वैकल्पिक |
github | github | कोई विवरण नहीं | अज्ञात | वैकल्पिक |