This template uses TemplateStyles: |
This template uses Lua: |
{{user script table}} and {{user script table row}} are used to render tables in Wikipedia:User scripts/List.
{{user script table}} embeds the TemplateStyles and renders the table head. {{user script table row}} is used between {{user script table}}
and |}
to render the row for each script.
Employing the full syntax:
{{user script table}} {{user script table row |code=User:Jackmcbarn/editProtectedHelper.js |doc=User:Jackmcbarn/editProtectedHelper |name=editProtectedHelper |desc=Quickly respond to [[WP:ER|edit requests]] with a form added to the bottom of request banners. |indent=0 }} |}
This is equivalent to:
{{user script table}} {{user script table row |code=User:Jackmcbarn/editProtectedHelper.js |desc=Quickly respond to [[WP:ER|edit requests]] with a form added to the bottom of request banners. }} |}
Which renders:
Name | Description | Users | |
---|---|---|---|
Total | Active | ||
editProtectedHelper (source) | Quickly respond to edit requests with a form added to the bottom of request banners. | 525 | 210 |
Parameters for {{user script table row}}:
|code=
User:
and ending in .js
. If omitted, it is generated by appending .js
to |doc=
. If set to none
, the source link doesn't appear.|doc=
|code=
, provided the page exists.|name=
|code=
or |doc=
.|desc=
|indent=
Only either |code=
or |doc=
is truly required.
The usage statistics is taken from Wikipedia:User scripts/Most imported scripts, by way of Module:User script table row/data.