No edit summary Tag: rte-source |
(Adding TR from infobox language.) |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 2: | Line 2: | ||
{{Infobox JavaScript |
{{Infobox JavaScript |
||
| Image file = QuickTemplate.png |
| Image file = QuickTemplate.png |
||
− | | Image size = 250 |
||
| Description = Add a template easily and quick in page. |
| Description = Add a template easily and quick in page. |
||
− | | Scope = |
+ | | Scope = p |
− | | Author = [[User:Shodai Tsuchi|Shodai Tsuchi]] |
+ | | Author = [[User:Shodai Tsuchi|Shodai Tsuchi]]<br />[[User:KockaAdmiralac|KockaAdmiralac]] |
− | | Updated = |
+ | | Updated = {{Updated|MediaWiki:QuickTemplate/code.js}} |
− | | Code = [[/code.js]] |
+ | | Code = [[MediaWiki:QuickTemplate/code.js|code.js]] |
+ | | Languages = {{l|en|be|pl|ru|sr-ec|sr-el|tr|uk}} |
||
− | | Skins = ? |
||
− | | |
+ | | Type = editing |
+ | }} |
||
'''QuickTemplate''' is a script to add a template on a page quickly and easily. |
'''QuickTemplate''' is a script to add a template on a page quickly and easily. |
||
+ | |||
− | {{clear}} |
||
− | == |
+ | == Usage == |
− | {{Script |
+ | {{Script Install |
⚫ | |||
− | |Source=<syntaxhighlight lang="javascript"> |
||
⚫ | |||
− | </syntaxhighlight> |
||
}} |
}} |
||
− | If you're already using <code>importArticles()</code>, you can import the script by adding the below to the article list. |
||
− | <source lang="javascript">"u:dev:QuickTemplate/code.js",</source> |
Revision as of 11:04, 6 October 2019
This script/stylesheet is for PERSONAL use only!
You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js or MediaWiki:Fandomdesktop.css), as it would violate Fandom's Terms of Use.
(See the customization policy)
QuickTemplate is a script to add a template on a page quickly and easily.
Usage