Jump to content

Template:Burma-shave-notice/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Modified doc to add agf and vandal as possible notices
Line 31: Line 31:
* inclusiveness: {{Burma-shave-notice| 1=inclusiveness | layout=horizontal}}
* inclusiveness: {{Burma-shave-notice| 1=inclusiveness | layout=horizontal}}
* agf: {{Burma-shave-notice| 1=agf | layout=horizontal}}
* agf: {{Burma-shave-notice| 1=agf | layout=horizontal}}
* vandal: {{Burma-shave-notice| 1=vandal | layout=horizontal}}
* ''A unknown or invalid value returns:'' {{Burma-shave-notice| 1=foo | layout=horizontal}}
* ''A unknown or invalid value returns:'' {{Burma-shave-notice| 1=foo | layout=horizontal}}


Line 52: Line 53:
"section",
"section",
"involved",
"involved",
"teahouse"
"teahouse",
"vandal",
"agf"
]
]
},
},

Revision as of 00:24, 18 October 2022

This template presents prepackaged notices in the form of the Burma-shave ads once seen on American highways. It is intended to be used as a humorous notification to experienced editors. It should be used for editors who you have a good relationship with to give them a friendly nudge. With new or grumpy editors (or if you're not sure the editor will take the joke well), just use a standard message or warning template.

The {{burma-shave}} template can be used for creating your own custom Burma-Shave poem.

Usage

{{Burma-shave-notice
| 1=
| layout=
}}

Parameters

  • 1 - The notice to use (see below). Capitalization doesn't matter.
  • layout - The layout to use, default is "vertical". Choices are "horizontal" and "vertical".

Notices

TemplateData

Displays pre-written Burma-Shave notices.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Notice name1

The name of the notice to use. Case insensitive. See documentation subpage for valid options.

Suggested values
aninotice crappy battleground disengage promo sign contentdispute section involved teahouse vandal agf
Example
contentdispute
Stringoptional
Layoutlayout

Whether to display the notice vertically (vertical) or horizontally (horizontal)

Suggested values
horizontal vertical
Default
vertical
Example
horizontal
Stringoptional