Wikipedia:RedWarn/Documentation/Quick Template
The RedWarn team is currently in the process of renaming to Ultraviolet. Some documentation pages are still in the process of being written/transferred. Read the announcement here. |
Work in progress documentation - please help if you can!
About
The quick template tool allows you to quickly add canned messages to a userpage. The tool is accessed by clicking on the "Quick Template" button at the top of the page (only shows up on user and usertalk pages).
Template packs
By default, the tool contains no templates. These instead come from template packs created by other users. The second button opens a new window titled "Select Template Pack". By default, this window will contain 2 buttons:
- Help/Get more template packs
- Create new template pack
If you click on the
- first option, you will be redirected to this page.
- The second button allows you to create your own template pack.
How to install template packs
Installing a pre-existing template pack created by others is simpler than creating your own.
- Go to /templates and choose a template pack you would like to install.
- Copy the pack code below the pack description.
- Now go to RedWarn preferences,
- Scroll down to the purple "Quick Template" card on the bottom right sidebar and click "Install Template Pack"
- Paste in the template code into the alert box and press OK.
Once a pack is installed, you can use the quick template feature to apply that template to a user's talk page.
Updating
If a pack creator has updated the pack, to update, open the quick template editor and delete the current pack, then reinstall it.
How to make your own template packs
You can create and modify packs by clicking "create new" or the pencil icon in the quick template screen. This will present you with a naming dialog and then the edit screen which fully supports all normal Wikitext. In addition to normal wikitext there are also a few special RedWarn shortcuts:
<!-- ##RW UNDERDATE## -->
- tells RedWarn to place this template under the current date header, like a notice{{subst:BASEPAGENAME}}
will produce the username of the target user (will show as "API" in previews)- For text inputs, use
{{RWTEXT|Title|UniqueID}}
(replacing "title" and "UniqueID" with a title for the textbox and a unique ID) - See also: WP:VAR - these are also supported.
Once you're finished, you can publish the pack by using the "manage publishing" button. You can also use this to update previously published scripts.
Quick template syntax examples
Under date example
<!-- ##RW UNDERDATE## -->
[[File:Information black.svg|24px]] '''Please do not''' add cool different coloured icons to pages, because they look far too cool! ~~~~
produces:
May 2020
Please do not add cool different coloured icons to pages, because they look far too cool! Ed6767 (talk) 17:46, 25 May 2020 (UTC)
Other useful links
- Useful Icon Gallery (commons)
List of Quick Template Packs
The RedWarn team is currently in the process of renaming to Ultraviolet. Some documentation pages are still in the process of being written/transferred. Read the announcement here. |
Quick Welcome - by Ed6767
- Adds two basic welcome templates - for impersonal welcoming of IPs and registered users
Pack Code
Ed6767/swT0Qxhjb8
Trout Pack - by Ed6767
- With the trout pack, you can get quick access to three WikiTrout templates
- Last updated: 16:49, 7 June 2020 (UTC)
Pack Code
Ed6767/gQGSB0dvJ1
Bday Committee - by Prahlad balaji
All of the Birthday Committee templates.
Pack Code
Prahlad balaji/wOqMXriOZZ
StandardWelcome - by Prahlad balaji
Collection of welcome templates that do not imply any problem an account's contributions.
Pack Code
Prahlad balaji/WlkGl3rcRe
Welcome IP - by Prahlad balaji
Pack of IP welcomes.
Pack Code
Prahlad balaji/PeGIsmynAj
ProblemWelcome - by Prahlad balaji
Welcomes for accounts with possibly problematic edits.
Pack Code
Prahlad balaji/Y8EnQKJ5KD
Noticeboard - by Prahlad balaji
Notifications of discussions at noticeboards.
Pack Code
Prahlad balaji/x2qwecPlJS
RedWarn ExtUB - by Ed6767
RedWarn Extend User base pack, for RedWarn related notices. It's recommended you don't use these unless you've involved in the development of the RedWarn project.
Pack Code
Ed6767/p9iMHMBTH6
Talkback - by Ed6767
Notify IPs of messages on talk pages
Pack Code
Ed6767/TimtcfTHWh
Speedy Deletion - by 4thfile4thrank
Speedy deletion criteria - IN PROGRESS! 4thfile4thrank {talk} :? 23:50, 17 November 2020 (UTC)
Pack Code
Steve M/DeoNTKaRat
Christmas - by Asartea
Includes 8 templates related to wishing someone a happy Holiday. All templates come under an Level 2 "Happy Holidays!" header
Pack Code
Asartea/nrAahkGs9L
Welcome 60 Link - by Walrus Ji
Includes 4 templates
- {{WelcomeMenu}} with 60 links.
- Welcome with WikiProject invitation
- {{Welcome to Wikipedia}} with smileys
- Note to Sign talk page posts and comment with indentation.
Pack Code
Walrus Ji/qQfshN9boR
Barnstars - by Thanoscar21
Includes the original barnstar, the tireless contributor barnstar, the anti-vandalism barnstar, the defender of the wiki barnstar, and the barnstar of diligence. (UPDATE 1/2/21: added level 2 heading "A barnstar for you!")
Pack Code
Thanoscar21/nWShMUx7dG
Discretionary Sanctions alert - by Walrus Ji
Template:Ds/alert for IPA, BLP, Pseudoscience - Fringe theory and Alternative medicine. More templates can be added by editing the dialogue box while posting it on user talk pages.
Pack Code
Walrus Ji/9OSqqeWGGx
Helpful notes - by Walrus Ji
1. Grammar: Note for new editors with poor English skills to seek help from talk page. (credits: Prolix)
(More templates will be added on request)
Pack Code
Walrus Ji/d5VVRQ7hpg
Full talkback - by User3749
Full talkback pack. Includes options to use talkback template on own or other's user talk pages, and {{YGM}} and {{Please see}} templates.
Pack Code
User3749/96XHpzhcgz
WikiTrout pack - by User3749
Access to almost all WikiTrout templates listed at Wikipedia:Whacking with a wet trout#Versions. Includes:
- normal trout
- whale trout
- diet trout
- small trout
- minnow
- multi trout
- trout overdone notice
Pack Code
User3749/OKuFonDgTb
NonEnglishEdits - by User3749
Warnings for edits that are not in English. Includes 2 templates, one for non-English discussions and the other for non-English content. Note that the title is in CamelCase due to the maximum character limit in the pack title.
Important notice: This template pack was updated on March 9, 2024. Prior to this update, the non-English content template had an issue with implementation that would cause the template to be transcluded rather than substituted (where the latter would be appropriate), and would cause the template to use French. All users who installed this template before this date would need to delete the template from their list and reinstall it. Those who have not yet loaded this template onto their list and who would like to install this template are not affected.
Pack Code
User3749/78rNyY1hr3
Kids' TV - by Qwerfjkl
No additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.
Pack Code
Qwerfjkl/6V4Bop2a5M
Userspace CSD - by Vitaium
These CSD tag is applied to userspace and user talk pages.
Pack Code
Vitaium/yQHaCc38gp
Draftify Pack - by Padgriffin
A pack of templates to inform users of a WP:Draftify move.
Pack Code
Padgriffin/kwNv4ityIH
Welcome User - by Levi_OP
Pack of basic welcome templates for newly registered users.
Pack Code
Levi_OP/oYJtppe0M9
Welcome user - by User3749
Includes all of the welcome templates used in Twinkle, minus the problem welcomes which will be included in a separate pack.
Pack Code
User3749/HquIXwZ8fI
Teahouse stuff - by Prodraxis
Useful templates for Teahouse hosts - e.g. talkback messages, invitations etc.
Pack Code
Prodraxis/wreINVjACL
The Trout Pack - by Brennan Everette
No additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.
Pack Code
Brennan Everette/iKtfSQ6DFE
CT Alerts - by User3749
This pack provides the three contentious topics alerts. For guidelines on how to use, please refer to this policy. Note: the use of QT for this is in line with this policy, as RW is considered supervised editing, and not automated editing and this policy does not prohibit the use of supervised editing for this.
Pack Code
User3749/Tw83cW8gNu
Trout+ - by The Master of Hedgehogs
Trout pack with some extras, such as the Side of Chips template and the Colonel
Pack Code
The Master of Hedgehogs/utM30vE2WX