Wikipedia:RedWarn/Documentation/Quick Template

From Wikipedia, the free encyclopedia

Work in progress documentation - please help if you can!

About[edit]

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[edit]

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

  1. first option, you will be redirected to this page.
  2. The second button allows you to create your own template pack.

How to install template packs[edit]

Three dots on the right of the icon set opens "More Options"
The second last option is
RedWarn preferences

Installing a pre-existing template pack created by others is simpler than creating your own.

  1. Go to /templates and choose a template pack you would like to install.
  2. Copy the pack code below the pack description.
  3. Now go to RedWarn preferences,
  4. Scroll down to the purple "Quick Template" card on the bottom right sidebar and click "Install Template Pack"
  5. 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[edit]

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[edit]

Quick Template edit screen

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[edit]

Under 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[edit]

Please do not add cool different coloured icons to pages, because they look far too cool! Ed6767 (talk) 17:46, 25 May 2020 (UTC)[reply]

Other useful links[edit]

List of Quick Template Packs[edit]


Quick Welcome - by Ed6767[edit]

  • Adds two basic welcome templates - for impersonal welcoming of IPs and registered users

Pack Code[edit]

Ed6767/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[edit]

Ed6767/gQGSB0dvJ1

Bday Committee - by Prahlad balaji[edit]

All of the Birthday Committee templates.

Pack Code[edit]

Prahlad balaji/wOqMXriOZZ

StandardWelcome - by Prahlad balaji[edit]

Collection of welcome templates that do not imply any problem an account's contributions.

Pack Code[edit]

Prahlad balaji/WlkGl3rcRe

Welcome IP - by Prahlad balaji[edit]

Pack of IP welcomes.

Pack Code[edit]

Prahlad balaji/PeGIsmynAj

ProblemWelcome - by Prahlad balaji[edit]

Welcomes for accounts with possibly problematic edits.

Pack Code[edit]

Prahlad balaji/Y8EnQKJ5KD

Noticeboard - by Prahlad balaji[edit]

Notifications of discussions at noticeboards.

Pack Code[edit]

Prahlad balaji/x2qwecPlJS

RedWarn ExtUB - by Ed6767[edit]

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[edit]

Ed6767/p9iMHMBTH6

Talkback - by Ed6767[edit]

Notify IPs of messages on talk pages

Pack Code[edit]

Ed6767/TimtcfTHWh

Speedy Deletion - by 4thfile4thrank[edit]

Speedy deletion criteria - IN PROGRESS! 4thfile4thrank {talk} :? 23:50, 17 November 2020 (UTC)[reply]

Pack Code[edit]

Steve M/DeoNTKaRat

Christmas - by Asartea[edit]

Includes 8 templates related to wishing someone a happy Holiday. All templates come under an Level 2 "Happy Holidays!" header

Pack Code[edit]

Asartea/nrAahkGs9L

Welcome 60 Link - by Walrus Ji[edit]

Includes 4 templates

  1. {{WelcomeMenu}} with 60 links.
  2. Welcome with WikiProject invitation
  3. {{Welcome to Wikipedia}} with smileys
  4. Note to Sign talk page posts and comment with indentation.

Pack Code[edit]

Walrus Ji/qQfshN9boR

Barnstars - by Thanoscar21[edit]

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[edit]

Thanoscar21/nWShMUx7dG

Discretionary Sanctions alert - by Walrus Ji[edit]

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[edit]

Walrus Ji/9OSqqeWGGx

Helpful notes - by Walrus Ji[edit]

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[edit]

Walrus Ji/d5VVRQ7hpg

Full talkback - by User3749[edit]

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[edit]

User3749/96XHpzhcgz

WikiTrout pack - by User3749[edit]

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[edit]

User3749/OKuFonDgTb

NonEnglishEdits - by User3749[edit]

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[edit]

User3749/78rNyY1hr3

Kids' TV - by Qwerfjkl[edit]

No additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.

Pack Code[edit]

Qwerfjkl/6V4Bop2a5M

Userspace CSD - by Vitaium[edit]

These CSD tag is applied to userspace and user talk pages.

Pack Code[edit]

Vitaium/yQHaCc38gp

Draftify Pack - by Padgriffin[edit]

A pack of templates to inform users of a WP:Draftify move.

Pack Code[edit]

Padgriffin/kwNv4ityIH

Welcome User - by Levi_OP[edit]

Pack of basic welcome templates for newly registered users.

List of included templates

Pack Code[edit]

Levi_OP/oYJtppe0M9

Welcome user - by User3749[edit]

Includes all of the welcome templates used in Twinkle, minus the problem welcomes which will be included in a separate pack.

Pack Code[edit]

User3749/HquIXwZ8fI

Teahouse stuff - by Prodraxis[edit]

Useful templates for Teahouse hosts - e.g. talkback messages, invitations etc.

Pack Code[edit]

Prodraxis/wreINVjACL

The Trout Pack - by Brennan Everette[edit]

No additional info provided - pack owner, please edit this section and add additional info here or your pack may be removed.

Pack Code[edit]

Brennan Everette/iKtfSQ6DFE

CT Alerts - by User3749[edit]

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[edit]

User3749/Tw83cW8gNu

Trout+ - by The Master of Hedgehogs[edit]

Trout pack with some extras, such as the Side of Chips template and the Colonel

Pack Code[edit]

The Master of Hedgehogs/utM30vE2WX