User:RobbieIanMorrison/sandbox/markup


 * 12,345 — get documentation for 'formatnum'
 * mw:Help:Magic words
 * ä ë ö ü Ä Ë Ö Ü ß € ¢ °C °F – —
 * #REDIRECT target   must be on line number1 but can have trailing comments
 * X11 web colors
 * ../table
 * X11 web colors
 * ../table
 * ../table

Basic markup

 * italic : ''
 * bold : '''

Tables

 * advanced edits menu
 * Help:Table
 * Help:Basic table markup
 * Advanced table formatting

Language related

 * — (or undefined )
 * de:Mitteldeutsche Braunkohlengesellschaft — de:Mitteldeutsche Braunkohlengesellschaft
 * Mitteldeutsche Braunkohlengesellschaft — Mitteldeutsche Braunkohlengesellschaft
 * Mitteldeutsche Braunkohlengesellschaft — de:Mitteldeutsche Braunkohlengesellschaft (known as the pipe trick in which the missing part is filled in automatically)
 * ...und das ist auch gut so — ...und das ist auch gut so (denotes language in HTML, often makes no visible changes but may do so, assists screen readers, spell checkers, and so forth)
 * Erneuerbare-Energien-Gesetz — Erneuerbare-Energien-Gesetz
 * Basic Law — Basic Law
 * 🇩🇪 Germany — 🇩🇪 Germany
 * 🇩🇪 Germany — 🇩🇪 Germany
 * 🇩🇪 Germany — 🇩🇪 Germany

Notes related

 * Template:Efn
 * and invoke or
 * with second instance (do not enclose name value in quotes)
 * and &lt;nowiki&gt;*&lt;/nowiki&gt; (each note in the notes section is marked up by hand)
 * and †

Citation related

 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately before the closing tag leaving a space to the left)
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * — (place immediately after the closing tag leaving no space)
 * Candidates —
 * Candidates —
 * Candidates —
 * Candidates —

Reference related

 * Help:Reftags — describes the very useful template usage
 * Template:R — replaces with  and so on
 * Template:Rp (rp means reference pages)
 * Template:Doi
 * Help:Magic links — for ISBN, PMID, RFC (but explicit templates are preferable)
 * reference database
 * grouped references
 * Help:Footnotes
 * display-authors = etal
 * — made the reference list 30em wide (three column on my aging laptop) (easier to read)
 * — (immediately following   tag)
 * — (the template applies a nowrap construction)
 * — (the at parameter adds parentheses)
 * p. 2 — p. 2 (adds no-break space)
 * pp. 2–4 — pp. 2–4
 * — (leave space after cite template)
 * — (leave space after cite template)
 * — (validation also)
 * ISBN 0-7475-3269-9 — ISBN 0-7475-3269-9 (validation also)
 * — (PubMed ID for biomedical journals)
 * ISSN 1234-5679 — ISSN 1234-5679 (magic link not supported)
 * ISBN 0-7475-3269-9 — ISBN 0-7475-3269-9 (magic link supported)
 * ISBN 0-7475-3269-9 — ISBN 0-7475-3269-9 (magic link suppressed)

Attributions
Changes were made. Material was copied from this source, which is available under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.
 * — list of compatible CC licenses
 * Template:CC-notice
 * used for material imported from the Clean Energy Wire site
 * used for material imported from the Clean Energy Wire site
 * used for material imported from the openmod wiki
 * used for material imported from the openmod wiki

Text related

 * Template:Nnbsp — narrow no-break space
 * Template:Abbr — add abbreviations
 * identify unicode in text string
 * Bold Normal  — Bold Normal  (for use in bold environments)
 * — (semantic markup, which has some benefits)
 * courier — courier (can also use text=)
 * text text — text  text
 * monospaced iiii — monospaced iiii (note that  is an obsolete element under HTML5)
 * (2005–present) — (2005–present)
 * this text is 80% normal size — this text is 80% normal size
 * this text defaults to 90% normal size — this text defaults to 90% normal size
 * this text is 0.2em larger than normal — this text is 0.2em larger than normal
 * Name — Name
 * c. 1850 — c. 1850
 * MSLP — MSLP (mouse-over abbreviations)
 * aka — aka
 * UK — UK (generates a link too)
 * a.k.a. — a.k.a.
 * [sic] — [sic] (for when the quote looks wrong)
 * pp — pp
 * Lots of text 10 kg (22 lb) more text. — Lots of text 10 kg (22 lb) more text.
 * publically [sic] — publically [sic] (although publically is listed as an acceptable spelling) (the  is for obfuscation)
 * publically [sic] — publically [sic] (offers the benefits of the template without displaying anything)
 * — no-break space
 * — narrow no-break space (inserts U+202F or )
 * HyperText Markup Language — HyperText Markup Language
 * ,, —  ,  ,  (quotes within quotes, see MOS:QWQ)
 * T = 293.15 K not m=5.4kg — T = 293.15 K not m=5.4kg
 * text — text
 * Hello, world! — Hello, world! (use RGB hex code or X11 web color)
 * X11 color SeaGreen — X11 color SeaGreen
 * Hello, world! — Hello, world! (use RGB hex code or X11 web color)
 * GLPK — GLPK (named fields possible too)
 * GLPK — GLPK
 * GLPK — GLPK
 * GLPK — GLPK (named fields possible too)
 * GLPK — GLPK
 * GLPK — GLPK

Character related



 * Unicode/List of useful symbols
 * Template:Unichar
 * Whitespace character
 * HTML symbols
 * unicode character finder — enter HTML entity reference or unicode value
 * identify unicode in text string — enter character or string
 * [HTML character entity reference chart — for named entities
 * Ubuntu: Accessories Character Map (also provides XML decimal entity values)

Quote related
Quoted material.
 * — HTML markup
 * Template:quote
 * Template:cquote — with decorative quote marks (not usually recommended)
 * Template:quote box — the title parameter is optional
 * Template:quote frame

 Quoted material.

"Quoted material."

- First M Last

 "Quoted material."

- First M Last





Code related

 * code snippets should use a  template and longer content should use    or   markup
 * mediawikiwiki:Extension:SyntaxHighlight — nonstandard "HTML" tag
 * mediawikiwiki:Extension:SyntaxHighlight — hundreds of languages and file formats supported
 * scrollbars and scrolling are supported by  but not , although the   attribute works in both cases
 * the  tag is depricated
 * int foo(const std::vector& baz); — int foo(const std::vector& baz);

 pre very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very line
 * (wrap at 60 chars for small screen devices)




 *  — 
 *  — 

Redirection related
Redirect


 * Help:Redirect — create a redirect or redirection page
 * source — easy way of creating a new page
 * #REDIRECT target — add this line to the new page and save with commit message like "creating redirection page" must be on line number1 but can have trailing comments

Other


 * — and link with foo bar

Short cuts

 * eq — eq
 * eq — eq
 * eq — eq
 * eq — eq

Interlinks and embedded URLs

 * Template:In title — caption creates a link to search for page titles which contain given words
 * Template:Look from — creates link to list all pages beginning with given words
 * Template:URL
 * Template:Share email — sophisticated mailto template
 * Template:No spam — obfuscates an email address by replacing the @ sign with a graphic, defeats a search for "@" but still cut-and-pastes properly
 * Template:Plain link
 * Template:Wpsearch — this template should not be used in articles, including on disambiguation pages

Wikilinks and similar

 * casing may be significant but underscores can be replaced by space chars
 * system — system
 * text — text
 * All pages with titles containing model — All pages with titles containing model (default caption used)
 * All pages with titles beginning with Energy policy of — All pages with titles beginning with Energy policy of
 * endogenous — endogenous
 * — (assumes same page)
 * Energiewende — Energiewende
 * Status — Status
 * Energiewende — Energiewende
 * Status — Status
 * [Paris, Texas] — [Paris, Texas] (because triple brackets do not work)
 * article — article
 * article — article (known as the pipe trick)
 * de:Wikiwoods — de:Wikiwoods (works for German wikipedia too)
 * Wikiwoods — de:Wikiwoods (with pipe trick, works for German wikipedia too)
 * en:Wikiwoods — en:Wikiwoods (markup works here not suprisingly)
 * Hanning Schröder (de) — Hanning Schröder (de) (quite laborious)
 * Hanning Schröder — Hanning Schröder (interlanguage link template, documentation)
 * Wikiwoods — Wikiwoods (no leading colon, shows up in the side bar only)

Embedded URLs

 * https://www.iraqinquiry.org.uk — https://www.iraqinquiry.org.uk (without alias)
 * example.com — example.com (with alias, best just to drop "www.")
 * http://www.genesys.rwth-aachen.de/index.php?id=12&L=3 — http://www.genesys.rwth-aachen.de/index.php?id=12&L=3 (when URL contains equals characters)
 * — (no symbol follows)
 * Wikipedia — Wikipedia (traditional markup)

Email addresses
<pre style="font-size: 90%">
 * — (the @ sign is a graphic)


 * — ('contents' set to nil to prevent default of page URL)
 * — ('show' set to no-break space to prevent default hyperlink, could be considered abusive)
 * — (can use the percent-encodings %20 %3C %3E in the 'target' field)

Date and time related

 * Template:As of
 * Template:Show by date
 * Template:Date
 * — apply at start of article
 * 2006-08-04 — 2006-08-04 (will still line break at day value)
 * 4 August 2006 — 4 August 2006 (will still line break at day value)
 * 4August 2006 — 4August 2006 (line break at day value prevented)
 * 19582016 — (nobreak endash)
 * 17 April 1958 – 24 June 2016 — –  (spaced endash)
 * January 1, 2000 — (df = use day first format)
 * 2000 — (only year specified)
 * January 1, 2000 — (default conduct, month-first format, no parentheses)
 * January 22, 1952 — January 22, 1952 (must define specific day, unlike 'start date and age')
 * as of — as of  (returns the full or short date at current UTC time — as set on the Wikipedia server)
 * was — (will be hardcoded by the AnomieBOT shortly after the specified date is reached)
 * date=July 2016 —
 * was — (will be hardcoded by the AnomieBOT shortly after the specified date is reached)
 * date=July 2016 —
 * was — (will be hardcoded by the AnomieBOT shortly after the specified date is reached)
 * date=July 2016 —

Number and units related

 * Template:Convert (huge number of tweaks and use cases)
 * Template:Val (automatically adds a no-break space)
 * Template:Val/testcases — list of test cases and the resulting HTML
 * Template:Scinote — scientific notation, including engineering notation
 * 2.0 C — 2.0 C (Celsius temperature conversion, formatting applies to conversion only)
 * 2.0 C — 2.0 C (Celsius temperature conversion, formatting applies to conversion only)
 * $[custom text]$ — $[custom text]$ (Celsius)
 * $some text$ — $some text$ (Celsius with wikilink on units)
 * 3 μm – 2 mm — –  (spaced endash)
 * $\pi$ — π
 * $\pi$ — π
 * $⟨ŋ⟩$ — $⟨ŋ⟩$ (four digits so no thin space)
 * $1.5 degC$ — $1.5 degC$ (hyphen converted to minus sign)
 * $1.5 degC$ — $1.5 degC$ (minus sign can be used directly)
 * $1,234$ — $1,234$ (explicit plus sign remains, commas are legal but spaces are not)
 * $12,345$ — $12,345$ (Gt is wikilinked to tonne)
 * $-123,456$ — $-123,456$ (custom linking)
 * $−123456$ — $−123456$ (custom linking)
 * $+1,234,567$ — $+1,234,567$ (custom linking)
 * $5.8 kg$ — $5.8 kg$ (custom linking)
 * $32 Gt$ — $32 Gt$ (custom linking)
 * $12,345.67 TWh$ — $12,345.67 TWh$ (custom linking)
 * $12,345.679$ — $12,345.679$ (the proper way of representing a fractional unit)
 * $10 em$ — $10 em$ (redirects to cent)
 * $3.6 TB$ — $3.6 TB$ (redirects to the CT disambiguation page)
 * $12 £$ — $12 £$ (falsely redirects to speed of light)
 * $6.35 ¢$ — $6.35 ¢$ (rounding to 3 significant figures)
 * $6.35 ct$ — $6.35 ct$ (engineering notation, not available in val)
 * $6.35 c$ — $6.35 c$ (trailing zeros are preserved)
 * $$ — $$ (trailing zeros are preserved)
 * 299 792  458 — 299  792  458 (adds 0.25em padding as indicated and a final nbsp between the number and any unit)
 * 1.602 176  487  (40) — 1.602  176  487  (40)
 * 2250 m — 2250 m (with default UK spelling, with default rounding, without abbreviations)
 * 2250 m — 2250 m (with explicit US spelling, with default rounding, without abbreviations)
 * 2250 m — 2250 m (with rounding to no decimals, with abbreviations)
 * 2250 m — 2250 m (with 3 significant figures, with abbreviations)
 * 2250 m — 2250 m (with rounding to 5 feet, with abbreviations)
 * 7 F-change — 7 F-change (stepwise conversion)
 * 7 F — 7 F (direct conversion)

Geographic location related

 * latitude and longitude
 * WikiProject Geographical coordinates
 * text: four decimals, space before compass point
 * 52.4135 N 13.6281 E
 * 52.4135° N 13.6281° E

Wikipedia

 * Template:Coord
 * 52.74747°N, 13.58734°W — 52.74747°N, 13.58734°W (Wikipedia) (avoid excessive precision: 1" is <31m)
 * 54.5743°N, 3.1446°W — 54.5743°N, 3.1446°W (avoid excessive precision (0.0001° is <11m)
 * -54.5743°N, -3.1446°W — -54.5743°N, -3.1446°W (do not use + signs though)

Wikimedia Commons

 * commons:Template:Location
 * — (in this case, on Wikipedia, 'location' is an alias for 'coord')

Maths related

 * Template:Math

Currency related

 * Template:Inflation
 * Template:Currency
 * Template:US$ — also redirects from Template:USD
 * Template:Euro
 * ISO 4217 — list of currency codes
 * Manual of Style (dates and numbers)

Examples

 * $0 — $0
 * $0 — $0
 * $0 — $0
 * €1000 — €1000 (links the €)
 * €1000 — €1000 (unlinks the €)
 * GB£9.0 billion — GB£9.0 billion (unlinks the £)
 * €9 billion — €9 billion
 * ¥1000 — ¥1000 (useful for unusual currencies)
 * US$66 billion — US$66 billion (places construct in nowrap span)
 * US$100 1966 — US$100 1966
 * US$1000 1935 — US$1000 1935
 * GB£9.0 billion — GB£9.0 billion (places construct in nowrap span)
 * ¥198 billion — ¥198 billion
 * €44 billion — €44 billion (does not use nowrap or nbsp) (also is for the flag)
 * $$ — $$ (places construct in a nowrap span)
 * $$ — $$ (places construct in a nowrap span)
 * $$ — $$ (u=unit, p=per, l=link, p=prefix)
 * €10billion — €10billion

List related
basic numbered dot — layout: See also· Notes· References (use as a last resort, can be used mid-sentence) hlist one · two · three — one · two · three four · five · six — four · five · six (adds nowrap construct to the entire list) flatlist Entry
 * Template:Flatlist
 * Template:Hlist
 * Template:Plainlist
 * Template:Unbulleted list
 * Template:Multi-column numbered list
 * item — * item
 * sub-item — ** sub-item
 * 1) item — # item
 * 2) item — # item
 * 3) sub-item — ## sub-item
 * layout: See also· Notes· References

Entry — Entry

Entry (linebreaks are required) plainlist Entry

Entry — Entry

Entry (linebreaks are required, this markup is preferred to , particularly in infoboxes) unbulleted list (useful in tables) (shortens to ubl) Winner

Runner-up

Third place — Winner

Runner-up

Third place anchored list 1. Text. — 1. Text. ordered list 1. entry 1

2. entry 2 — 1. entry 1

2. entry 2 col markup (note that second item is on right of page)


 * item
 * item

— * item * item  (linebreaks are required) semicolon/colon construct — ;Bold: Text.
 * Bold: Text.

See also markup

 * this markup is better than one long flowed column interspersed with tags

<pre style="font-size: 90%"> Some topic


 * Category:Energy policy by country

...

Large graphics

 * Template:todo — at top of article's talk page or own sandbox pages
 * Template:in use — request a voluntary page lock
 * Template:Stale — and related boxes for graffiti-ing discussions

Todo
—

Section information
—  —   —   —   —   —

Article information
—  —   —  (this template detects the namespace and adjusts accordingly) —  —   —   —   —   —   —   —   —   —   —   —   —   —

—

Miscellaneous
Insert text here. — Insert text here. Text. — Text.

Small graphics

 * Template:Done/See also (lots of small graphics)
 * — (read template documentation before use)
 * Red information icon with gradient background.svg Not done for now. — Red information icon with gradient background.svg Not done for now.
 * Red information icon with gradient background.svg Not done for now. — Red information icon with gradient background.svg Not done for now.
 * Alt — Alt
 * Alt — Alt
 * Open Access logo PLoS transparent.svg — Open Access logo PLoS transparent.svg (code from the  template)

Images

 * Template:Gallery
 * Help:Gallery tag


 * Image.png
 * Image.png (not invoked)

File:Image.png
 * File:Image.png (cannot use additional arguments)

Galleries

 * <gallery mode="packed" heights="180">
 * packed example: Hurricane Matthew

Deutsch

 * [[Datei:xxx.jpg | mini | hochkant | Beschreibung]] (hochkant = upright)

Talk pages related
Any mention of a user on a page will result in a notification. This is based on the transposed text and not on the template itself. See: —
 * mw:Manual:Echo — rules for generating a user notification from a talk page or similar
 * Template:User — user
 * Template:User link — u (works well)
 * Template:Reply to — ping
 * Template:Talk quotation — talk quote (for quoting on talk pages)
 * — two column variant
 * — (in full )
 * — (add multiple users using pipes)
 * URL — URL (template link)
 * — (category link)
 * name — name
 * value — value (see documentation for more information)
 * — {{tnull|name|parameter} (not wikilinked)
 * ssh hostname — ssh hostname (keyboard input, adds tags)
 * % — % (sample output, adds tags)
 * — {{tnull|name|parameter} (not wikilinked)
 * ssh hostname — ssh hostname (keyboard input, adds tags)
 * % — % (sample output, adds tags)

FAQ related
<pre style="font-size: 90%">

Review related

 * — (can use list markup too)

Collapsing content

 * normally not recommended in article space
 * Help:Collapsing
 * User:RobbieIanMorrison/sandbox/table
 * Template:Collapse — supplies, see also and

HTML markup

 * automatically converted to  by the MediaWiki software
 * means that the browser may insert a line break as it sees fit (see also zero-width space and soft hyphen HTML markup)
 * <font color='#888888'>RGB coding for text — <font color='#888888'>RGB coding for text (see also )
 * Typo to be corrected — Typo to be corrected
 * Quoted text — Quoted text
 * strike out — strike out (for content that is no longer accurate or relevant)
 * no wrap text — no wrap text
 * and highlight me — and highlight me
 * and &thinsp;highlight&thinsp; me — &amp;thinsp;highlight&amp;thinsp;
 * one two three — one two three (HTML 5)

Monospace font

 * a work-around for broken specification
 * note also
 * default — default (default behavior)
 * <span style="font-family: monospace, monospace">fixed — <span style="font-family: monospace, monospace">fixed (work-around) (font-size: 1em omitted)
 * <tt>typewriter</tt> — <tt>typewriter</tt> (default behavior)
 * — (default behavior)

Preformatted copy

 * see also and scroll
 * the horizontal scrollbar does not work with the ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||   ||
 * }
 * }
 * }

Markup hacks

 * small vertical space:

Infobox organization

 * Template:Infobox organization

<pre style="font-size: 90%">

Infobox person

 * Template:Infobox person
 * see Template:Infobox economist
 * see Infobox scientist

<pre style="font-size: 90%">

Infobox scientist

 * Template:Infobox scientist

<pre style="font-size: 90%">

Infobox software

 * Template:Infobox software

<pre style="font-size: 90%">

Cite templates

 * Citing sources
 * general fields and special values

<pre style="font-size: 90%"> | date = c. 2000 | date = n.d.                   | display-authors = etal | url-access = subscription | language = German, English | df = dmy | df = dmy-all

Cite book

 * Template:Cite book
 * common fields only

<pre style="font-size: 90%">

Cite chapter

 * Template:Cite book
 * common fields only

<pre style="font-size: 90%">

Cite conference

 * Template:Cite conference
 * all fields

<pre style="font-size: 90%">

Cite journal

 * Template:Cite journal
 * common fields only

<pre style="font-size: 90%">

Cite arXiv

 * Template:Cite arXiv
 * arXiv preprint repository
 * common fields only
 * arxiv and eprint are synonyms

<pre style="font-size: 90%">

Cite news

 * Template:Cite news
 * simplified for web-based news

<pre style="font-size: 90%">

Cite web

 * Template:Cite web
 * simplified form

<pre style="font-size: 90%">

Cite AV media

 * Template:Cite av media
 * simplified form

<pre style="font-size: 90%">

Cite press release

 * Template:Cite press release
 * two variants
 * agency: the news agency (wire service) that provided the content: Associated Press (AP), Reuters, Agence France-Presse (AFP), Deutsche Presse-Agentur (dpa)

<pre style="font-size: 90%">

<pre style="font-size: 90%">

Cite thesis

 * Template:Cite thesis
 * common fields only

<pre style="font-size: 90%">

Cite newsgroup

 * Template:Cite newsgroup
 * common fields only

<pre style="font-size: 90%">

Cite mailing list

 * Template:Cite mailing list
 * common fields only

<pre style="font-size: 90%">

Cite court

 * Template:Cite court
 * see also Template:Cite German law
 * see also Template:Cite legislation UK

<pre style="font-size: 90%">

Buch

 * de:Vorlage:Literatur
 * book
 * Kurzversion

<pre style="font-size: 90%">

Zeitschriftenaufsatz

 * de:Vorlage:Literatur
 * journal article
 * Kurzversion

<pre style="font-size: 90%">

Article requests

 * WikiProject Resource Exchange/Resource Request — requests for access to paywalled journals
 * User:RobbieIanMorrison/sandbox

<pre style="font-size: 90%"> Article request from Journal — a Publisher journal

Item being requested:



The following articles are being improved:


 * Energy modeling
 * Draft:Open energy system models

Many thanks in advance. ~