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
editThe 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
editBy 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
editInstalling 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
editIf 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
editYou 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
editUnder date example
edit
<!-- ##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
editPlease 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
edit- Useful Icon Gallery (commons)
List of Quick Template Packs
editThe 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
edit- Adds two basic welcome templates - for impersonal welcoming of IPs and registered users
Pack Code
editEd6767/swT0Qxhjb8
Trout Pack - by Ed6767
edit- With the trout pack, you can get quick access to three WikiTrout templates
- Last updated: 16:49, 7 June 2020 (UTC)
Pack Code
editEd6767/gQGSB0dvJ1
Bday Committee - by Prahlad balaji
editAll of the Birthday Committee templates.
Pack Code
editPrahlad balaji/wOqMXriOZZ
StandardWelcome - by Prahlad balaji
editCollection of welcome templates that do not imply any problem an account's contributions.
Pack Code
editPrahlad balaji/WlkGl3rcRe
Welcome IP - by Prahlad balaji
editPack of IP welcomes.
Pack Code
editPrahlad balaji/PeGIsmynAj
ProblemWelcome - by Prahlad balaji
editWelcomes for accounts with possibly problematic edits.
Pack Code
editPrahlad balaji/Y8EnQKJ5KD
Noticeboard - by Prahlad balaji
editNotifications of discussions at noticeboards.
Pack Code
editPrahlad balaji/x2qwecPlJS
RedWarn ExtUB - by Ed6767
editRedWarn 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
editEd6767/p9iMHMBTH6
Talkback - by Ed6767
editNotify IPs of messages on talk pages
Pack Code
editEd6767/TimtcfTHWh
Speedy Deletion - by 4thfile4thrank
editSpeedy deletion criteria - IN PROGRESS! 4thfile4thrank {talk} :? 23:50, 17 November 2020 (UTC)
Pack Code
editSteve M/DeoNTKaRat
Christmas - by Asartea
editIncludes 8 templates related to wishing someone a happy Holiday. All templates come under an Level 2 "Happy Holidays!" header
Pack Code
editAsartea/nrAahkGs9L
Welcome 60 Link - by Walrus Ji
editIncludes 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
editWalrus Ji/qQfshN9boR
Barnstars - by Thanoscar21
editIncludes 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
editThanoscar21/nWShMUx7dG
Discretionary Sanctions alert - by Walrus Ji
editTemplate: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
editWalrus Ji/9OSqqeWGGx
Helpful notes - by Walrus Ji
edit1. 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
editWalrus Ji/d5VVRQ7hpg
Full talkback - by User3749
editFull talkback pack. Includes options to use talkback template on own or other's user talk pages, and {{YGM}} and {{Please see}} templates.
Pack Code
editUser3749/96XHpzhcgz
WikiTrout pack - by User3749
editAccess 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
editUser3749/OKuFonDgTb
NonEnglishEdits - by User3749
editWarnings 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
editUser3749/78rNyY1hr3
Kids' TV - by Qwerfjkl
editNo additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.
Pack Code
editQwerfjkl/6V4Bop2a5M
Userspace CSD - by Vitaium
editThese CSD tag is applied to userspace and user talk pages.
Pack Code
editVitaium/yQHaCc38gp
Draftify Pack - by Padgriffin
editA pack of templates to inform users of a WP:Draftify move.
Pack Code
editPadgriffin/kwNv4ityIH
Welcome User - by Levi_OP
editPack of basic welcome templates for newly registered users.
Pack Code
editLevi_OP/oYJtppe0M9
Welcome user - by User3749
editIncludes all of the welcome templates used in Twinkle, minus the problem welcomes which will be included in a separate pack.
Pack Code
editUser3749/HquIXwZ8fI
Teahouse stuff - by Prodraxis
editUseful templates for Teahouse hosts - e.g. talkback messages, invitations etc.
Pack Code
editProdraxis/wreINVjACL
The Trout Pack - by Brennan Everette
editNo additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.
Pack Code
editBrennan Everette/iKtfSQ6DFE
CT Alerts - by User3749
editThis 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
editUser3749/Tw83cW8gNu
Trout+ - by The Master of Hedgehogs
editTrout pack with some extras, such as the Side of Chips template and the Colonel
Pack Code
editThe Master of Hedgehogs/utM30vE2WX