text: Template:Rquote

title: Template:Rquote


text:
Template:Rquote/doc

 * NOTE: This template should not be used for block quotations in article text. For long quotations in the text, the Manual of Style recommends using the HTML <blockquote> element or the quote template (which produces the blockquote tag).
 * Rquote (for Reduced pull-quote) is a variant of the Cquote quotation template, intended for relatively short pull quotes of 50 or 100 words. It results in a floating quote with the article text wrapping around it, like an image.
 * Pull-quotes work best when used with short quotes, and at the start or end of a section, to help emphasize the content of the section. For longer pull quotes, especially those which are more than a paragraph, or are longer than the rest of the paragraph they are quoted in, a similar effect (across the page) can be produced by Cquote.

Usage
Align quote box to the right:

Align quote box to the left:

Parameters

 * 1) Alignment (left, right).
 * 2) Quote text
 * 3) Source (who said it?)
 * 4) Citation (where was it said?)

Formatting
Quotation marks are supplied by the template and should not be included in the quote text. Soft hyphens can be used to influence line breaks within the quote text.

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

title: Template:Rquote/doc


text: Template:Talkquote

title: Template:Talkquote


text:
Template:Talkquote/doc

Usage
Use this template to quote other editors comments on talk pages. It can be safely used after colon-indenting as well (see the example below).

Parameters

 * Unnamed (positional) parameters
 * text must come before by (if by is specified).
 * text must come before by (if by is specified).

 * Using named parameters

 * Explanation of named parameters
 * text: The text being quoted (required).
 * by: The author of the text being quoted (not required).
 * source: The source of the text being quoted (not required). Use instead of by when source is not individual user.
 * diff: The full URL of the diff showing the change that was made (not required).
 * ts: The timestamp of the text being quoted (not required unless  is specified).

Examples

 * gives:

 * gives:

 * gives:

Indenting
Random paragraph of text. Example (talk) 09:20, 21 May 2011 (UTC)
 * The following wiki-markup:
 * Opening statement by Some other user.
 * Response to quoted text. Some other user (talk)
 * Response to quoted text. Some other user (talk)

Random paragraph of text. Example (talk) 09:20, 21 May 2011 (UTC)
 * Gives the following:
 * Opening statement by Some other user.

 * Response to quoted text. Some other user (talk) 09:26, 21 May 2011 (UTC)

title: Template:Talkquote/doc


text:
Template:Tq/doc

Usage
The template tq (for "talk quotation") can be used in talk page discussions to quote, in a visually and CSS-class distinct way, material quoted, e.g. from a guideline or from another editor's previous post.

Example:

gives:

 * When you say "I'm not certain that source is entirely reliable", I think I see what you mean now.

Style
The template applies a green color and also (because some users are color-blind) changes the front to serif. For users of screen readers with user CSS at the browser end, or WP uses who simply like to customize the appearance of page elements by editing their Special:Mypage/skin.css, the template applies the CSS class  to the marked up content.

title: Template:Tq/doc


text:
Template:Blockquote paragraphs

The element and any templates that use it do not honor newlines:

The simplest workaround for this is to use the poem tag inside, which will convert line breaks to tags:

To markup actual paragraphs within block quotations, entire blank lines can be used between them, which will convert to tags:

title: Template:Blockquote paragraphs


text: Template:Block quote

title: Template:Block quote


text:
Template:Block quote/doc

This is meant to replace template Cquote with an HTML <blockquote> element, as recommended by WP:MOS. It is 100% wikitext-compatible, so it should be possible to redirect cquote to this template.

Parameters

 * 1) Quoted text [required]
 * 2) [anything; for compatibility only]
 * 3) [anything; for compatibility only]
 * 4) Quoted person
 * 5) Source

Examples
Minimal usage

With citation

Citation and source

title: Template:Block quote/doc


text: Template:Blockquotebottom

title: Template:Blockquotebottom


text: Template:Blockquotetop

title: Template:Blockquotetop


text: Template:Cqa

title: Template:Cqa


title: Template:Cquote2


text:
Template:Cquote2/doc

 * Provides a centered, borderless pull quote, with scalable, non-clickable graphic quotation marks, and optional attribution of the source of the quote. Can be used with or without the names of the parameters.

Usage

 * Only the first parameter is required.
 * Only the first parameter is required.
 * Only the first parameter is required.

title: Template:Cquote2/doc


text: Template:Cquote/sandbox

title: Template:Cquote/sandbox


text:
Template:Dab quotes

""

title: Template:Dab quotes


text:
Template:Dab quotes/doc

Dab quotes
The Dab quotes template is used to "quote" the title portion of an article name, while leaving the parenthetical suffix alone. This can be used for short stories and other titles that should be quoted according to Manual of Style (titles). There is a separate template available for song titles: Template:Dab song.

The template takes two parameters: the title of the work and the parenthetical portion.

Short story example
The following shows how to link the article at the page Terra Incognita (short story):

* Terra Incognita

This displays as:

title: Template:Dab quotes/doc


text: Template:Lquote

title: Template:Lquote


text: Template:Pquote

title: Template:Pquote


text: Template:Pquote/doc

title: Template:Pquote/doc


text:
Template:Quotation1

'''You should not put quotation marks around the quote. This template acts as a block quote to separate it from the text instead.''' Unlike Template:Quotation, this box is not indented on either margin.

Usage
produces:

title: Template:Quotation1


title: Template:Quote2col


text:
Template:Quote2col/doc

This template displays quoted text in two columns. It is useful where text may be presented in original and translated versions.

Usage
This template may be added by copy-pasting the template as shown below into an article.

Example
Sample input:

and appearance:

Example with fancy indenting
Here is a fancier example, which does indentation better when columns are very narrow, at the cost of more-complicated specification:

and appearance:

title: Template:Quote2col/doc


text: Template:Transl

title: Template:Transl


text:
Template:Transl/doc

Purpose
This template is intended to unify all "transliteration" templates, such as IAST and ISOtranslit. These templates are still usable, but they just transclude this one (e.g.  is a shortcut for , and   for  ).

The transliteration is marked as belonging in the "latinx" class of MediaWiki:Common.css (note, this renders obsolete the "IAST" class formerly used by IAST).

This template is kept separate from lang to address formatting issues (via css classes) and identification of transliteration schemes used. Ultimately, if these concerns are smartly addressed in the css file and/or in lang, using  should be equivalent to using , viz. stating that the string is a Romanization by adding "-Latn" to the language code.

Usage
There are two ways of using this template: with or without specifying the transliteration scheme used:
 * two parameters, with ISO 639 language code:  means that "al-Khwarizmi" is a transliteration from the Arabic in a loose or unspecified scheme.
 * two parameters, with ISO 15924 script code:  means that "MAQI" transliterates an Ogham inscription without specifying the language. Potentially useful when writing systems themselves are under discussion, e.g.  , not   or   when discussing the letter.

 * three parameters, with ISO 639 language code:  the second parameter specifies the scheme used (DIN vs. ALA).
 * three parameters, with ISO 15924 script code:  for.

Examples
code: result:
 * al-Khwarizmi / DIN 31635: al-Ḫawārizmī / ISO 233: al-H̱awārizmī / ALA: al-Khawārizmī
 * RTGS: phasa thai / ISO 11940: p̣hās̄ʹāthịy
 * EME.GIR15 / ne-ši-li

ISO:
 * русский :  russkij
 * Аҧсуа : aṗsua
 * عربي :  ʿarabī
 * தமிழ் : tamiḻ
 * বাংলা : baṅla
 * ελληνικά : ellēniká
 * ქართული  : k'art'uli
 * 漢語拼音 : hànyǔ pīnyīn
 * ภาษาไทย : p̣hās̄ʹāthịy

title: Template:Transl/doc


text: Template:Script

title: Template:Script


text:
Template:Script/doc

Usage
Marks a string by ISO 15924 code of script. Switch between cuneiform, Coptic, Gaelic, Hebrew, Nastaliq, runic, Slavonic.

The Nasta'liq script is considered a font variant by both Unicode and ISO 15924. Use ur-Arab, ps-Arab or fa-Arab to access Nastaliq.

unaddressed is the selection of individual Chinese typefaces (Hani), should be solved via lang.

title: Template:Script/doc


text: Template:Script/Cuneiform

title: Template:Script/Cuneiform


text:
Template:Script/Cuneiform/doc

Template intended to force fonts that support the two Cuneiform Unicode blocks.

Usage
known fonts:
 * Akkadian, CuneiformComposite (Classical Sumerian)
 * Free Idg Serif (Old Assyrian)

optionally, two parameters can be used. In this case, the first parameter is a number from 1 to 7, specifying the historical stage preferred, per Image:SAG.png:

 * 1) archaic pictogram, around 3000 BC.
 * 2) rotated pictogram, around 2800 BC.
 * 3) abstracted glyphs in archaic monumental inscriptions, from ca. 2600 BC
 * 4) Classical Sumerian cuneiform as written in clay, from ca. 2600 BC
 * 5) Neo-Sumerian, late 3rd millennium
 * 6) Old Assyrian, early 2nd millennium, as adopted into Hittite.
 * 7) Neo-Assyrian, early 1st millennium

this is so far supported only for (5) and (6), for lack of fonts for the other stages.

use  for transliterations of cuneiform, and ,  ,   to transliterate specific languages.

Examples

 * EME.GIR15 -> EME.GIR15
 * ne-ši-li -> ne-ši-li

title: Template:Script/Cuneiform/doc


text:
Template:Quoted

   -

title: Template:Quoted


text:
Template:Quoted/doc

Usage
Template populated with

produces

 * Note: Quotation marks are not included so double-embedded marks are avoided, as in "Cry "Havoc", and . . ."

Template populated with

produces

'''Note that the template aligns left and floats, with 5px padding. Thus:'''

 * Marcus Brutus is Caesar's close friend whose ancestors were famed for driving the tyrannical Tarquin kings from Rome. Brutus allows himself to be cajoled into joining a group of conspiring senators because of a growing suspicion—implanted by Gaius Cassius—that Caesar intends to turn republican Rome into a monarchy under his own rule. Traditional readings of the play maintain that Cassius and the other conspirators are motivated largely by envy and ambition whereas Brutus is motived by the demands of honour and patriotism; in fact one of the central strengths of the play is that it resists categorising its characters as either simple heroes or villains.
 * The early scenes deal mainly with Brutus's arguments with Cassius and his struggle with his own conscience. The growing tide of public support soon turns Brutus against Caesar. A soothsayer warns Caesar to "beware the Ides of March", which he ignores, culminating to his assassination at the Capitol by the conspirators on that very day.
 * After Caesar's death, however, another character appears on the foreground, in the form of Caesar's devotee, Mark Antony, who, by a rousing speech over the corpse—the much-quoted Friends, Romans, countrymen, lend me your ears...—deftly turns public opinion against the assassins by speaking to the more personal side of his position, rather than the public and rational tactic Brutus uses in his speeches. Antony rouses the mob to drive them from Rome.
 * After Caesar's death, however, another character appears on the foreground, in the form of Caesar's devotee, Mark Antony, who, by a rousing speech over the corpse—the much-quoted Friends, Romans, countrymen, lend me your ears...—deftly turns public opinion against the assassins by speaking to the more personal side of his position, rather than the public and rational tactic Brutus uses in his speeches. Antony rouses the mob to drive them from Rome.

produces

 * Marcus Brutus is Caesar's close friend whose ancestors were famed for driving the tyrannical Tarquin kings from Rome. Brutus allows himself to be cajoled into joining a group of conspiring senators because of a growing suspicion—implanted by Gaius Cassius—that Caesar intends to turn republican Rome into a monarchy under his own rule. Traditional readings of the play maintain that Cassius and the other conspirators are motivated largely by envy and ambition whereas Brutus is motived by the demands of honour and patriotism; in fact one of the central strengths of the play is that it resists categorising its characters as either simple heroes or villains.
 * The early scenes deal mainly with Brutus's arguments with Cassius and his struggle with his own conscience. The growing tide of public support soon turns Brutus against Caesar. A soothsayer warns Caesar to "beware the Ides of March", which he ignores, culminating to his assassination at the Capitol by the conspirators on that very day.
 * After Caesar's death, however, another character appears on the foreground, in the form of Caesar's devotee, Mark Antony, who, by a rousing speech over the corpse—the much-quoted Friends, Romans, countrymen, lend me your ears...—deftly turns public opinion against the assassins by speaking to the more personal side of his position, rather than the public and rational tactic Brutus uses in his speeches. Antony rouses the mob to drive them from Rome.
 * After Caesar's death, however, another character appears on the foreground, in the form of Caesar's devotee, Mark Antony, who, by a rousing speech over the corpse—the much-quoted Friends, Romans, countrymen, lend me your ears...—deftly turns public opinion against the assassins by speaking to the more personal side of his position, rather than the public and rational tactic Brutus uses in his speeches. Antony rouses the mob to drive them from Rome.

title: Template:Quoted/doc


text: Template:Sic

title: Template:Sic


text:
Template:Sic/doc

This template simplifies insertion of the "[sic]" notation, which is used where a textual error, or unexpected but intended text that may appear to be an error, has been faithfully reproduced from the original source. Note that MOS:QUOTE says "Trivial spelling or typographical errors should be silently corrected unless the slip is textually important."

 * By default, it links to the article Sic for the benefit of readers, but this is undesirable in certain cases, e.g. many uses close together, or even impossible, as in the displayed anchor text (right-hand visible portion) of an internal or external link. In these cases, add the  parameter to avoid linking to the Sic article.

 * Additional unnamed parameters can be used to obfuscate spelling errors in quoted material in the wiki-text of a page, to help prevent automated or semi-automated correction by bot or human editors, which (although done in good faith) would be undesirable. In these cases, split the intentionally misspelled word or other character string into two parts and use them as the first two parameters of the template, and replace the original with the template:  will display as

 * The template can be used with a  question mark parameter to mark situations where the correctness or incorrectness of an apparent error cannot readily be determined. This will add the article to Category:Articles containing possible transcription errors for hopeful review by those more familiar with the subject and sources. If this feature is used in conjunction with the obfuscation feature above,   must come first:    Examples of use cases:
 * The quoted source might not be available online, or not without a paid subscription, etc.
 * A quoted passage contains a spelling error but is ambiguous as to whether the statement was originally printed this way (in which case [sic] may be appropriate), or spoken aloud (in which case the typo should be corrected).

 * yields:
 * ...his April 1992 interview with the Dolly Llama [sic]...
 * yields:
 * ...spokesperson stated that "rescue efforts have been suspnded [sic] until further notice"...
 * This is used because the context does not make it clear whether the spelling error was made by the spokesperson (in a written statement), or by a reporter (listening to the spokesperson speak).
 * ...spokesperson stated that "rescue efforts have been suspnded [sic] until further notice"...
 * This is used because the context does not make it clear whether the spelling error was made by the spokesperson (in a written statement), or by a reporter (listening to the spokesperson speak).

Controlling display ( and )
To suppress the link but keep the [sic]:
 * yields:
 * "Concencus [sic can Change!"]
 * "Concencus [sic can Change!"]

Use to avoid the display of sic altogether but still get the other benefits of the template. As with obfuscation, above, replace the original material that is now inside the template with the template itself, and the nolink and obfuscation features can be combined:

Note: It is pointless to specify both nolink and hide, since one is a display feature, but the other disables display.

title: Template:Sic/doc


text:
Template:Sic/testcases

Simple tests
Normal use

 * templte [sic]

Obfuscating

 * templte [sic]

Unlinked

 * templte

Hidden

 * templte [sic]

Query

 * templte [sic]

Compound tests
Unlinked and obfuscated

 * templte

Hidden and obfuscated

 * templte [sic]

Query and obfuscated

 * templte [sic]

Hidden and unlinked

 * templte

Query and unlinked

 * templte

Query and hidden

 * templte

Unlinked, hidden and query

 * templte

Unlinked, query and obfuscated

 * templte

Unlinked, hidden and obfuscated

 * templte

Hidden, query and obfuscated

 * templte [sic]

Unlinked, hidden, query and obfuscated

 * templte

title: Template:Sic/testcases


text:
Template:Bracket

[]

title: Template:Bracket


text:
Template:Not a typo

[sic]

title: Template:Not a typo


text:
Template:Not a typo/doc

This template can be used to encapsulate deliberate or apparent typos to save them from correction by bots and automated wiki-editors. Its purpose is to indicate passages that might appear incorrect to an automated tool, but which are actually correct, and it does not modify its parameters in any way.

Any of three names can be used:
 * 1) Not a typo for items that are actually correct; for example, "he put a little english on the ball", in which "english" is not capitalised.
 * 2) Typo for items that are deliberately incorrect, either because we are illustrating a point, or because it is a direct quote (it is better to use sic for in quotations)
 * 3) Proper name for names, such as Flouride (not fluoride) or Pharoah (not pharaoh).

Also be aware of:
 * 1) Lang for other-language text.
 * 2) Sic, which can be used to mark up text, thus [sic], or invisibly.

Examples

 * The first known mention of a form of the word "billiards" appears in Edmund Spenser's Mother Hubberd's Tale in 1591, where he speaks of "all thriftles games that may be found ... with dice, with cards, with balliards."
 * → The first known mention of a form of the word "billiards" appears in Edmund Spenser's Mother Hubberd's Tale in 1591, where he speaks of "all thriftles games that may be found ... with dice, with cards, with balliards."
 * H.C. Nielsen is credited in the film as the -
 * → H.C. Nielsen is credited in the film as the .
 * * Testing the White Dwarf Mass-Radius Relation with HIPPARCOS, J. L., H. L. Shipman, Erik Hog, P. Thejll, The Astrophysical Journal 494 (20 February 1998), pp. 759–767.-
 * → * Testing the White Dwarf Mass-Radius Relation with HIPPARCOS, J. L., H. L. Shipman, Erik Hog, P. Thejll, The Astrophysical Journal 494 (20 February 1998), pp. 759–767.

title: Template:Not a typo/doc


text: Template:Kbd

title: Template:Kbd


text:
Template:Kbd/doc

Purpose
This template is for explicitly indicating that the content inside it represents input from a keyboard or other source (speech recognition software, exit code of an application, standard input, etc.) It uses the [X]HTML element  (keyboard input) which exists for this purpose, and applies some styling to it, namely a faint grey background (borrowed from the related template ) and slight CSS letter-spacing to suggest individually entered characters. It retains the default monospaced (non-proportional) font style of the element. Because it uses  instead of simply applying visual style effects, it is semantic markup that conveys meaning, and it can be further acted upon by the user agent (e.g. with custom local style sheets). This tag is the exact opposite of, which is for example output.

Usage
The template takes one mandatory parameter, the content to be marked up. If this content contains "=" (an equals sign), the parameter be explicitly named 1, or the template will fail. (This is a limitation of the MediaWiki software, not the template.) It is always safer to use 1 syntax. It may be used as a container for {[tlx|var}}, or  when the example keyboard input contains or consists entirely of a variable. It may also be used with (but not inside), or with  (it generally should not be used inside the latter, as input is not a part of source code, but something that interacts with it; however, this style can be used to illustrate computer display of mixed type, as illustrated below).

There is an optional parameter undefined (or undefined or any other value), to get rid of the slight letter spacing, which can look awkward on long passages of input.

Examples:
 * : "Entering 71077345 on a calculator and turning it upside down appears to spell ShellOil."
 * with : "At the % prompt, the user must enter ssh hostname."
 * with and : "At the % prompt, the user must input ssh hostnameEnter."
 * Inside : "The commandline should read:  (where hostname is the IP address or domain name of the system to connect to); if this is correct, press Enter."
 * to get rid of the spacing:

title: Template:Kbd/doc


text: Template:Samp

title: Template:Samp


text:
Template:Samp/doc

Purpose
This template is for explicitly indicating that the content inside it represents example output from a computer program or other machine source (automated attendant/interactive voice response call system, exit code of an application, standard output, LCD display, etc.) It uses the [X]HTML element  (sample output) which exists for this purpose, and applies some styling to it, namely a faint greying out of the text color to visually difference it from source code and input. It retains the default monospaced (non-proportional) font style of the element. Because it uses  instead of simply applying visual style effects, it is semantic markup that conveys meaning, and it can be further acted upon by the user agent (e.g. with custom local style sheets). This tag is the exact opposite of, which is for example input.

Usage
The template takes one mandatory parameter, the content to be marked up. If this content contains "=" (an equals sign), the parameter be explicitly named 1, or the template will fail. (This is a limitation of the MediaWiki software, not the template.) It is always safer to use 1 syntax. It may be used as a container for, or  when the example output contains or consists entirely of a variable. It may also be used with (but not inside), or with  (it generally should not be used inside the latter, as output is not a part of source code, but something that results from it; however, this style can be used to illustrate computer display of mixed type, as illustrated below).

For cases where it is useful to display the color of the output, there is an optional parameter color that takes an HTML color name or  color code (in which case the   is mandatory). For accessibility reasons, color should never be the only distinguishing factor, as foo and foo may be indistinguisahble to color-blind readers.

There may also be cases where some other aspect of the output may need to be reproduced; the style parameter accepts any complete CSS statement(s), terminating with a semicolon, e.g. font-variant:small-caps; font-style:italic;.

Examples:
 * : "The error message [A]bort, [R]etry, [F]ail? has been cited as notoriously user-unfriendly."
 * with : "At the % prompt, the user must enter ssh hostname."
 * , to indicate output color: On failure, the Error light activates.
 * , for more customization: On failure, the Error light activates.

title: Template:Samp/doc


text: Template:Key press

title: Template:Key press


text: Template:Key press/core

title: Template:Key press/core


text:
Template:Key press/core/doc

This is the key press/core sub-template.

Do not use this template directly, use key press instead.

This template is called from. It holds the code that otherwise would be repeated several times in, thus simplifying the code.

For more documentation see key press.

title: Template:Key press/core/doc


text:
Template:Linear-gradient

background-image: -moz-linear-gradient; background-image: -ms-linear-gradient; background-image: -o-linear-gradient; background-image: -webkit-linear-gradient; background-image: linear-gradient;

title: Template:Linear-gradient


text:
Template:Linear-gradient/doc

This template creates a gradient background. This currently works in Firefox (3.6 and up), Opera (11.10 and up), Safari (5.1 and up), Google Chrome (10 and up) and Internet Explorer 10.

Usage
Use within a CSS style tag. The template uses the background-image property.

Lorem ipsum...

 * 1) start position – Mandatrory. Specify a start point: left, top , right or bottom , or a combination of two of each, e.g. top left . This provides eight starting points.
 * 2) color – The first two colors are mandatory. You can define any number of additional colors, separated with commas.
 * 3) stop – Optional. You can specify a stop position for each color using a percentage (e.g. 45%) or pixels (e.g. 60px).

Technical notes
Unlike gradient, this template does not assign a default background-color, and therefor does not provide an automatic fallback for browsers that do not support gradients. To provide a fallback, always specify a background color in front of the template. This allows for much more flexibility in design and fallback handling in unsupported browsers.

This template uses the new CSS3 properties for linear gradients: -moz-linear-gradient, -ms-linear-gradient , -o-linear-gradient , -webkit-linear-gradient and linear-gradient It does not use the legacy -webkit-gradient property due to it's deviating parameter format. This means that this template does not work in Safari versions below 5.1 and Google Chrome versions below 10.

Examples

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Considerations
Above examples use contrasting colors to show the effect more clearly. It is best to use subtle differences in color to enhance the appearance, rather than radically change it. This also minimizes the effects between browsers that do and do not support gradients.

title: Template:Linear-gradient/doc


text:
Template:Linear-gradient/testcases

__NEWSECTIONLINK__

Horizontal
Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

With color-stop
Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Vertical
Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Diagonal
Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Reverse
Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Output: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

title: Template:Linear-gradient/testcases


text:
Template:Linear-gradient/sandbox

background-image: -moz-linear-gradient; background-image: -ms-linear-gradient; background-image: -o-linear-gradient; background-image: -webkit-linear-gradient; background-image: linear-gradient;

title: Template:Linear-gradient/sandbox


text:
Template:Gradient

background-color: ; background-image: -webkit-gradient(linear,, , from, to);

title: Template:Gradient


text:
Template:Radial-gradient

background-image: -moz-radial-gradient; background-image: -ms-radial-gradient; background-image: -o-radial-gradient; background-image: -webkit-radial-gradient; background-image: radial-gradient;

title: Template:Radial-gradient


text: Red Herrings (simulation)/metrics

title: Red Herrings (simulation)/metrics


text:
Template:Radial-gradient/doc

This template creates a radial gradient background. This currently works in Firefox (3.6 and up), Safari (5.1 and up), Google Chrome (10 and up) and Internet Explorer 10. Opera is expected to add support in version 12.

Usage
Use within a CSS style tag. The template uses the background-image property.

Lorem ipsum...

 * 1) position – Mandatrory. Specify the X and Y position of the center of the gradient. This can be any valid CSS position value.
 * 2) shape – Mandatory. Specify the shape of the gradient using keywords or CSS size values. Valid keywords are:
 * 3) * ellipse
 * 4) * circle
 * 5) size – Optional. Specify the size of the radial using keywords or CSS size values. Valid keywords are:
 * 6) * farthest-corner (or cover ); Extends the radial to the farthest element corner, ensuring the gradient covers the entire element. This is the default.
 * 7) * closest-corner ; Extends the radial to the closest corner.
 * 8) * farthest-side ; Extends the radial to the farthest edge.
 * 9) * closest-side (or contain ); Extends the radial to the closest edge, ensuring the gradient does not extend beyond the element's borders.
 * 10) color – The first two colors are mandatory. You can define any number of additional colors, separated with commas.
 * 11) stop – Optional. You can specify a stop position for each color using a percentage (e.g. 45%) or pixels (e.g. 60px).

 * Firefox does not yet support explicit size values, only keywords.

Technical notes
The template does not assign a default background-color, and therefor does not provide an automatic fallback for browsers that do not support gradients. To provide a fallback, always specify a background color in front of the template.

This template uses the new CSS3 properties for radial gradients: -moz-radial-gradient, -ms-radial-gradient , -o-radial-gradient , -webkit-radial-gradient and radial-gradient.

Examples

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 * Lorem ipsum... will produce

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Considerations
Above examples use contrasting colors to show the effect more clearly. It is best to use subtle differences in color to enhance the appearance, rather than radically change it. This also minimizes the effects between browsers that do and do not support gradients.

title: Template:Radial-gradient/doc


text:
Template:Box-shadow/doc

This template is a shortcut for producing shadows. It generates the CSS for various browsers. Supported browsers are the current versions of Opera, Firefox, Safari, Chrome and Edge.

Usage
Insert this template within a style tag of any element:

 * X-offset and Y-offset – Specify the offset of the shadow to the right and below the element. Use negative values for a shadow to the left and above. Default is 4px.
 * blur radius – Specifies the width of blurring added to the shadow border. Default is 4px.
 * color – Specifies the color of the shadow. Default is #CCC;.

Example

 *
Lorem ipsum...
 will produce a box with the default border shadow:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 *
Lorem ipsum...
 will produce a more pronounced and colored shadow:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

title: Template:Box-shadow/doc


text:
Template:Border-radius/doc

This template is a shortcut for producing rounded corners. It generates the CSS for various browsers. Supported browsers are the current versions of Opera, Firefox, Safari, Chrome and Internet Explorer 9.

Usage
Insert this template within a style tag of any block-style element:

 * If one value is set, this radius applies to all 4 corners.
 * If four values are set, they apply to the top-left, top-right, bottom-right, bottom-left corner in that order.

Do not use two or three values, as this results in different rendering between various browsers.

Example

 *
Lorem ipsum...
 will produce:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

title: Template:Border-radius/doc


text:
Template:Key press/doc

This is the key press template, which can be used to illustrate keystrokes. Typographically it works best with examples that are separated from the normal flow of text, e.g. in table cells. It can also be used in lists (as in this page), but it may be a good idea to add an empty line between each list item, so the key borders won't overlap each other.

Example:
 * produces A

Keystroke combinations
To illustrate keystroke combinations, just use extra parameters:
 * produces Alt

 * produces Ctrl

This template currently handles up to 5 key name parameters; more than enough to accommodate for any possible combined key stroke. If it gets too many key name parameters it reports the page into Category:Wikiversity keypress template parameter needs fixing. This means we can easily find those pages and fix them, or we can discover if we need to make this template take more parameters.

When you feed several key names to this template, it adds a "+" with no spaces around. This means it won't line wrap. But when you show key combinations for instance in a table then that might cause too wide items. Then instead manually build the key combination with spaces around the "+" so it can line wrap. Like this:

 * produces Ctrl + Alt + Del

On the other hand, to illustrate Windows Alt codes you might want to use separate templates with no intervening punctuation or space. In most Windows systems in North America and Western Europe, for example, the plus-minus sign (±) can be entered by holding down the Alt key while typing  (with the numeric keypad). This could be illustrated like this:

 * produces Alt177

Wikilinks
If there is an article about the key you can wikilink the key's name like any other wiki text. Like this:
 * produces Alt

If you are wikilinking the keys, please ensure that you are piping to the correct page (e.g.  instead of , which leads to a disambiguation page).

Wiki characters
Some wiki markup character, like the pipe symbol, the semicolon and the equals sign, need to be entered using the !, ; and = templates:

 * produces

 * produces ;

 * produces =

However, if the characters are marked as wikilinks, they can be entered as such:

 * produces |

 * produces ;

 * produces =

If you don't want to mark the characters as links,  is also an option.

Key symbols
Some key names have a fitting unicode character. This template automatically adds such "icons" to the following key names:

 * produces Caps Lock

 * produces Shift

 * produces Enter

 * produces Tab

 * produces Backspace

 * produces Cmd

 * produces Opt

 * produces Up

 * produces Down

 * produces Left

 * produces Right

There are no characters for the Windows key and Menu key. Besides, the Windows logo is trademarked. So this template shows approximate characters for them in the following way:

 * produces Win

 * produces Menu

Video games
Video game controllers often have specialized input labels that do not map easily. The following are mappings for various game consoles and input features.

Directional input
The following should only be used when the input sequence uses something other than the primary input or mixes input between directional devices.
 * produces l-down
 * produces c-left
 * produces r-up

Stick specific diagonals are also supported:

 * produces l-nw
 * produces c-se
 * produces r-ne

PlayStation

 * produces ex
 * produces circle
 * produces triangle
 * produces square

Technical details
This template calls key press/core, which holds the code that otherwise would be repeated several times in key press, thus simplifying the code.

Not to be confused with

 * Button – produces a similar visual effect, but without the semantic markup, e.g.

title: Template:Key press/doc


text:
Template:;

;

title: Template:;


text:
Template:;/doc

Usage
This template uses the decimal code for the semicolon so that it doesn't become interpreted as a  tag. is shorter than  and clearer than an unadorned.

title: Template:;/doc


text: Template:Key press/sandbox

title: Template:Key press/sandbox


text: Template:Key press/core/sandbox

title: Template:Key press/core/sandbox


text: Template:Button

title: Template:Button


text:
Template:Button/doc

This template provides a "clickable button" formatting style for text. It is not clickable, and care should be taken when using it to avoid readers thinking the result may be. (It has an explanatory tooltip for users hovering over it, but that may not always be displayed, or only displayed after too long a delay, so that it may not show up to people trying to click it.)

Usage
Alternatively, also produces
 * produces
 * produces

title: Template:Button/doc


text:
Template:Citation Style documentation/time

 * minutes: Time the event occurs in the source; followed by "minutes in".
 * OR: time: Time the event occurs in the source; preceded by default text "Event occurs at time".
 * time-caption: Changes the default text displayed before time. Alias: timecaption.


text:
Template:Citation Style documentation/id1

 * id: A unique identifier, used where none of the specialized identifiers are applicable; wikilink or use a template as applicable. For example, NCJ 122967 will append "NCJ 122967" at the end of the citation. You can use templates such as id to append instead.


text:
Template:Citation Style documentation/id2

These identifiers create links and are designed to accept a single value. Using multiple values or other text will break the link and/or invalidate the identifier. In general, the parameters should include only the variable part of the identifier, e.g.  or.

 * arxiv: arXiv identifier; for example:  (before April 2007) or   (April 2007 – December 2014) or   (since January 2015). Do not include extraneous file extensions like ".pdf" or ".html".
 * asin: Amazon Standard Identification Number; if first character of asin value is a digit, use isbn. Because this link favours one specific distributor, include it only if standard identifiers are not available. Example
 * asin-tld: ASIN top-level domain for Amazon sites other than the US; valid values:,  ,  ,  ,  ,  ,  ,  ,  ,  ,
 * bibcode: Bibcode; used by a number of astronomical data systems; for example:
 * biorxiv: bioRxiv id, a 6-digit number at the end of the biorXiv URL (e.g.  for http://biorxiv.org/content/early/2016/10/01/078733 or https://dx.doi.org/10.1101/078733)
 * citeseerx: CiteSeerX id, a string of digits and dots found in a CiteSeerX URL (e.g.  for http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.176.341 )
 * doi: Digital object identifier; for example: . It is checked to ensure it begins with (10.).
 * doi-broken-date: Date the DOI was found to be non-working at https://dx.doi.org. Use the same format as other dates in the article. Alias: doi-inactive-date
 * eissn: International Standard Serial Number for the electronic media of a serial publication; eight characters may be split into two groups of four using a hyphen, but not an en dash or a space; example  Alias: EISSN
 * hdl: Handle System identifier for digital objects and other resources on the Internet; example  Alias: HDL
 * isbn: International Standard Book Number; for example: .  Dashes in the ISBN are optional, but preferred. Use the ISBN actually printed on or in the book. Use the 13-digit ISBN – beginning with  978 or 979 – when it is available. If only a 10-digit ISBN is printed on or in the book, use it. ISBNs can be found on the page with the publisher's information – usually the back of the title page – or beneath the barcode as a number beginning with 978 or 979 (barcodes beginning with any other numbers are not ISBNs). For sources with the older 9-digit SBN system, prefix the number with a zero; thus, SBN 902888-45-5 should be entered as 0-902888-45-5. Do not convert a 10-digit ISBN to 13-digit by just adding the 978 prefix; the last digit is a calculated check digit and just making changes to the numbers will make the ISBN invalid. This parameter should hold only the ISBN without any additional characters. It is checked for length, invalid characters – anything other than numbers, spaces, and hyphens, with "X" permitted as the last character in a 10-digit ISBN – and the proper check digit. Alias: ISBN
 * ismn: International Standard Music Number; for example: . Hyphens or spaces in the ISMN are optional. Use the ISMN actually printed on or in the work. This parameter should hold only the ISMN without any additional characters. It is checked for length, invalid characters – anything other than numbers, spaces, and hyphens – and the proper check digit. Alias: ISMN
 * issn: International Standard Serial Number; eight characters may be split into two groups of four using a hyphen, but not an en dash or a space; example  Alias: ISSN
 * jfm: Jahrbuch über die Fortschritte der Mathematik; example
 * jstor: JSTOR reference number; for example:  will generate JSTOR 3793107.
 * lccn: Library of Congress Control Number. When present, alphabetic prefix characters are to be lower case; example
 * mr: Mathematical Reviews; example
 * oclc: OCLC; WorldCat's Online Computer Library Center; example
 * ol: Open Library identifier; do not include "OL" in the value; example
 * osti: Office of Scientific and Technical Information; example
 * pmc: PubMed Central; use article number for full-text free repository of a journal article, e.g. . Do not include "PMC" in the value.
 * embargo: Date that pmc goes live; if this date is in the future, then pmc is not linked until that date.
 * pmid: PubMed; use unique identifier; example
 * rfc: Request for Comments; example
 * ssrn: Social Science Research Network; example
 * zbl: Zentralblatt MATH; example


text:
Template:Citation Style documentation/url

 * url: URL of an online location where the can be found. Cannot be used if title is wikilinked. If applicable, the link may point to the specific page(s) referenced. Remove tracking parameters from URLs, e.g.   or .  Do not link to any commercial booksellers, such as Amazon.com; use ISBN or OCLC to provide neutral search links for books. Invalid URLs, including those containing spaces, will result in an error message.
 * access-date: Full date when the content pointed to by url was last verified to support the text in the article; do not wikilink; requires url; use the same format as other access and archive dates in the citations. Not required for linked documents that do not change. For example, access-date is required for online sources, such as personal websites, that do not have a publication date; see WP:CITEWEB. Access dates are not required for links to published research papers, published books, or news articles with publication dates. Note that access-date is the date that the URL was found to be working and to support the text being cited. Can be hidden or styled by registered editors. Alias: accessdate.
 * archive-url: The URL of an archived snapshot of a web page. Typically used to refer to services such as Internet Archive, WebCite and archive.is ; requires archive-date and url. By default (overridden by no) the archived link is displayed first, with the original link at the end. Alias: archiveurl.
 * archive-date: Archive-service snapshot-date; preceded in display by default text "archived from the original on". Use the same format as other access and archive dates in the citations. This does not necessarily have to be the same format that was used for citing publication dates. Do not wikilink; templated dates are discouraged. Alias: archivedate.
 * dead-url: the default value of this optional parameter, if omitted, is yes; equivalent values are y or true .  Ignored if archive-url is not set.  When the URL is still live, but pre-emptively archived, then set no; this changes the display order, with the title retaining the original link and the archive linked at the end. When the original URL has been usurped for the purposes of spam, advertising, or is otherwise unsuitable, setting unfit or usurped suppresses display of the original URL (but url and archive-url are still required). Alias: deadurl.
 * template-doc-demo: The archive parameters will be error-checked to ensure that all the required parameters are included, or else citation error is invoked. With errors, main, help and template pages are placed into one of the subcategories of Category:Articles with incorrect citation syntax. Set true to disable categorization; mainly used for documentation where the error is demonstrated. Alias: no-cat.
 * format: Format of the work referred to by url; for example: PDF, DOC, or XLS; displayed in parentheses after title. (For media format, use type.) HTML is implied and should not be specified. Automatically added when a PDF icon is displayed. Does not change the external link icon. Note: External link icons do not include alt text; thus, they do not add format information for the visually impaired.


text:
Template:MediaWiki URL rules

 * URLs must begin with a supported URI scheme.  and   will be supported by all browsers; however, ,  ,  ,  ,   and   may require a plug-in or an external application and should normally be avoided. IPv6 host-names are currently not supported.
 * If URLs in citation template parameters contain certain characters, then they will not display and link correctly. Those characters need to be percent-encoded. For example, a space must be replaced by . To encode the URL, replace the following characters with:

 * Single apostrophes do not need to be encoded; however, unencoded multiples will be parsed as italic or bold markup. Single curly closing braces also do not need to be encoded; however, an unencoded pair will be parsed as the double closing braces for the template transclusion.

title: Template:MediaWiki URL rules


text: Simelec 2012/metrics

title: Simelec 2012/metrics


text:
Template:Citation Style documentation/url periodical

 * url: URL of an online location where the text of the publication can be found. Cannot be used if title is wikilinked. If applicable, the link may point to the specific page(s) referenced. Do not link to any commercial booksellers such as Amazon.com; see WP:BOOKLINKS. If url is not defined but pmc is, then url is set to the pmc link.
 * Embargo: Date that pmc goes live; if this is in the future, then then url is not set to the pmc link until that date.
 * accessdate: Full date when URL was accessed; use the same format as other dates in the article; do not wikilink.
 * archiveurl: The URL of an archived copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive; requires archivedate.
 * archivedate: Date when the item was archived; use the same format as other dates in the article; do not wikilink; requires archiveurl.
 * deadurl: To change the order with the title retaining the original link and the archive linked at the end, set no.
 * template doc demo: The archive parameters have error checking to ensure that all the required parameters are included, else citation error is invoked. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set true to disable categorization; mainly used for documentation where the error is demonstrated.
 * format: Format of the work referred to by url; examples: PDF, DOC, XLS; HTML is implied and should not be specified; displayed in parentheses after title.


text:
Template:Citation Style documentation/chapterurl

 * chapterurl: URL of an individual chapter of online source. Should be at the same site as url, if any. If chapterurl is used, url should only be used if the beginning of the work and the cited chapter are on separate webpages at the site. chapter may be wikilinked or chapterurl used, but not both.


text:
Template:Citation Style documentation/lay

 * lay-url: URL link to a non-technical summary or review of the source; the URL title is set to "Lay summary". Aliases: lay-summary, laysummary.
 * lay-source: Name of the source of the laysummary. Displays in italics and preceded by an endash. Alias: laysource.
 * lay-date: Date of the summary. Displays in parentheses. Alias: laydate.


text:
Template:Citation Style documentation/quote

 * quote: Relevant text quoted from the source. Displays enclosed in quotes.


text:
Template:Citation Style documentation/ref

 * ref: the citation's HTML anchor identifier. When set, ID generates an anchor with the given ID (the  attribute in the citation's  HTML tag). Setting ID identifies the template as a target and allows wikilinking to full references, especially useful with short-form citations like shortened notes and parenthetical referencing. The special value harv generates an anchor identifier suitable for use with sfn and harv templates. For cs2 ref defaults to harv.


text:
Template:Citation Style documentation/ref2

 * ref: ID for anchor. By default, anchors are always generated. The ordinary nonempty value ID generates an anchor with the given ID ; such a linkable reference can be made the target of wikilinks to full references, especially useful in short citations like shortened notes and parenthetical referencing.


text:
Template:Citation Style documentation/display

 *  mode: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided. For cs1, element separator and terminal punctuation is a period ; where appropriate, initial letters of certain words are capitalized ('Retrieved...').  For cs2, element separator is a comma ; terminal punctuation is omitted; where appropriate, initial letters of certain words are not capitalized ('retrieved...'). To override default terminal punctuation use postscript.
 * author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as . Do not use in a list generated by, or similar as there is no control of the order in which references are displayed. You can also use editor-mask and translator-mask in the same way.
 *  display-authors: Controls the number of author names that are displayed when a citation is published. To change the displayed number of authors, set display-authors to the desired number. For example, 2 will display only the first two authors in a citation. By default, all authors are displayed. etal displays all authors in the list followed by et al. Aliases: displayauthors.
 *  display-editors: Controls the number of editor names that are displayed when a citation is published. To change the displayed number of editors, set display-editors to the desired number. For example, 2 will display only the first two editors in a citation. By default, all editors are displayed. etal displays all editors in the list followed by et al. Aliases: displayeditors.
 * last-author-amp: Switches the separator between the last two names of the author list to space ampersand space when set to ,  , or  . Example: yes
 * postscript: Controls the closing punctuation for a citation; defaults to . Ignored if quote is defined.


text:
Template:Citation Style documentation/map series

 * scale: Scale of map.
 * series: Title of map series.
 * version: Version of map.
 * cartography: Person or entity that did the cartography; shows as "Cartography by cartography."


text:
Template:Citation Style documentation/map id

 * section: The map section of the feature referenced; example: 6A, 9B, 11L, etc.
 * inset: The name of the focused inset referenced; example: Downtown Fooburg.


text:
Template:Citation Style documentation/map pages

 * page: Page in the source that supports the content; overridden by at.
 * OR: pages: Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma ; do not use to indicate the total number of pages in the source.
 * OR: at: For sources where a page number is inappropriate or insufficient.
 * Examples: page (p.) or pages (pp.); section (Section), inset or other custom location on the map or in the atlas.


text:
Template:Citation Style documentation/interview id

 * program: News program or event.
 * callsign: Radio or TV callsign.


text:
Template:Citation Style documentation/interview author

 * last: Surname of subject. Do not wikilink—use authorlink instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use last to include the same format as the source.
 * first: Given or first names of author, including title(s); example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr.. Do not wikilink—use authorlink instead.
 * OR: for multiple subjects, use first1, last1 through first9, last9 for up to nine subjects. By default, if nine subjects are defined, then only eight will show and "et al." will show in place of the last author.
 * authorlink: Title of existing Wikiversity article about the subject—not the  subject's website; do not wikilink.
 * OR: for multiple subjects, use subjectlink1 through subjectlink9.
 * Aliases: subject, last, last1, author1, author, authors; subject2, last2, author2 through subject9, last9, author9; subjectlink, authorlink, authorlink1; subjectlink2, authorlink2 through subjectlink9, authorlink9.


text:
Template:Citation Style documentation/interview interviewer

 * interviewer: Full name of interviewer(s); separate interviewers with a semicolon ; wikilink as desired.
 * cointerviewers: (deprecated) Full names of co-interviewers


text:
Template:Citation Style documentation/DVD-notes date

Note: The date parameters in this template differ from other templates in this series.
 * date: Full date of the video was originally released; in same format as other dates in the article; do not wikilink. Use only the full date including month, day and year, else the anchor may be malformed.
 * OR: titleyear: Year of source being referenced.
 * month: Name of the month of publication. If you also have the day, use date instead; do not wikilink.
 * year: Year DVD published if different from the release year.


text:
Template:Citation Style documentation/album name

 * name: Name of the release; may be wikilinked; defaults to formatted in italics.
 * type: Set single to format name in quotes.


text:
Template:Citation Style documentation/album artist

 * artist: The artist or band name; may be wikilinked; Various artists may be used as needed.


text:
Template:Citation Style documentation/season

 * season: Season number, usually for US shows.
 * OR: seriesno: Series number, usually for British shows.
 * number: Many episodic shows are identified by separate season and episode numbers. Alternately, some shows prefer the format of a single episode number that includes the season within it; this format can be used by omitting the season field.


text:
Template:Citation Style documentation/network

 * network: The network the episode was aired on. (e.g. ABC, NBC, CBS, Fox, Disney, USA Network, BBC)
 * station: Call letters of the local station (if any).


text:
Template:Citation Style documentation/airdate

 * date: Full date of source being referenced; in same format as other dates in the article; do not wikilink. Use only the full date including month, day and year, else the anchor may be malformed.
 * Aliases: airdate, date.

 * OR: year: Year of source being referenced.
 * month: Name of the month of publication. If you also have the day, use date instead; do not wikilink.
 * origyear: Original publication year; displayed after the date or year. For clarity, please supply specifics; example: First published 1859 or Composed 1904.
 * OR: began: Full date the first part of the program or episode aired.
 * AND: ended: Full date the last part of the program or episode aired.


text:
Template:Citation Style documentation/transcript

 * transcript: Transcript of the original source.
 * transcripturl: URL of the transcript.


text:
Template:Citation Style documentation/notestitle

 * notestitle: The title of the notes, if different from the title of the album.


text:
Template:Citation Style documentation/conference

 * conference: Name of the conference, may include location if different from location and date if different from date or year.
 * conferenceurl: URL of conference proceedings, if different from url.


text:
Template:Citation Style documentation/conference title

 * title: Title of the conference. Can be wikilinked to an existing Wikiversity article or url may be used to add an external link, but not both. Formatted in quotes.
 * trans_chapter: If the source cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the title field and it will link to the url field, if used. Use of the language parameter is recommended.
 * Titles containing certain characters will display and link incorrectly unless those characters are encoded.

 * booktitle: The title of the published version of the converence, written in full. May be wikilinked or may use chapterurl, but not both. Formatted in italics.
 * trans_title: If the source cited is in a foreign language, an English translation of the chapter can be given here. The template will display this in square brackets after the chapter field and it will link to the chapterurl field, if used. Use of the language parameter is recommended.


text: Template:Cite techreport

title: Template:Cite techreport


text: Template:Cite techreport/doc

title: Template:Cite techreport/doc


text:
Template:S-new

|-
 * width="30%" align="center" rowspan=""|

title: Template:S-new


text:
Template:S-new/doc

This template creates a single succession box column to be used with succession boxes.

Usage
The format is, where parameter is replaced by one of the parameter names shown in the following table. The use of a parameter is optional.

Note: Only one parameter can be used in a single line of code.

In addition, the parameter, reason, may be used to designate the reason(s) for the title (or loss); enter a short explanation after entering this parameter, if necessary.

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

Example 1
From the James Hamilton, 4th Duke of Hamilton article:

title: Template:S-new/doc


text:
Template:Grey line

style="background: #EFEFEF"

title: Template:Grey line


text: Template:Term

title: Template:Term


text:
Template:Term/doc

The template is used in template-structured glossaries to create terms to be defined, that are properly structured, have semantic value, and can be linked to as if independent sections. It is a wrapper for , the description list term HTML element. The template has a mnemonic redirect at.

Basic usage:

Inline templates, reference citations, wikimarkup styles, etc., can be applied to the term in the second parameter (content or 2) as long as it remains without markup in the first parameter (term or 1. Technically, the explicit parameter names are optional if the term or content does not contain the "=" character, but as any editors can add material, including templates or URLs with this character in them,.
 * This will work:
 * This will fail:

More complex usage is typically:

or

or

{{#ifeq:{{BASEPAGENAME}}|Term|

Wiki-styling and linking the term

 * }}

If the second or content parameter is styled with wikimarkup, linked, or otherwise altered inside the template, the term must also be retained in unstyled form as the first or term parameter. Failing to do so will cause the template to malfunction, since it must have a "clean" term name to use as the  of the element, for linking purposes, among other reasons. The order intentionally mirrors that of wikilinking. Style cannot be applied around the template, either, as it is a container for content (the term), not content itself (and doing so will produce invalid markup that will have unpredictable results depending upon browser):
 * Correct:
 * Wrong:
 * Wrong:

For the same reasons that links to other pages are discouraged in headings, links are also discouraged in glossary terms:
 * Deprecated:
 * Preferred:, and use of in the  definition to link to the article esprit de corps.

Again, as with the first parameter (the term) itself, if the " " character (equals sign) is used in this second parameter, the syntax that the parameter be explicitly specified (and because many URLs, e.g. in reference citations, can contain this character, it is always safest to name the parameter):

numbered: "" or named: ""

The template can also be used in the content / 2 parameter, e.g. to provide the plural of the term (the most common usage), an alternative spelling, the old name of an entry that was linked to but has since changed, or a shortcut link anchor name:

""

As with styled terms, the second parameter must be used to provide the "bare" term. It is not necessary to add the term itself to the template when using. By contrast, when using semicolon-delimited terms in unstructured glossaries, the term does need to be added as an anchor explicitly if link anchorage is desired (which is almost always the case):

""|shortstops|short-stop|short stop|sslink}} }}

(Strictly speaking, this fact has nothing to do with this template, but may be of use to editors who are converting from one glossary style to the other.)

{{#ifeq:{{BASEPAGENAME}}|Term|

Multiple terms sharing a definition

 * }}

Two or more can be used for synonyms with a shared definition, though keep in mind that people looking for one and not finding it where they expect it to be alphabetized are liable to assume it is missing if you do not create a cross-reference entry. The parameter y is used on second and subsequent terms to visually group the terms close together so it is clear that they share a definition:

Example: { {term|1=asprin}} { {defn|1=A mild analgesic of the non-steroidal anti-inflammatory drug (NSAID) family...}} heroin: diacetylmorphine: diamorpine: { {defn|1=A synthetic narcotic drug of the opiate family...}} { {term|1=ranitidine}} { {defn|1=An antacid of the proton pump inhibitor family...}}

Result:

asprin: A mild analgesic of the non-steroidal anti-inflammatory drug (NSAID) family... heroin: diacetylmorphine: diamorpine: A synthetic narcotic drug of the opiate family... ranitidine: An antacide of the proton pump inhibitor family...

{{#ifeq:{{BASEPAGENAME}}|Term|

Languages

 * }}

To indicate the language of a non-English term, use the template and the ISO 639 language codes as documented at that template:

This shows no visual change for most languages:

esprit de corps:

For all non-English languages this provides many metadata features, but it is for those that do not use the Latin alphabet, so that the content displays properly in various browsers.

If it is useful to indicate the name of the language, there are individual templates for most languages, with names based on the ISO codes, and which automatically italicize the foreign content:

which renders as:

esprit de corps:

 * When two or more language variants of a term share the same definition::

One definition can actually have two or more terms above it as variations or alternatives with the same definition. The most common use case for this is presenting the term in two variants of English. Example: tyre: tyre: A resilient wheel covering usually made of vulcanized rubber. Result: tyre: tire: A resilient wheel covering usually made of vulcanized rubber.

The template has no lang parameter (and shouldn't – there are too many pitfalls).

{{#ifeq:{{BASEPAGENAME}}|Term|

Applying CSS styles to the term

 * }}

The style parameter will pass CSS styling on to the  element.

{{#ifeq:{{BASEPAGENAME}}|Term|

Examples

 * }}

This shows both a very simple and a rather complex instance:

applesnorkel: Definition of term 1.

arglefarst: Beginning of first definition of term 2

Conclusion of first definition of term 2. Second definition of term 2.

{{#ifeq:{{BASEPAGENAME}}|Term|

Images, hatnotes and other content

 * }}

Images, hatnotes and other "add-in" content intended to immediately follow the  They  be placed between the  and  or it will break the glossary markup. Images can, of course, be placed elsewhere within the, and bottom-notes like more can be placed at the ends of but s.

colour ball: Set of Snookerballs.png

In snooker, any of the that are not. In blackball, a generic, collective term for the red and yellow of object balls.

{{#ifeq:{{BASEPAGENAME}}|Term|

Technical details

 * }}

What this template does on the technical level is wrap the term in the  HTML element to semantically mark the term as the on the page of the defined term, and puts this marked-up content inside a  description list (a.k.a. definition list, association list) term element, with CSS. That class isn't doing anything yet, but it could later, like the light font size increase.

{{#ifeq:{{BASEPAGENAME}}|Term| {{Gloss/doc}} {{Defn/doc}}

title: Template:Term/doc


text: Template:Grey

title: Template:Grey


text:
Template:Grey/doc

Usage
My  text. Produces:

My text.

title: Template:Grey/doc


text: Template:Bxt

title: Template:Bxt


text: Template:!bxt

title: Template:!bxt


text: Template:Defn

title: Template:Defn


text:
Template:Defn/doc

The template is used in template-structured glossaries to create definitions of terms. It is a wrapper for , the description list definition HTML element. The template has a mnemonic redirect at.

Basic usage:

Links, inline templates, reference citations, wikimarkup styles, etc., can be applied to the definition. Technically, the undefined part is optional if the content of the definition does not contain the "=" character, but as any editors can add content, including templates with this character in them, it is always safest to explicitly name the parameter. The 1 parameter can also be called defn for those who don't care for numeric parameters.
 * This will work:
 * This will fail:

More complex usage is typically:

{{#ifeq:{{BASEPAGENAME}}|Defn|

Images, hatnotes and other content

 * }}

Images, hatnotes and other "add-in" content intended to immediately follow the  They  be placed between the  and  or it will break the glossary markup. Images can, of course, be placed elsewhere within the, and bottom-notes like more can be placed at the ends of but s.

colour ball: Set of Snookerballs.png

In snooker, any of the s that are not.

{{#ifeq:{{BASEPAGENAME}}|Defn|

Multiple definitions for one term

 * }}

If a single has multiple definitions, they are simply numbered with the parameter explicitly. Think of the parameter as standing for "}nd or later definition". You can also call it no, for "No.", if you prefer: Example:

blubbermonster: Lorem ipsum dolor sit amet. Consectetur adipisicing elit.

Because of the uneven length of definitions, it is usually more convenient to put the 2 before the 1 description:

or

This is a very robust method, because it permits complex content like block quotations, nested lists, cross-reference hatnotes, and other block-level markup inside each definition. The definitions can also be independently linked.

Use of a hatnote with a numbered definition requires manual numbering or it will look weird:

{{#ifeq:{{BASEPAGENAME}}|Defn|

Making the definition independently linkable

 * }}

To enable a link directly to a specific definition, you can manually add an template, or name the definition with its  or an abbreviation thereof (must be unique on the page for each term, but should be the same for multiple definitions of the same term). This is done with the term parameter; it must begin with an alphabetic character (a–z, A–Z), and may include digits (0–9), hyphens ("-"), and underscores ("_"). This will produce a #-link target ID in the form, where the # is the number of the definition (see above), defaulting to "1". Example:

blubbermonster: Lorem ipsum dolor sit amet. Consectetur adipisicing elit. snorkelweasel (noun): Ut enim ad minim veniam

 HTML output:

 blubbermonster

1.  Lorem ipsum dolor sit amet.

2.  Consectetur adipisicing elit.

 snorkelweasel (noun)

Ut enim ad minim veniam

</dl>

The IDs blubbermonster-defn1, blubbermonster-defn2, and snorkelweasel_noun-defn1 are all individually linkable, e.g. as. This is especially useful for cross-references within the glossary, e.g.

{{#ifeq:{{BASEPAGENAME}}|Defn|

Languages

 * }}

There is no lang parameter, as on English Wikiversity all definitions are necessarily in English. For uses of glossary markup for non-glossary purposes in which some content may be in a foreign language, use language templates. E.g. in a list of film title translations formatted using glossary markup:

Titles of La Vie en Rose in various languages: French: La Vie en Rose English: Life in Pink ...

{{#ifeq:{{BASEPAGENAME}}|Defn|

Examples

 * }}

This shows both a very simple and a rather complex instance:

<td style="border: 1px solid black; vertical-align: top;">

applesnorkel: Definition of term 1.

arglefarst: Beginning of first definition of term 2

Conclusion of first definition of term 2. Second definition of term 2.

{{#ifeq:{{BASEPAGENAME}}|Defn|

Applying CSS styles to the definition

 * }}

Applying CSS styles to the definition The style parameter will pass CSS styling on to the  element, e.g. font-family:serif; or whatever. This feature is rarely if ever needed in articles, but can be useful for things like matching custom user page style.

{{#ifeq:{{BASEPAGENAME}}|Defn| {{Gloss/doc}} {{Term/doc}}

title: Template:Defn/doc


text: Template:Defn/sandbox

title: Template:Defn/sandbox


text:
Template:Defn/testcases

Just numbering
Result:

HTML:

2.  Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Test: Passed.

Numbering (with "no=") and term
Result:

HTML:

2.  Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Test: Passed.

Explicit ID will override numbering and term
Result:

HTML:

2.  Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Test: Passed.

Term without numbering defaults to numbering of 1
Result:

HTML:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Test: Passed.

Can MediaWiki compensate for " " (space) in the ID?
Result:

HTML:

Lorem ipsum dolor sit amet, consectetur adipisicing elit.

Test: Passed.

title: Template:Defn/testcases


text:
Template:Anchor/doc

The template inserts one or more HTML anchors in a page. Those locations can then be linked to using  syntax.

Examples
1.
 * could be linked to with ... from within the same article,
 * or it could be linked to with ... from other articles and from redirects.

2. Anchors can be more suitable for inter-article linking than section titles are. For example,
 * Section title ==
 * Here, links via articlename would remain valid even if the section were renamed.

3. The template can be used to create up to ten anchors with a single call. For example,
 * will create three anchors that can then be linked to with,  and.
 * Specifying more than 10 anchors will cause an error message to be displayed.
 * Specifying more than 10 anchors will cause an error message to be displayed.

Limitations

 * Anchor names that contain
 * # (hash, &#36;)
 * | (pipe, &#124;)
 * = (equals, &#61;)
 * " (straight double quote, &quot;)
 * will not work as expected. However, any of these characters can be replaced with the "&#" codes shown for them here. Or, the pipe symbol and equals sign can be worked around with undefined and =, respectively. Markup code such as and  (superscript and subscript) cannot be used. Most other characters, including white space and punctuation, are not a problem.

 * The template can create a maximum of 10 anchors. Specifying more than 10 anchors will result in an error message.
 * Unlike with most templates, putting each anchor name on separate lines, for example
 * will not work as expected.
 * will not work as expected.
 * will not work as expected.

 * Anchor names should be unique on a page, and should not duplicate any heading titles. Duplicate anchors will not work as expected since the #links go to the first anchor with that name. Duplicate anchors also result in invalid HTML; you can check for duplicate anchors by running the page through the W3C Markup Validation Service.
 * If the template is added to a section title then the code will appear in the edit summary when that section is edited, as in "/* Limitations */ New issue" . This can be fixed by deleting the template code from the edit summary before the changes are saved.
 * Anchor links are case sensitive in some browsers, so treat all anchor link as case sensitive.

title: Template:Anchor/doc


text: Template:Glossend

title: Template:Glossend


text:
Template:Gloss/doc

The template is used with  to explicitly bracket a glossary or glossary-like description list (also called a definition list or association list), especially in a template-structured glossary, although such lists can be used more generally. This is required for template=structured glossaries, and is good practice anywhere description/definition lists are used for glossaries. The template pair invoke the  description list HTML element. Unfortunately, the mnemonic is not available as a redirect as of this writing.

The pair of templates incidentally prevent Wikiversity's MediaWiki software engine from auto-creating redundant definition list code () around terms and definitions if they have blank lines between them, as they often do, especially in non-structured glossaries.

Typical usage:

{{#ifeq:{{BASEPAGENAME}}|Gloss|

Parameters

 * }}

 * id  can be used to assign a one-word ID name (which must begin with an alphabetic letter) to the glossary. This can be used as a #link target, and could have other metadata uses.
 * style  will pass CSS styling on to the  element. I.e., this styles the definition list itself, as a container, not the individual terms and definitions with it.  There is rarely any reason to do this.

{{#ifeq:{{BASEPAGENAME}}|Gloss|

Examples

 * }}

This shows both a very simple and a rather complex instance in a structured glossary:

applesnorkel: Definition of term 1.

arglefarst: Beginning of first definition of term 2

Conclusion of first definition of term 2. Second definition of term 2.

{{#ifeq:{{BASEPAGENAME}}|Gloss|

Scope

 * }}

This family of templates, like the underlying definition list code, is intended for definitional uses, but can have other applications. The HTML 4.01 Specification itself says:

Thus, editors should feel free to use definition list markup as an alternative to bulleted or numbered lists when the material is well-suited to definition list presentation.

{{#ifeq:{{BASEPAGENAME}}|Gloss| {{Term/doc}} {{Defn/doc}}

title: Template:Gloss/doc


text: Template:Gloss

title: Template:Gloss


text: Template:Ghat

title: Template:Ghat


text:
Template:Ghat/doc

Usage
This template is used in template-structured glossaries with the defn template to provide an explanatory hatnote for a term.

 * , usually at the top of the first one unless it only pertains to a specific definition.
 * It be used between the  and, or inside , or it will break the glossary markup.

Inline (e.g. ) or after-content (e.g. ) note templates can be used inside definitions normally. The purpose of template is prevent the excessive indentation of hatnotes at the top of the definition.

For those, use crossreference. (This template does not use the CSS class .)

When used with a multi-definition term, the definition in which the appears must be manually numbered (usually , as shown in the example below).

Example
Results in:

colour ball: 1. In snooker, any of the that are not. In blackball, a generic, collective term for the red and yellow of object balls.

title: Template:Ghat/doc


text: Template:Cuegloss

title: Template:Cuegloss


text: Template:Glossary link

title: Template:Glossary link


text:
Template:Glossary link/doc

Usage
The template ' and its variant ' are meta-templates for creating templates that make structured links to particular entries in topical glossaries; they should never be used directly in an article. The documentation below explains how to use them for your topic's structured glossary. Like, it uses the  HTML element properly. Unlike, which is just invisible metadata, this template also uses the light dashed underline style that has become a de facto Web standard for definitional markup. Because it does in fact link to another page as well to provide the definition, it retains the blue link color like any other wikilink. Due to lack of what would be a pretty sophisticated facility in the MediaWiki parser, there is no way to have the definition in the glossary be pulled into a pop-up tooltip on mouseover, which would be really cool. Maybe someday. For now it shows the article title and entry name.

(Tech detail: By using an internal with its own independent   attribute for tool tip fun, it sets this up in a way that does not violate the very geeky and backasswards HTML5 specs on the handing of the   attribute of, which is the exact term defined, not its definition).

Syntax
results in:

results in:

The variant works exactly the same, but is used inside the glossary itself to provide cross-references between entries, and is also used when the same term is linked twice in other articles (e.g. because the article is very long). Its only difference from is that it does not use, since it is only supposed to be used once per page per term, and it does not blue-link the link, only underlines it like  does, since we don't want to create a "sea of blue" link mess.

Each version of the template takes three case-sensitive, named parameters for its data (the first two mandatory):

 * the name of the glossary article to be linked to
 * the term entry in the glossary to be linked to (or any  for it);  Templates based on this one need to mention this prominently in their documentation.
 * the actual text in the article to be linked from, if different from the term linked to

Limitations : The glossary and term parameters cannot have any HTML or wiki markup; they are basically parts of URLs (namely ). If styling is needed (e.g. italics for a non-English term or a book title), it must be done around the entire template or inside the  parameter.

A fourth color parameter allows the color of the text to be changed. This should only be done when the rest of the text is also another color for some reason, e.g. because of white text in a dark-background table cell. The parameter will accept established HTML/CSS color names (e.g. ) and hex values (e.g.  ), and is spelled " " since this is the spelling used by HTML and CSS.

Some little-used parameters that are there just in case:

 * an_ID – an ID (no spaces, must begin with alphabetic letter) for #linking and possibly other purposes
 * arbitrary:css; – CSS directives for custom-styling the instance
 * css_class – a CSS class or classes (separated by spaces not commas if more than one)

Example code
The template for cue sports:

The variant is used only inside the glossary of cue sports terms article:

For real-world application, see Template:Cuegloss/doc, the Glossary of cue sports terms article, and articles like nine-ball that use the template to link to terms in the glossary.

Transclusion limits
If templates at the bottom the glossary (or very long articles) start not appearing because the maximum number of transclusions per page has been reached, take your glossary's implementation of this template (e.g. cuegloss and cuegloss2 in the above examples) and replace their code with customized code from this template, instead of a transclusion of this template. This had to done with cuegloss2 in February 2012, so you can use it as a model.

title: Template:Glossary link/doc


text:
Template:Glossary link/sandbox

#|

title: Template:Glossary link/sandbox


text: Template:Glossary link/testcases

title: Template:Glossary link/testcases


text: Template:Dfn

title: Template:Dfn


text:
Template:Dfn/doc

Usage
This template applies the HTML phrase element  around the text given as the first parameter, the term, and, if the optional second definition parameter is present, applies a dotted underline (a common style throughout the Web for indicating a term with a definition feature) and a definition pop-up "tool tip" when cursor focus is on the term.

Without the second parameter, it does not do anything user-facing, and is just a form of meta-data that can be detected and acted upon by internal and external software (statistics-gathering bots, rich Web 2.0 applications, etc.), and can provide valuable contextual information to editors.

It is used as a meta-template by some other templates. When used by itself, it's most common purpose would be around a term boldfaced in an article and immediately defined there such as a key piece of terminology introduced after the lead section. Wikiversity is not a dictionary, so this template should not be used to draw metadata attention to everyday words, and is best suited spots where there is a short definition or clarification of jargon that is important in the context.

(Tech detail: By using an internal with its own independent   attribute for tool tip fun, it sets this up in a way that does not violate the very geeky and backasswards HTML5 specs on the handing of the   attribute of, which is the exact term defined, not its definition).

Purpose and application
This markup indicates that the text is the defining instance of that term (word, phrase, name, etc.) on the page in which it appears. Thus it should be used only once per term per page.

Wikiversity is not a dictionary, so this template should not be used to provide definitions for everyday words at all, and is best suited for short definition or clarification of jargon that is important in the context but unlikely to be fully understood by all of our general readership. The template can be adapted to most directly editable cases in which the  element would be useful.

Because the definition parameter's content is not readily accessible to users of most if not all screen reader software, text-only browsers, mobile phone browsers, etc., the second parameter should never be used to provide information vital to understanding the article subject, only convenient or augmenting for those who can access it; vital information belongs in the main article prose.

This template should not be used for marking up glossary entries or links to them; see term and glossary link instead, respectively. Likewise, this template should not be used to mark up the bold-faced article subject in the lead; [it is anticipated that] another template, [name forthcoming, probably Template:Subject], is [to be created to be] used for this purpose, including the needed bold-facing and [perhaps] other markup and metadata features.

This is semantic markup, not simply presentational style, and has a particular, pre-defined meaning; do not misuse this template just to get its display effects. If the content being marked up is not suitable for the  element as defined by the W3C HTML specifications, then you should not use this template.

Parameters
There are two basic parameters, the mandatory first parameter, the term, and the optional second one, the definition :

If the definition parameter is supplied and the reader's browser supports the functionality, moving browser focus to the term (e.g., hovering the mouse cursor over it, or in some browsers using keyboard navigation to tab to it) will change the cursor to the "help" version (usually a question mark) and bring up the definition text in a pop-up tool tip (or some other interface, as provide by the browser in question). Without a second parameter, no such underlining and tool tip effects occur.

It is safest to explicitly number them, but this is only absolutely required if the content contains an equals sign somewhere:
 * – this works if only the definition has a "=" in it.
 * – this fails; if parameter 1 is numbered, so must be parameter 2
 * – this fails; if parameter 1 is numbered, so must be parameter 2

If no description is provided, the template is invisible:
 * results in:
 * results in:, the moulting of the exoskeleton
 * results in: Ecdysis

The "invisible" second and third cases won't be noticed by casual readers, but can still be detected and acted upon by internal and external software (statistics-gathering bots, rich Web 2.0 applications, etc.), and can provide valuable contextual information to editors.

The definition parameter is most commonly omitted when the text following the term provides the defining content inline in the prose, or when the term is linked to an explanation elsewhere, as shown above. A common case of this is when an article provides a bold-faced term and an explanation of it, often at the start of a paragraph or section, indicating a significant side-topic in the article, subordinate to the main article subject boldfaced in the lead.
 * Other optional parameters:

Real-world example: showing imprecise term in text and its precise official name as the title, with escaped quotation marks:, which results in: (hover over it to see that tooltip is different from base content)
 * exact, plaintext term being defined – used a) when the content in the first parameter (term) contains any wikimarkup or HTML; or b) when the term being defined is actually slightly different from (i.e. more precise than) the marked up content; the true term being defined goes in this parameter. Any double-quotation mark must be escaped, as  .

 * an_ID – an ID (no spaces, must begin with alphabetic letter) for #linking and possibly other purposes
 * arbitrary:css; – CSS directives for custom-styling the instance
 * css_class – a CSS class or classes (separated by spaces not commas if more than one)

Problem characters
If there would be a " " (equals sign) in the term, either a) both unnamed parameters if present must explicitly be numbered:
 * which results in:

or b) the character itself can be escaped as the HTML character entity reference code  or the  template:
 * which results in:
 * which results in:

No other characters are known to be problematic in the term.

For technical reasons, the second parameter (2, the definition ) is more "brittle". The equals sign must be escaped by one of the techniques just mentioned,  the standard keyboard (straight, not curly) double-quotation mark  must also be escaped, no matter what, as   or. This double-quote must also be escaped the same way in the title parameter:
 * which results in:
 * which results in:
 * which results in:
 * which results in:

Links and markup
Linking and wikimarkup should be done the template when possible:
 * Right: Foo
 * Wrong:

The term content in the first parameter be marked up with wikimarkup or HTML, at the   level, such as italics, superscript other text-formatting code (versus  -level elements, such as paragraphs, tables, block quotations, and so on), if absolutely necessary. Example: The displayed text (first parameter) uses superscript markup, for accessibility reasons, while the real plaintext in the title parameter uses a Unicode character entity (doesn't count as wikimarkup) for a superscripted 2, which is actually more correct but may not display properly on older systems:

yields:

while this:

gives:

Note that in the first case, the mouse hover tooltip is the Unicode version of the term, as given in the title, while in the latter it is the definition given in the 2 parameter.

Linked version:

gives:
 * Mass–energy equivalence

It still has a dotted underline indicating a tooltip, but is also a bluelink. Mouse hovering shows both the tooltip and, in the status bar, the target URL, in browsers that support these features.

Link inside the :

results in:

This doesn't mess up the page, but the description fails and there's no tooltip cursor, meanwhile the markup is hard for other editors to understand anyway so it is deprecated.

Links, HTML, wikimarkup, and other markup cannot be applied to content in the 2 ( definition ) parameter, nor in a title parameter, only plain text and character entity references ("&-codes", like ).

title: Template:Dfn/doc


text:
Template:Glossary link internal

#|

title: Template:Glossary link internal


title: Template:Cuegloss2


text:
Template:EntrezGene

EntrezGene

title: Template:EntrezGene


text:
Template:RefSeq

RefSeq

title: Template:RefSeq


text: Template:Uniprot

title: Template:Uniprot


text:
Template:Uniprot/doc

Usage
This template allows to link a UniProt accession number to the corresponding page on the UniProt website (http://www.uniprot.org/)

Example
To link the UniProt entry for the bovine Trypsin protein (UniProt accession number P00760), use the syntax, which will display as.

title: Template:Uniprot/doc


text:
Template:Protein Data Bank

Protein Data Bank

title: Template:Protein Data Bank


text:
Template:EC number

EC

title: Template:EC number


text:
Template:EC number/doc

This template gives external link to the database http://enzyme.expasy.org for EC numbers.

Usage
To use this template in a page, copy-paste the expression below, replacing EC with your EC number (without letters).

Example
The below code is used for this link.

title: Template:EC number/doc


text:
Template:OMIM

Online 'Mendelian Inheritance in Man' (OMIM)

title: Template:OMIM


text:
Template:OMIM/doc

Notes on use
This template creates a non-abbreviated reference citation to a specific numbered page at the Online Mendelian Inheritance in Man database.

 , where "#####" is the OMIM page number.

Results:

An optional second parameter allows displaying of OMIM page name. Hence: Gives:

This template is good to use for the first OMIM citation in an article (or perhaps in a section), but is generally probably too long to use repeatedly; use the OMIM3 template instead for later citations. And OMIM2 can be used after OMIM to shorten a long list of OMIM citations. Either can also be used in infoboxes to keep the text shorter. In infoboxes, the plainlinks variants OMIM4 (variant of OMIM2) and OMIM5 (variant of OMIM3), without external link icons, can alternatively be used, where the context already makes it clear that the links are external.

title: Template:OMIM/doc


text:
Template:Hiero/default/bgcolour

silver

title: Template:Hiero/default/bgcolour


text:
Template:Hiero/default/bordercolour

blue

title: Template:Hiero/default/bordercolour


text:
Template:Hiero/doc

undefined there are a number of subpages in this template space that are used for writing Egyptian hieroglyphs in Wikiversity articles. The codes for the parameter.
 * {| class="wikitable" border="1"

! Period ! | era = ! Background colour ! Border colour
 * -style="background:"
 * Default
 * empty or default
 * -style="background:;"
 * Protodynastic Period of Egypt
 * pd
 * -style="background:"
 * Early Dynastic Period of Egypt
 * ed
 * -style="background:"
 * Old Kingdom of Egypt
 * ok
 * -style="background:"
 * First Intermediate Period of Egypt
 * 1ip
 * -style="background:"
 * Middle Kingdom of Egypt
 * mk
 * -style="background:"
 * Second Intermediate Period of Egypt
 * 2ip
 * -style="background:"
 * New Kingdom of Egypt
 * nk
 * -style="background:"
 * Third Intermediate Period of Egypt
 * 3ip
 * -style="background:"
 * Late Period of Egypt
 * lp
 * -style="background:"
 * Ptolemaic dynasty
 * pt
 * -style="background:"
 * Egypt extra
 * egypt
 * }
 * nk
 * -style="background:"
 * Third Intermediate Period of Egypt
 * 3ip
 * -style="background:"
 * Late Period of Egypt
 * lp
 * -style="background:"
 * Ptolemaic dynasty
 * pt
 * -style="background:"
 * Egypt extra
 * egypt
 * }
 * Ptolemaic dynasty
 * pt
 * -style="background:"
 * Egypt extra
 * egypt
 * }
 * egypt
 * }
 * }
 * }

Template family
The most useful templates are:

title: Template:Hiero/doc


text:
Template:Hiero/pd/bgcolour

plum

title: Template:Hiero/pd/bgcolour


text:
Template:Hiero/pd/bordercolour

red

title: Template:Hiero/pd/bordercolour


text:
Template:Hiero/ed/bordercolour

steelblue

title: Template:Hiero/ed/bordercolour


text:
Template:Hiero/ed/bgcolour

skyblue

title: Template:Hiero/ed/bgcolour


text:
Template:Hiero/ok/bgcolour

sandybrown

title: Template:Hiero/ok/bgcolour


text:
Template:Hiero/ok/bordercolour

indianred

title: Template:Hiero/ok/bordercolour


text:
Template:Hiero/1ip/bordercolour

gold

title: Template:Hiero/1ip/bordercolour