Ye olde Lwarrenwiki cheat sheet (Edit cheatsheet)
Sample page protection request, for use at WP:RFPP. See User:Lwarrenwiki/sandbox#Hamiltrash template maker for more variations.
=== [[:Angelica Hamilton]] === * ((pagelinks|Angelica Hamilton)) '''Indefinite semi-protected:''' Semi-protection requested due to moderate but highly persistent level of long-term [[WP:SPA]] and IP vandalism related to [[:Hamilton (musical)|''Hamilton'' (musical)]], conforming to long-standing #[[List of fandom nicknames#Hamiltrash|Hamiltrash]] pattern of vandalism. ~~~~ === ''Hamilton''-related vandalism pattern === * ((pagelinks|Angelica Schuyler Church)) * ((pagelinks|Eliza Hamilton Holly)) * ((pagelinks|Theodosia Burr Alston)) '''Indefinite pending changes protection:''' Persistent [[WP:SPA]] and IP vandalism related to [[:Hamilton (musical)|''Hamilton'' (musical)]], conforming to long-standing #[[List of fandom nicknames#Hamiltrash|Hamiltrash]] pattern of vandalism. Outbreaks have continued sporadically over a long term, about three years. ~~~~
Automated warnings can be generated by Twinkle, when pulled down on the editor's User page or User Talk page. This proved easier and more versatile than my sidebar hack at User:Lwarrenwiki/hamiltrash.js and my previous manual template (both detailed in the collapsed section below). Sample comments:
General | [extra line break] * Disruptive edit reverted. Insertion of content related to ((subst:fti|Hamilton (musical))), conforms to common [[List of fandom nicknames#Hamiltrash|Hamiltrash]] pattern of vandalism. |
Lams | [extra line break] * Disruptive edit reverted. Insertion of Lams [[shipping (fandom)]] content related to ((subst:fti|Hamilton (musical))), conforms to common [[List of fandom nicknames#Hamiltrash|Hamiltrash]] pattern of vandalism. |
Lyrics | [extra line break] * Disruptive edit reverted. Insertion of ((subst:fti|Hamilton (musical))) lyrics, conforms to common [[List of fandom nicknames#Hamiltrash|Hamiltrash]] pattern of vandalism. |
Variations on the user warning message
|
---|
== ((subst:CURRENTMONTHNAME)) ((subst:CURRENTYEAR)) vandalism == * Please do not add nonsense to Wikipedia. Such edits are considered vandalism and quickly undone. |
Report a VOA at the AIV noticeboard (edit page here):
* ((vandal|[[:XXXXX]])) Vandalism pattern over several days/warnings. ((subst:4~))
On the editor's User page or User Talk page, pull down the Twinkle menu. Select AIV and AN3 to generate a report with automatic diffs at the WP:AN3 (aka WP:3RRV) administrators' noticeboard.
Resolved | This is done. |
((Tmbox|image=((Resolved mark))|text=This is done.))
((Edit semi-protected|demo=yes|answered=yes))
Template:Edit semi-protected produces a small box on the right, e.g., for deactivating a request for an edit to a semi-protected page.
Template:ESp includes a long list of templates for adding a detailed response when deactivating a request for an edit to a semi-protected page.
ESp templates for graphical icons
|
---|
For more graphic checkmarks, see the long list of variations at Template:Done/See also. These include:
|
For an inline wikilink to a single-edit diff, only the ID of the older page (oldid) is needed:
[[Special:Diff/oldid]]
[[Special:Diff/oldid|this edit]]
[[Special:Diff/oldid/newid]]
gives diff between versions <oldid> and <newid>, which need not be in the same articleLikely to be piped and parenthesized on talk pages, as ([[Special:Diff/<oldid>|diff]])
– produces (diff).
See also Help:Special page.
The fti template (short for "format title: italic") italicizes the non-parenthetical portion of a page title, and links to the given page.
((subst:fti|Hex (Hex album)))
becomes Hex (Hex album)The ftq template (short for "format title: quotes") puts the non-parenthetical portion of a page title in double quotes, and links to the given page.
((subst:ftq|24 (Game Theory song)))
becomes "24" (Game Theory song)These are intended for formatting article titles on disambiguation pages, and should always be subst-ed.
Use ((tl|Name))
(short for template link) for a link to a template page.
Use ((tlx|Name|param1|param2))
(template link expanded) for a link to a template page with parameters.
To suppress execution when wikilinking to a template, add a colon at the beginning, e.g., [[:Template:___]]
.
To replace and <br />:
) are produced.((br|n))
for n line breaks((Block indent))
for things that aren't in lists, or where a colon doesn't work((Show by date|year|month|day|text before|text after|options))
((As of|year|month|day|options))
((subst:Unsigned|user name|time, day month year (UTC)))
((subst:Unsigned IP|user IP address|time, day month year (UTC)))
Example:
((subst:Unsigned|Example|21:57, 6 April 2024 (UTC)))
will yield:Automatic
Use ((Div col|colwidth=nnem))
and ((Div col end))
templates for automatically-balanced columns.
((Div col|colwidth=nnem))
specifies minimum width of columns and automatically determines number of columns based on screen width. (If no colwidth is supplied, the template uses a default of 30em.)((Div col|colwidth=30em|content=
* One
* Two
))
allows the avoidance of ((Div col end))
((Div col|rules=___))
adds vertical lines between columns if set to yes or to any CSS styling (e.g., rules=1px dashed blue;
)((Div col|gap=nnem))
specifies spacing between columns((Div col|style=___))
specifies CSS styling to apply to the columns((colbegin))
and ((colend))
are redirects to these templatesManual
The ((col-begin)), ((col-break)) and ((col-end)) templates control columns of text on a page:
|
7 metatemplates in the Module:Message box family: |
Closely related metatemplates:
|
A full-width example generated with ((Ivmbox|A full...|Information icon4.svg))
Extended content
|
---|
The following is a closed discussion. Please do not modify it. |
((collapse top |warning=yes)) [ ... ] ((collapse bottom)) ((Ivmbox| * Summary point 1 * Summary point 2 |Information icon4.svg)) Refactored this section by collapsing the lengthy discussion. Added notice box text to summarize. ~~~~ |
Refactored this section by collapsing the lengthy discussion. Added notice box text to summarize. ~~~~
|
The above is done with: (📌 ((Resize|75%|''pinned post'')))
Example of Template:CSS image crop
|
---|
((CSS image crop |Image = Name of the image file, or may accept ((Annotated image)). |bSize = Base image width in pixels (the image we are cropping on) |cWidth = Crop image width in pixels |cHeight = Crop image height in pixels |oTop = Offset top in pixels, optional, defaults to 0 when omitted |oLeft = Offset left in pixels, optional, defaults to 0 when omitted |Location = 'right', 'left', 'center' or 'none' (determines image placement on page) — defaults to 'right' for thumbs or when description is provided — defaults to 'left' for non-thumbs or when description is blank |Description = Description (will render out using thumbnail class) |Link = Name of an article to be linked by clicking on the image (usually omit) |Alt = Alt text for the image. |Page = Page of the file, if there are multiple pages (such as pdf files). |magnify-link = Image to be linked by the magnify icon (usually omit) )) |
Example of Template:Multiple image
|
---|
((multiple image | align = right | direction = horizontal | total_width = 300 | background color = Wheat | header_background = White | header = Arms of Hamilton of [[Kerelaw Castle|Grange]] | image1 = Arms of Hamilton of Grange.svg | alt1 = Hamilton of Grange arms | caption1= Arms: ''Gules'', a lion rampant, ''argent''... | image2 = Armorial of Hamilton of Grange (1823).jpg | alt2 = Hamilton of Grange arms, crest, and motto | caption2= Arms, crest, and motto | footer_background = White | footer = Arms of the [[Laird]]s of Grange in Ayrshire, Scotland, including Hamilton's paternal grandfather )) |
To submit a cleanup request, see commons:Media for cleanup.
((Cleanup image|1=___))
To submit a crop request, see commons:Template:Crop for Wikidata.
((Crop for Wikidata |1=Wikidata Q item number |2=Crop instructions))
Steps to take when cropping in Commons
|
---|
It has been requested to crop a part of this image, so that the cropped part can serve as its own image for Wikidata:Q000000.
If you perform the crop, please
If cropping a JPEG, it is generally preferable to use a lossless cropping tool such as on Wikimedia Toolforge, jpegtran, or in some cases GIMP, ImageMagick, IrfanView, XnView. For more help, see Media for cleanup. |
Rcats are maintenance templates used to categorize redirect pages (e.g., R from..., R to...)
((R template index))
– navigation box summary((Redirect category shell))
Requests and renewals at Wikipedia Library Card Platform: https://wikipedialibrary.wmflabs.org/users/
Use Wikipedia:Requested moves/Technical requests for uncontroversial technical requests.
Contents of my personal namespace: