(Created the Gadget template.) |
m (Added a staff parameter for staff only gadgets.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{ |
|||
| {{#if: {{{default<includeonly>|</includeonly>}}} | <sup><abbr title="This gadget is enabled by default only for Staff.">(Staff | Default)</abbr></sup> | <sup><abbr title="This gadget is enabled by default only for Staff.">(Staff)</abbr></sup> }} |
|||
⚫ | |||
| <sup><abbr title="{{int:gadgets-default}}"> |
| {{#if: {{{default<includeonly>|</includeonly>}}} | <sup><abbr title="{{int:gadgets-default}}">(Default)</abbr></sup> }} |
||
}}'''{{{1}}}:''' {{{2}}} {{ |
}}'''{{{1}}}:''' {{{2}}} {{#if: {{{nojs<includeonly>|</includeonly>}}} |
||
#if: {{{ |
| {{#if: {{{css|}}} |
||
| {{ |
|||
#if: {{{css|}}} |
|||
| <sup>[ |
| <sup>[ |
||
}} |
}} |
||
| <sup>[[[MediaWiki:Gadget-{{{3|}}}.js|''Source'']] |
| <sup>[[[MediaWiki:Gadget-{{{3|}}}.js|''Source'']] |
||
}}{{ |
}}{{#if: {{{css|}}} |
||
#if: {{{ |
| {{#if: {{{nojs<includeonly>|</includeonly>}}} |
||
| {{ |
|||
⚫ | |||
|| | |
|| | |
||
}}[[MediaWiki:Gadget-{{{3|}}}.css|''CSS'']]]</sup> |
}}[[MediaWiki:Gadget-{{{3|}}}.css|''CSS'']]]</sup> |
||
⚫ | |||
| {{ |
|||
#if: {{{nojs<includeonly>|</includeonly>}}} |
|||
|| ]</sup> |
|| ]</sup> |
||
}} |
}} |
Latest revision as of 13:51, 13 March 2025
(Default) {{{1}}}: {{{2}}} {{#vardefine: base page |
Template:Gadget
}}{{#vardefine: current page | Template:Gadget}}{{#vardefine: doc page |
{{#var: base page}}/doc
}}{{#vardefine: namespace |
Template
}}{{#vardefine: preload |
Template:Documentation/preload&summary=Create+%2Fdoc+subpage+for+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D&editintro=Template:Documentation/editintro-doc
}}{{#vardefine: preload-sandbox |
Template:Documentation/preload-sandbox&summary=Create+sandbox+subpage+for+experimenting+on+template+%5B%5B%7B%7B%23var%3A+base+page%7D%7D%5D%5D
}}{{#vardefine: sandbox |
{{#var: base page}}/sandbox
}}{{#vardefine: page text |
page
}}{{#vardefine: doc image |
}}
The documentation for this {{#var: page text}} does not exist. Create it at [[[:Template:Fullurl:]] {{#var: doc page}}].
Editors can experiment in this {{#var: page text}}'s sandbox ([[[:Template:Fullurl:]] create] | [[[:Template:Fullurl:]] mirror]) page.
[[Special:PrefixIndex/{{#var: current page}}|Subpages of this {{#var: page text}}]].