Wikipedia:RedWarn/Documentation/Quick Template

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: If you click on the
 * Help/Get more template packs
 * Create new template pack
 * 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
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 Ic settings 48px.svg 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.

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:
 * - tells RedWarn to place this template under the current date header, like a notice
 * will produce the username of the target user (will show as "API" in previews)


 * For text inputs, use  (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.

Under date example
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)