Jump to content

Template:Single notice/doc

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mr. Stradivarius (talk | contribs) at 06:11, 24 July 2015 (expand). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is a meta-template used to generate documentation for single-notice user warning templates like {{uw-tilde}}. User warning templates using this meta-template should follow the guidelines set by the user warnings project.

Syntax

All parameters



Parameters

* param1 - a two-or-three-word description of parameter |1=, to go inside template examples. (|1=} usually contains the page name of whatever page the message is about.) Defaults to "article". * param1 required - set to yes if |1= is required. * nopage - set to yes if there is no |1= parameter. * nothankyou - set to yes if the message does not end in "Thank you." By default, the template will say that additional text set with the |2= parameter will be used instead of the text "Thank you"; if you set this to yes, the template will instead say that |2= will be added at the end of the message. * required named params - use this parameter to add required named parameters to all of the example template invocations. They will be added as the first parameter to Template:Tlsc, so you should escape equals signs. For example, myparam{{=}}''example value'' will give the code myparam=example value. * extra usage - a space to add extra examples of how to use the template. * see also - a space to add "see also" links for the template. * banners - a space to add banners such as {{Twinkle standard installation}}. * s1, s2, s3 - template shortcuts.