- To place a notice at the top of an article saying that an active copy-edit is underway:
- {{GOCEinuse}}
- {{In use}} – a generic in-use session
- {{In use|time=~~~~~}} – generic in-use but showing in time/date, and last edit time/date
- {{In use|30 minutes to fix the information in the History section|time=~~~~~}} – customize the message regarding your in-use intentions and duration. When you save an edit the timekeeper resets to the current time.
- {{in use|section}} – to declare a section in-use session
To format a quote so that it appears in green text, useful for quoting something in a discussion:
{{tq|Type quote here.}}
"This is an example quote, optional quotation marks inside curly brackets." "This is an example quote, optional quotation marks outside. "
This is an example quote with no quotation marks. Usually used like this. The quote will appear in green. Optional quotation marks go inside the curly brackets if they are part of the quote, outside if they are not. Quotation marks are usually not used with this template. The green text makes it clear that it is a quote.
Not a template, but another way to highlight text, useful for highlighting text in a discussion. Select color from "Web colors" link below.:
<span style="color: purple">Text goes here.</span>
Here is an example with purple text: Text goes here..
To format a block quote that requires an attribution (that is, the person who said it). This particular example also includes a reference:
{{quote|Quote goes here|Attribution goes here}} {{quote|This doesn't have to be liberal versus pro-business debate.|Andrew Morgan, director<ref>http://www.this-is-a-dummy-ref.org</ref>}}
Note: To omit the attribution, remove the second pipe like this: {{quote|Quoted text[1]}} . If the 2nd pipe is removed then the reference will hang on the quoted portion instead of on the attributed portion. Multiple references may be used, and they may be of any WP approved style. Of course, a reference is not always necessary in a quote. In that case, just use: {{quote|Quoted text}} or {{quote|Quoted text|Attribution text}}
To format a block quote and keep the line break structure, poem or otherwise:
{{quote|quote=Put quoted text here without double quote marks here.|source=Put source of quote here}}
Be sure to leave the equals signs in place.
Here is an example:
{{quote|quote=<poem>Their names discover what their natures are,
More hard than stones, and yet not stones indeed.</poem>|source=I.i.181-2}}
How to create a diff from two adjacent edits
- Go to Revision History, and find the edit.
- Left-click on "Prev".
- Look up at top of page at the URL. Toward the end there should be two numbers, something like this: revision&diff=695592676&oldid=695592296
- Use this template,
Type two curly brackets; type "diff", followed by a pipe; type the exact title of the page (no underline is needed). Next, from the URL, put the larger/higher number (representing the newer version) to the left (i.e. first) and the smaller/lower number (representing the older version) to the right (i.e. second). You can just highlight the sequence of numbers and "&oldid=" that appear near the end of the URL, click "Copy", then paste after the pipe that follows the page title, and then change "&oldid=" to a pipe.) A label (such as "this", "this edit", or "here") following a pipe is optional. Finally, type two closing curly brackets. Here is an example:
{{diff|User talk:Corinne|695573832|695552708|comparing a newer page to an older page by version numbers}}
Or you could just put one number after "prev" (from a URL in which you see prev&oldid=695552708):
{{diff|User talk:Corinne|prev|695552708|Optional label here}}
Or you can use the template to compare any two nonadjacent page versions by taking one page version number from one nonadjacent page and one page version from another nonadjacent page.
To hat, or collapse, a section:
{{collapse top|top title goes here|bg=}}
The material you want to hat (hide from view) goes here. (Can be a template.)
{{collapse bottom}}
En-dash and em-dash templates
Click on each template link below for template documentation:
- Non breaking space: {{nbsp}}
- No-space breaking em-dash (but is sticky on the left): {{nsmdns}} (no-space m-dash no-space as a mnemonic)
- No-space ndash: {{ndash}} or {{nsndns}}
- Spaced non-breaking en-dash: {{snds}} (spaced n-dash space as a mnemonic)
- Spaced breaking en-dash: {{snd}}
- Line break: {{brk}} (replaces HTML tag <br> or identically functioning but more correct <br />)
Note: You cannot use a template, which is written with curly brackets, inside a reference that is in the "cite ref" template format (with curly brackets) or inside any other template such as the quote template, which also uses curly brackets. In that case, use for a no-break space and – or — .
En-dash and em-dash keyboard shortcuts (at least on a Mac)
- En-dash: Alt+-
- Em-dash: Alt+Shift+-
Optional soft hyphen
{{shy}} Use this sparingly. Two places it might be appropriate to use are where there is a long word in a narrow column of text, or a long word in a caption. The main reason to use it is to avoid a very ragged (markedly in-and-out) right margin. The hyphen won't necessarily appear. It would only appear if the long word ended up at the end of a line. See the template documentation (type "Template:Shy" into the search bar) for how to use it. There are a few options there. See also MOS:SHY.
Converting units (height, weight, length, distance, speed, etc.) from one system to another:
- Information about the conversion templates:
{{convert}}
- List of units: Template:Convert/list of units
- Example conversion templates for high numbers:
{{convert|13100000|km2}} → 13,100,000 square kilometres (5,100,000 sq mi) or {{convert|13.1e6|km2}} → 13.1×106 square kilometres (5.1×106 sq mi)
To create a link to a user without pinging him/her
use the noping template {{noping}} : {{noping|User name here}}
Text colors
|