text:
Template:Hiero/1ip/bgcolour

crimson

title: Template:Hiero/1ip/bgcolour


text:
Template:Hiero/mk/bgcolour

gold

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

title: Template:Hiero/mk/bgcolour


text:
Template:Hiero/mk/bordercolour

black

title: Template:Hiero/mk/bordercolour


text:
Template:Hiero/2ip/bordercolour

palegoldenrod

title: Template:Hiero/2ip/bordercolour


text:
Template:Hiero/2ip/bgcolour

red

title: Template:Hiero/2ip/bgcolour


text:
Template:Hiero/3ip/bordercolour

red

title: Template:Hiero/3ip/bordercolour


text:
Template:Hiero/3ip/bgcolour

lightcoral

title: Template:Hiero/3ip/bgcolour


text:
Template:Hiero/lp/bgcolour

palegreen

title: Template:Hiero/lp/bgcolour


text:
Template:Hiero/lp/bordercolour

red

title: Template:Hiero/lp/bordercolour


text:
Template:Hiero/pt/bordercolour

black

title: Template:Hiero/pt/bordercolour


text:
Template:Hiero/pt/bgcolour

aquamarine

title: Template:Hiero/pt/bgcolour


text:
Template:Hiero/egypt/bgcolour

navajowhite

title: Template:Hiero/egypt/bgcolour


text:
Template:Hiero/egypt/bordercolour

peru

title: Template:Hiero/egypt/bordercolour


title: Template:Hiero/2cartouche


title: Template:Hiero/1cartouche


text: Template:Hiero/serekh

title: Template:Hiero/serekh


title: Template:Hiero/3name


title: Template:Hiero/5Fold


text: Template:User IND Citiz

title: Template:User IND Citiz


text: Template:Page tabs

title: Template:Page tabs


text:
Template:Page tabs/doc

This is the instruction page for Template:Page tabs, and is included on that page.

Usage
Usage: 1 to 12 parameters for each tab to put on the page. Whichever parameter is the current page is indicated by This= and the tab number to mark as the current tab, from 1 to 12. The "'This='" parameter allows the tab for the current page that the user is looking at to be white instead of blue. Note that in the example above (and below) the item 'main page' refers to the main page of Wikiversity; if you click on it, you will go there. This is to show that you can put links to pages that do not have tabs on them.

Generally, you'd use this template where you had several pages and wanted them all to link to each other in the same way, and if you added new pages, they would consistently appear in the same place, such as your user page and your talk page.

Note that in the examples below, you would change "Example" to whatever user name it actually was, and "Subpage 1", etc., to the page names you are going to use.

One way to do this is to create a tabs page, which would consist of the following:

In the above example, the last parameter makes the default white tab page the first example if you don't change it. So if you don't put 'This=' on the page, the first tab would be white regardless of which page they were looking at. The first parameter suppresses the table of contents.

Now, you'd save that page, lets say it was called  User:Example/tabs  and then, go to each page, starting with  User:Example  and put the template at the top of that page, in the form  on that page, and use the same thing but use This=2 instead of This=1 on "Subpage 2", and so on for This=3, etc. You can have up to 12 tabbed pages using this template.

An example has been done for this page at Template:Page tabs/tabs. Do not use this directly in your own set up, it is strictly for demonstrating how this works and documenting its use. Examine the page and the source to understand how to use this functionality. It is both fun to use and very useful in putting a condensed amount of information (such as cross-page links) in a very small space.

Here's how it looks if you put it on the bottom of the page, which is why you generally put it at the top:

title: Template:Page tabs/doc


text: Template:Page tabs/sandbox

title: Template:Page tabs/sandbox


text: Template:Page tabs/testcases

title: Template:Page tabs/testcases


text: Template:Start tab

title: Template:Start tab


text:
Template:Start tab/doc

Start tab can be used to create a tabbed interface for usage on portals and projects, help pages and user pages. It should not be used in articles themselves.

Parameters

 * : Set  to allow for arbitrary code in that tab's   entry rather than just being plain text and a link. See below. When using the freeform attribute, the link attribute remains empty; for example:

 * : The tab link location, where "n" is number of the tab up to 20.
 * : The tab 2nd link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 3rd link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 4th link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The tab 5th link location, where "n" is number of the tab up to 20. (only applies when using )
 * : The name of the tab, where "n" is number of the tab up to 20.

 * The maximum number of available tabs is 20.
 * To use the next page feature, end the page with the End tab template.

Each tab needs a  attribute with the title of the page it refers to, and a   attribute with a label for the tab. If the current page title matches a  then that tab will be styled differently. The  attribute can be used with any tab (for instance   to allow for a freeform label with multiple internal and external links if desired; otherwise, the text in   is used as a wikilink to the page specified by.

Additional options:
 * : Set to  to add a page frame underneath the tabs. This can be closed by adding   to the end of the page, or wherever else you want the frame to close.
 * : Background color for frame. Default is on tab color.
 * : Border style.
 * : Color of the currently unselected tabs.
 * : Color of the currently selected tab.
 * : Add rounding effect to edges of tab boxes.
 * : Override alignment of tab's title (left/center/right).
 * : Name of optional image (set to 20px) to place next to tab title.
 * : Override the font size of the text in the tab.
 * : Prevent long names from wrapping on each tab.
 * : Override the width between the tabs.
 * : Internally used only on Template:Page tabs

Examples
Example for WikiProject Athletics:

Text for main part of page goes here.

Example for WikiProject Athletics:

Text for main part of page goes here.

title: Template:Start tab/doc


text: Template:Tab

title: Template:Tab


text:
Template:Tab/doc

This template is called by start tab and end tab to create tab bars for use in navigating WikiProjects and other areas outside of the main encyclopedia. It should not be used on articles themselves.

Usage
tab expects  and   to be passed to it. If the current page title matches  then the tab will be styled differently. If  is passed then the tab text is displayed freeform as it is; otherwise, the text from   is used to label the wikilink pointed to be.

title: Template:Tab/doc


text: Template:End tab

title: Template:End tab


text: Template:Dummytab

title: Template:Dummytab


text:
Template:Number of defined parameters

 * Note: For use with Start tab and End tab.

title: Template:Number of defined parameters


text:
Template:Page tabs/1

| style="padding:0.5em; background-color:; line-height:0.95em; border:solid 2px #A3B1BF; border-bottom:0; font-weight:bold; white-space: nowrap;" width="20" |
 * style="border-bottom:2px solid ;" width="3" |

title: Template:Page tabs/1


text:
Template:Page tabs/2

| style="padding:0.5em; background-color:; font-size:90%; line-height:0.95em; border:solid 2px #A3B1BF; white-space: nowrap;" width="20" |
 * style="border-bottom:2px solid ;" width="3" |

title: Template:Page tabs/2


text:
Template:Page tabs/top/doc

Optional parameters for the templates:
 * |Background= - sets background color behind the tabs, defaults to #F8FCFF;
 * |tab1-bg= - sets the tab1 color, defaults to white;
 * |tab2-bg= - sets the tab2 color, defaults to #CEE0F2;
 * |tab-border= - changes the border color, defaults to #A3B1BF.

To create a set of tabs, use these four elements. Keep the page tabs in the same order on all pages and use "Tab1" for the current page.

title: Template:Page tabs/top/doc


text: Template:Page tabs/tabs

title: Template:Page tabs/tabs


title: Template:Convert/e6acre


text:
Template:S-non

|width="30%" align="center" |

title: Template:S-non


text:
Template:S-non/doc

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

Usage
The format is, where parameter= is replaced by one or more of the parameter names shown in the following table.

 * reason — Designates the reason(s) for the vacancy; enter a short explanation after entering this parameter, if necessary. If next holder is simply unknown, see S-vac for specifying next known holder.

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

Example
From the Henry VII of England article:

title: Template:S-non/doc


text:
Template:S-vac/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 or more of the parameter names shown in the following table.

This template allows for exactly ONE "before" field, ONE "after" field, ONE "subline", and ONE "header".

IMPORTANT: All uses must be either preceded (if initial) or followed (if other rows follow) with the |- characters, lest the table not display properly.

 * "Before" fields:
 * last — Designates the last title-holder; enter the name of the last title-holder after entering this parameter.
 * unknlast — Designates the last known title-holder; enter the name of the last known title-holder after entering this parameter.
 * Note: This parameter should be used under the header: unknown.

 * "After" fields:
 * next — Designates the next title-holder; enter the name of the next title-holder after entering this parameter.
 * unknnext — Designates the next known title-holder; enter the name of the next known title-holder after entering this parameter.
 * Note: This parameter should be used under the header: unknown.

 * Sublines:
 * as — Designates a change in title; enter the title of the title-holder after entering this parameter if different than title found in s-ttl.

 * Header replacements:
 * reason — Designates the reason(s) for the vacancy; enter a short explanation after entering this parameter, if necessary.
 * abeyance — Replaces "Vacant" with "In abeyance"
 * commission — Replaces "Vacant" with "In commission"
 * recreated — Replaces "Vacant" with "Recreated"
 * forfeit — Replaces "Vacant" with "Forfeit"
 * suspended — Replaces "Vacant" with "Suspended"
 * disclaimed — Replaces "Vacant" with "Disclaimed"
 * dormant — Replaces "Vacant" with "Dormant"
 * unknown — Replaces "Vacant" with "Unknown"

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

Example
From the Charles I of England article:

title: Template:S-vac/doc


text:
Template:S-vac

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

title: Template:S-vac


text: Template:LinkColor

title: Template:LinkColor


text:
Template:LinkColor/doc

Usage
My  text. Produces:

My text.

My. Produces:

My.

title: Template:LinkColor/doc


text:
Template:Red link

[  ]

title: Template:Red link


text:
Template:Red link/doc

Usage
produces even though The weather in London page does exist

produces even though The weather in London page does exist

title: Template:Red link/doc


text:
Template:Msg

message with id '' (talk)

title: Template:Msg


text:
Template:Multicol

 {| class="multicol" style=" width:; table-layout:fixed;"
 * style="margin-right:;"|
 * style="margin-right:;"|

title: Template:Multicol


text:
Template:Multicol/doc

Usage
Multicol is used to start a multi-column section of a page. Between each block of column text insert Multicol-break and close the last column with Multicol-end. For example:

This text appears in the first column.

This text appears in the second column.

This text appears in the third column.

Provides this format:

This text appears in the first column.

This text appears in the second column.

This text appears in the third column.

You can have any number of columns. Each column will be the same width, equally dividing the available horizontal space. Each column has a small right margin (20 pixels), creating a "gutter" that prevents text in one column from touching text in the column to its right. See franl's user page for examples of how this template can be used.

Parameters
This template has two optional parameters: the overall width of the set of columns and the width of the gutter. The overall width of the set of columns can be an absolute value (e.g., 40em ) or a percentage of the available page width (e.g., 50% ). This parameter defaults to 100%. For example, to create a multi-column section that is only 50% the width of the page:

This text appears in the first column.

This text appears in the second column.

This text appears in the third column.

Provides this format:

This text appears in the first column.

This text appears in the second column.

This text appears in the third column.

The multi-column region is always positioned on the left side of the containing block. To change this, place the above Wikitext in a DIV block that has the CSS attribute text-align set to either center or right, like this:

...

Related templates
The templates Col-begin and friends do something similar to this template and its friends, but this template may be easier to use. Each of the following examples produce the same result (a 3-column table in which all columns have equal width):

Column 1

Column 2

Column 3

Column 1

Column 2

Column 3

It's simpler to add more columns to the Multicol example than to the Col-begin example, because in the latter case, all occurrences of Col-3 would need to be changed to Col-4.

title: Template:Multicol/doc


text:
Template:Multicol-break

 * style="margin-right: ;"|

title: Template:Multicol-break


text:
Template:Multicol-end

 * }

title: Template:Multicol-end


text:
Template:Col-3

 * style="width: 33.33%;" align="" valign="" |

title: Template:Col-3


title: Template:Col-3/doc


text: Template:Respell

title: Template:Respell


text:
Template:Respell/doc

This template formats pronounciation respellings of English words, and links to the respelling key at Pronunciation respelling key. It formats stressed syllables with bold, small-cap text. For example, the word "perfume" is respelled " "; using this template, the formatting is:
 * →

The formatting is: stressed syllables are in bold , unstressed syllables are in lowercase. All text is in italics, and is wikilinked to the pronounciation key page.

Do not separate every syllable with a pipe: join unstressed syllables with a hyphen, and only use a pipe to separate them from stressed syllables.

How to use
Once you have available the spelling syllables, you can put them in the respell template. To start with, one syllable per parameter (without dashes) does it. But there are situations, regarding stressing, that require more attention.

1. The template accepts up to seven syllables (parameters), separated by a pipe ("|"). The pipes are automatically replaced by hyphens, and they alternate the stressing: →. If more parameters (syllables) are needed, just use two templates.

2. When unstressed syllables follow one another (– . . .), they need to be hyphenated together in a single parameter:
 * → (algorithm)

3. Stressed syllables are counted from the last syllable backwards: the second-last, fourth-last, and sixth-last parameters are formatted as stressed. The other parameters are unstressed (. – .– . – .):
 * → (arachnophobia)

4. When the final syllable is stressed (. –), one needs to add an extra apostrophe parameter:
 * → (perfume)

5. Note: Case in the input is ignored:
 * →
 * →

Where to use
On Wikiversity, respelling is most commonly used to clarify the pronunciation of a name or topic in the lead section or introductory paragraph. Per the Manual of Style, respelling should follow the International Phonetic Alphabet, and never be used in place of it. The template provides a link to the key so that readers may easily look up how to pronounce the word. For example:
 * Worcestershire is a county located in central England.

The respelling key covers only English pronunciation, and should not be used for foreign names or words which have not been assimilated into English. If you need help transcribing the pronunciation into the IPA, please ask at Wikiversity talk:IPA for English.

When not to use
The transcription may supplement the IPA in many cases, but it is not adequate for general use. For example, MOW and TOW are poor transcriptions, because people will tend to read them incorrectly as Moe, toe rather than as Mao, Tao, which is what they actually transcribe. The metal cobalt is likewise impractical to transcribe with this system, because people will invariably read incorrectly, as rhyming with molt and dolt. (This cannot be easily fixed; * and * have the wrong vowel.) In such problematic cases, rhymes, sound-alikes, or USdict transcription may be better choices.

Examples
Here are examples of how to use the template for words with different numbers of syllables and different stress patterns:

title: Template:Respell/doc


text: Template:Stack begin

title: Template:Stack begin


text: Template:Stack begin/doc

title: Template:Stack begin/doc


text: Template:Stack end

title: Template:Stack end


text: Template:Stack end/doc

title: Template:Stack end/doc


text:
Template:Stack documentation

This template can be used to stack images and other floating content such as infobox templates without causing problems with spacing and floating. Enter a string of images/templates as the first parameter to have them stack without generating floating errors or spacing errors. You can stack many objects from the top of a section and not force further subsections to space out.

Basic usage
Using ,

or, alternatively, using /

...

Previous usage suggests is not always needed. Thus,  may simply a string of wiki code for many images / templates.

Optional parameters

or

where
 * left or right (default is right)
 * This option can be used to float the stack to the left or right of the page
 * true or false (default is false)
 * This option can be used to force the stack to the far left or right (e.g., near an infobox).

You can also explicitly list multiple arguments, which is then identical to the stack begin, stack mid and stack end version.

 * NB This multiple argument version does include extra vertical whitespace between each (set of) <object(s)>.

Basic examples
To illustrate the utility of the stack templates, consider the following situation. We would like to have two right floating images at the top of the first section of our article (here, the "Lipsum" section), and one left floating image at the top of the second section (here, the Lorem section). To achieve this layout, without using a stack template, we could try the following code

Lipsum
... text ...

Lorem
... text ...

Ipsum
... text ... The result of this is shown in the without stack section below. Notice how the left floating image (Example 1c) is prevented from floating above the last right floating image (Example 1b). You may need to resize the width of your browser to fully appreciate the issue. To fix this problem, we can stack the two right floating images together, using the following code

Lipsum
... text ...

Lorem
... text ...

Ipsum
... text ... The result of this is show in the with stack section below. Notice how by adding this stack template, the left floating image (Example 2c) can now float higher and is not blocked from floating higher than the top of the last right floating image (Example 2b).

NB
Obviously these current examples don't show any difference between with and without mid except for probably unwanted vertical space.

In fact, the reason for creating stack mid, at least in one example, was resolved by removing table style  from tables between stack begin and stack end.

However stack mid may still be useful for tables that would otherwise prefer to use the multiple argument option, which should be identical to using stack begin, stack mid and stack end where the latter easily allows the {| ... |} table syntax (which must begin on the start of the line).

More examples
Stack can also be used to float 1 or more images across a page.

It might take some experience to learn how the box area floats, in combination with various images or WP:Wikitables on a page. The operation of Template:stack is very quick, using the <table> feature of the HTML markup language.

Float portal boxes
Because auto-floating of portal boxes could cause a loss of margin control, the Template:stack can be used, as needed in some articles, when floating a portal box would look better alongside an infobox (or right-side image).

The example here uses to float 2 portal boxes (for Animals & Cats), as follows:

The 2 portal-boxes are stacked together, and floated together as a stack, by both being listed in parameter 1 to. Although the 2 portal-boxes were specified below the Mona Lisa image, because the infobox+image were also stacked together, then the moved the 2 portal-boxes, even higher, alongside the infobox.

Normally, a portal-box would be stuck below the Mona Lisa image, causing this entire text section to format further below, and causing a large text-gap of empty whitespace to appear near the infobox. There is no limit to the number of portalboxes (or Commonscat boxes) which can be listed within a call, such as in a stub or an article with many stacked images near the bottom. Using is extremely efficient, due to being a short template which uses builtin tag <table> to float the boxes.

Stack templates

 * Stack
 * Stack begin
 * Stack mid
 * Stack end

title: Template:Stack documentation


text: Template:Stack mid

title: Template:Stack mid


text: Template:Stack mid/doc

title: Template:Stack mid/doc


text: Template:Stack

title: Template:Stack


text: Template:Stack/doc

title: Template:Stack/doc


text: Template:Superimpose

title: Template:Superimpose


text:
Template:Superimpose/doc

 is a utility template which superimposes one image on top another. The position of the superimposed image is relative to the top left corner of the underlying image. It is often used to display a location mark on a map image, but it can be used with any two images.

Using the Template
To get started, you can simply copy this blank definition into your page, and fill in the data.

The following blank definition includes all the parameters, including those less-commonly used.

Parameter Definitions

 * base: File name of the base (underlying) image.
 * base_width: Width to display the base image, in pixels.
 * base_alt: Alt text for the image, for visually users; see WP:ALT. This should describe the composite image.
 * base_caption: Text to show when the mouse courser hovers over the base image; ignored if base_link is specified to be empty.
 * base_link: Name of page that the user will be sent to if they click on the base image. The special value " ", stands for the file page for the base image. If empty, nothing happens if the user clicks on the base image. The default is " ".
 * float: File name of the superimposed image.
 * float_width: Width to display the superimposed image, in pixels.
 * float_alt: Alt text for the superimposed image. This is needed only if float_link is nonempty. Normally the alt text for the base image describes the combination of the two images, and this parameter is not needed.
 * float_caption: Text to show when the mouse courser hovers over the superimposed image; ignored if float_link is missing or empty
 * float_link: Name of page that the user will be sent to if they click on the superimposed image. This acts like base_link, except it is for the top image, and it defaults to empty.
 * x: distance to offset the left edge of the superimposed image from the left edge of the base image, in pixels or any other CSS units.
 * y: distance to offset the top edge of the superimposed image from the top edge of the base image, in pixels or any other CSS units.

title: Template:Superimpose/doc


text: Template:Superimpose/sandbox

title: Template:Superimpose/sandbox


text:
Template:Superimpose/testcases

The same logic applies to both the base image and the float image. The results are the same as when using the Extended image syntax.

Test title text
Logic:
 * tooltip = if caption then caption else if link then link else void
 * link = if link then link else image file (the float link can be suppressed. See below)

Test alt text
The alt text should only be seen in the HTML code or with a screen reader.

Logic:
 * alt = if alt then alt else if caption then caption else file name

Suppressing the float link
Logic:
 * if the float_link parameter is assigned a value then the link will be to that value.
 * if the float_link parameter is included but is not assigned any value then the link will be suppressed.
 * if the float_link parameter is not included then the link will be to the float image.

title: Template:Superimpose/testcases


text: Template:Annotated image

title: Template:Annotated image


text:
Template:Annotated image/doc

This template allows the addition of explanatory notes to images in the form of actual text (which can also contain links), which is usually more legible than text  built into the image –  especially if the image is reduced to thumbnail size.

Other uses include cropping an image to exclude unimportant parts and perhaps enlarge important parts, and internationalisation, as the annotations can be changed without changing the image.

Usage
For examples see Template:Annotated image/doc/Samples.

All parameters have names – there are no nameless "numbered" parameters.

Two of the parameters, image and imagemap, are mutually exclusive – use one of them but not both.

In most cases you will need only the required parameters – the rest are there in case you want additional formatting options.

Example
Template:Annotated image/Extinction

Internationalisation
This template makes internationalisation easy – the text is already separate from the image, so it is easy to translate the text and, if necessary, move pieces of text, as the lengths of the same text in different languages can vary a lot. For example nl:Sjabloon:Zijbalk mariene extincties, the Dutch version of Template:Annotated image/Extinction, is widely used..

Pitfall
There is one pitfall, although it is mainly about using one browser in the correct way (Microsoft Internet Explorer, of course). Internet Explorer has two ways of scaling-up text to ease readability:
 * Text resizing, which appears in Internet Explorer's View menu, affects text but not images. This method can disrupt annotated images, as the text is scaled up but the image content and frame are not. Firefox and Opera do not use this mechanism.
 * Zoom also scales the image as well as text annotations, and thus does not disrupt the relative sizes and locations of annotations in annotated images. Netscape and its Mozilla derivatives, Firefox and Opera have had zoom for years, and it is more useful, as it also scales text implemented as part of an image, e.g., as in the Wikiversity logo. The zoom control sequences (CTRL + to increase, CTRL - to decrease) are the same in Firefox, Opera and Internet Explorer. In Firefox and Opera, there also menu items for zoom, which show the control sequences. In Internet Explorer 7 only text resizing appears in the menu; in order to learn zoom, users must look up some external source.

Subpages: templates based on this one
This list is automatically generated and updated. Redirects are shown in italics.

title: Template:Annotated image/doc


text:
Template:Annotated image/doc/Samples

This page presents samples of the use of Template:Annotated image

Simplest
Here almost all the formatting parameters of the annotations have been left at their default values. The only exceptions are "Before:" and "After:", which have been made larger, bold and italic.

The caption and the annotation "Microbial mat" contain wikilinks.

If you move the cursor over the template's box you will notice that the image is a lot smaller than the box, but the captions can be placed anywhere in the box.

Setting defaults for annotations
In this example the parameters annot-color=green and annot-font-family=Georgia, Times New Roman, serif have been applied to set new defaults for the annotations. But in addition special formatting values have been applied to "big bold red sans-serif italic multi-line", over-riding the defaults that have been set for the other annotations.

Note that these changes do no affect the color of the wikilink "Microbial mat".

Including image map; annotations within image
In this sample the image occupies the whole of the "canvas" and the annotations are superimposed on the image. The top bar of the image is an image map.

The template can float right or left. In the sample on the left, the annotations are all set to bold, by specifying just one parameter.

Cropping an image
The DNA image on the left was too tall for the associated text, and the next section contained a useful image. Downsizing the DNA image would have made it illegible. But Template:Annotated image with an empty "annotations" parameter can be used to crop an image so that only the important parts are shown. The important parameters for this cunning stunt are  (of the whole box),    (of the whole box),   (sets the scale of the image),   (a negative value hides the left part of the image) and   (a negative value hides the top part of the image).

title: Template:Annotated image/doc/Samples


text: Template:Annotated image/sandbox

title: Template:Annotated image/sandbox


text:
Template:Annotated image/testcases

=Current= This page presents samples of the use of Template:Annotated image

Simplest
Here almost all the formatting parameters of the annotations have been left at their default values. The only exceptions are "Before:" and "After:", which have been made larger, bold and italic.

The caption and the annotation "Microbial mat" contain wikilinks.

If you move the cursor over the template's box you will notice that the image is a lot smaller than the box, but the captions can be placed anywhere in the box.

Setting defaults for annotations
In this example the parameters annot-color=green and annot-font-family=Georgia, Times New Roman, serif have been applied to set new defaults for the annotations. But in addition special formatting values have been applied to "big bold red sans-serif italic multi-line", over-riding the defaults that have been set for the other annotations.

Note that these changes do no affect the color of the wikilink "Microbial mat".

Including image map; annotations within image
In this sample the image occupies the whole of the "canvas" and the annotations are superimposed on the image. The top bar of the image is an image map.

The template can float right or left. In the sample on the left, the annotations are all set to bold, by specifying just one parameter.

Cropping an image
The DNA image on the left was too tall for the associated text, and the next section contained a useful image. Downsizing the DNA image would have made it illegible. But Template:Annotated image with an empty "annotations" parameter can be used to crop an image so that only the important parts are shown. The important parameters for this cunning stunt are  (of the whole box),    (of the whole box),   (sets the scale of the image),   (a negative value hides the left part of the image) and   (a negative value hides the top part of the image).

=Sandbox= This page presents samples of the use of Template:Annotated image

Simplest
Here almost all the formatting parameters of the annotations have been left at their default values. The only exceptions are "Before:" and "After:", which have been made larger, bold and italic.

The caption and the annotation "Microbial mat" contain wikilinks.

If you move the cursor over the template's box you will notice that the image is a lot smaller than the box, but the captions can be placed anywhere in the box.

Setting defaults for annotations
In this example the parameters annot-color=green and annot-font-family=Georgia, Times New Roman, serif have been applied to set new defaults for the annotations. But in addition special formatting values have been applied to "big bold red sans-serif italic multi-line", over-riding the defaults that have been set for the other annotations.

Note that these changes do no affect the color of the wikilink "Microbial mat".

Including image map; annotations within image
In this sample the image occupies the whole of the "canvas" and the annotations are superimposed on the image. The top bar of the image is an image map.

The template can float right or left. In the sample on the left, the annotations are all set to bold, by specifying just one parameter.

Cropping an image
The DNA image on the left was too tall for the associated text, and the next section contained a useful image. Downsizing the DNA image would have made it illegible. But Template:Annotated image with an empty "annotations" parameter can be used to crop an image so that only the important parts are shown. The important parameters for this cunning stunt are  (of the whole box),    (of the whole box),   (sets the scale of the image),   (a negative value hides the left part of the image) and   (a negative value hides the top part of the image).

title: Template:Annotated image/testcases


text: Template:Annotation

title: Template:Annotation


text:
Template:Annotation/doc

Creates an annotation for annotated images, for example in the diagram on the right the labels for the various extinctions are generated by Template:Annotation:
 * You specify the position within the image at which each annotations is to appear.
 * Annotations may be links, including wikilinks.

Usage
where:
 * There are no keywords for the top, left and text parameters, which are mandatory and must appear in the order given above. The other parameters are optional, must be identified by their keywords (e.g. font-size=...), and may appear in any order.
 * top and left specify the annotation's position relative to the top left corner of the box that contains the image. i.e. the box' top left corner is 0,0. The box will usually be larger than the actual image, to make room for the annotations.
 * text is the text that will be displayed.
 * text-align can be set to left, center or right, and is only noticeable when the annotation spans multiple lines.
 * font-size is in px (pixel) units – CSS relative sizes are not supported.
 * font-weight is bold or normal.
 * font-family is the CSS name for the font, e.g. Times New Roman or Verdana
 * background-color defaults to transparent.
 * color is the color of the text and defaults to black, which is the default text color in most Wikiversity style sheets. In particular, it's best to use blue only for links.

Extended parameter names for use in other templates
Some of the parameters have alternative names that are used by containing templates to call Template:Annotation. The alternative names are provided in case the containing templates call other templates that use similar parameters.

These alternative names are provided so that the containing templates can provide default values for the corresponding parameters in Template:Annotation, and should not be used for any other purpose. Values specified using the basic parameter names listed above will over-ride the alternative names that are used by containing templates.

Here are the alternative names and the basic Template:Annotation parameters for which they set defaults

title: Template:Annotation/doc


text: Template:Annotated image/Extinction

title: Template:Annotated image/Extinction


text:
Template:Annotated image/Extinction/doc

This template was created to address concerns raised at Image_talk:Extinction_Intensity.svg – so users can now follow the wikilinks overlain on the image to find out more about the extinction events.

You can add the parameters caption= and annotation= to change the caption or add more annotations.

title: Template:Annotated image/Extinction/doc


text: Template:Location map+

title: Template:Location map+


text:
Template:Location map+/doc

This template places one or more location marks on a map, with optional labels. It is in the same family of templates as the Location map template and the documentation for that template might be helpful.

This template uses a helper template, Location map~, one or more times to generate a mark for each location.

Parameters
Notes:

Available maps
Location maps can be found using these sources:

 * Special:PrefixIndex/Module:Location map/data/ - Checked before a map template is searched for. New maps should be created here rather than creating new templates.
 * List of templates - 1050 templates available when the list was generated.
 * Category:Location map templates - templates sorted by category.
 * Special:WhatLinksHere/Template:Location map/Info - a search that might help.
 * Special:Prefixindex/Template:Location map - another search that might help.

Examples
This example does not designate the  parameter. It demonstrates the use of the defaults. Notice that the default caption is the page name followed by the map name in parenthesis and that the label position is automatically adjusted if it is too close to an edge.

This example uses a designated but empty. It demonstrates coordinates using decimal degrees and a 10px mark with a link.

This example uses  with an assigned value. It demonstrates coordinates in degree, minute, second format, a relief map, label background color and linked labels.

Also see the examples on the Location map page, as well as:
 * Template:Location map+/relief, an example using the relief parameter
 * Template:Location map+/AlternativeMap, an example using the AlternativeMap parameter
 * Template:Location map+/overlay, an example using the overlay_image parameter

Template data
{	"description": "This template places one or more location marks on a map.", "params": { "1": {			"label": "Map name", "type": "string", "required": true, "description": "The name of the map to be used" },		"width": { "label": "Map width", "type": "number", "description": "Determines the width of the map in pixels, overriding any default values. Do not include \"px\", for example: \"300\", not \"300px\"." },		"default_width": { "label": "Default width", "type": "number", "description": "Determines the default width of the map in pixels, intended for use by templates such as infoboxes. The default value is 240. Do not include \"px\". This value will be multiplied by the defaultscale parameter specified in individual map templates, if it exists, in order to achieve an appropriate size for vertical maps." },		"float": { "label": "Position", "type": "string", "description": "Specifies the position of the map on the page. Valid values are left, right, center and none. The default is right." },		"border": { "label": "Border color", "type": "string", "description": "Specifies the color of the map border. If set to none, no border will be generated. " },		"caption": { "label": "Map caption", "type": "string", "description": "The text of a caption to be displayed below the map. If caption is defined but is not assigned a value, the map will not be framed and no caption will be displayed. If caption is not defined, the map will not be framed and a default caption will be generated." },		"alt": { "label": "Alt text", "type": "string", "description": "Alt text for map; used by screen readers." },		"relief": { "label": "Alternative map from template", "type": "string", "description": "Any non-blank value (1, yes, etc.) will cause the template to display the map specified in the map definition template as image1, which is usually a relief map." },		"AlternativeMap": { "label": "Alternative map not from template", "type": "string", "description": "Allows the use of an alternative map. The image must have the same edge coordinates as the map template." },		"overlay_image": { "label": "Overlay image", "type": "string", "description": "Allows an overlay to be superimposed on the map. This parameter is seldom used." },		"places": { "label": "Place markers", "type": "string", "required": true, "description": "Specifies one or more place markers using Location map~." }	} }

title: Template:Location map+/doc


text: Template:Location map~

title: Template:Location map~


text: Template:Location map/decdeg

title: Template:Location map/decdeg


text:
Template:Location map/decdeg/doc

Examples

 * Degrees, minutes, seconds, hemisphere

 * Decimal degrees assigned to dec

 * Decimal degrees assigned to deg

 * All fields defined

 * Parameter dec ignored when deg/min/sec/hem are defined

 * Parameter dec ignored when deg is defined

title: Template:Location map/decdeg/doc


text: Template:Decdeg

title: Template:Decdeg


text:
Template:Decdeg/doc

This helper template provides a way to convert geographic coordinates from degree, minute, second format to decimal degrees. It is intended for use in building infobox templates.

Usage
The template can be used with named or unnamed parameters as shown.

Input degrees can be signed in which case the hemisphere is not required. A negative value implies a value in the western or southern hemisphere. Minutes and seconds need not be specified. If no degrees are specified then a value of zero is assumed. This template does not attempt to trap invalid values and results in this case might be undefined.

The decimal precision of the result is determined by the value assigned rnd, which defaults to 7.

Currently this template does not attempt to trap invalid values.

Examples

 * 37° → 37°
 * 119° → 119°

When using unnamed parameters, the hemisphere must be the fourth parameter:

 * 37° → 37°
 * 119° → 119°

Input can be signed or unsigned decimal degrees:

 * 37.85° → 37.85°
 * 119.5666667° → 119.5666667°

 * 37.85° → 37.85°
 * -119.5666667° → -119.5666667°

When using rounding, the factor must be the fifth parameter:

 * 37.85° → 37.85°
 * -119.5666667° → -119.5666667°

If a value is undefined then zero is assumed:

 * undefined° → undefined°
 * undefined° → undefined°

Negative zero values are accommodated:

 * 0° → undefined°
 * -0° → -0°

title: Template:Decdeg/doc


text: Template:Decdeg/sandbox

title: Template:Decdeg/sandbox


text: Template:Coord

title: Template:Coord


text:
Template:Coord/input/error2

in Coord

title: Template:Coord/input/error2


text:
Template:Coord/doc

When this template is used with display=title, the template is not displayed on mobile. This template is still displayed on mobile when used with display=inline, e.g. in infoboxes.

Purpose
provides a standard notation for encoding locations by their latitude and longitude coordinates. It is primarily for specifying the WGS84 geographic coordinates of locations on Earth, at the same time emitting a machine-readable Geo microformat. However, it can also encode locations on natural satellites, dwarf planets, and planets other than Earth.

 * To specify celestial coordinates, use Sky instead.
 * Tag articles which lack coordinates (but need them) with Coord missing.
 * If the subject's location is truly unknown or disputed, note this with Coord unknown.
 * If the coordinates were transcluded from Wikidata, use WikidataCoord.

See also: WikiProject Geographical coordinates.

Features
Latitude and longitude may be specified (with appropriate precision) either in decimal notation or as degrees/minutes/seconds. By default, coordinates appear in the format used to specify them. However, the  parameter can be used to force display in a particular format. The template also accepts and displays coordinates formatted as degrees and decimal minutes as found on charts and maritime references.

The template displays the formatted coordinates with a hyperlink to GeoHack. GeoHack displays information customized to the location, including links to external mapping services.

For terrestrial locations, a blue globe appears to the left of the hyperlink. Clicking on the globe activates the WikiMiniAtlas (requires JavaScript).

By default, coordinates appear "in line" with the adjacent text. However, the  parameter can be used to move the coordinates up near the page title (in desktop view only; title coordinates do not display in mobile view)—or display them in both places at once.

The template outputs coordinates in three formats:
 * Degree/minutes/seconds ("DMS", precision is degrees, or degrees/minutes, or degrees/minutes/seconds, based on input precision).
 * Decimal degrees (varying the number of decimal places based on input precision)
 * A machine readable Geo microformat.

Additional features
 * Logged-in users can customize how coordinates appear in their browsers.
 * You can get coordinates from Wikidata by transcluding this template without any numbered arguments.
 * You can extract information from the Coord template for use in mathematical expressions. For details, see Module:Coordinates.
 * All coordinates used in a page through this template are registered in the geosearch API. If a coordinate is using title display, then these coordinates will be marked as the primary coordinates with regards to the page and therefore the topic of that page.

Caveats
The template must not be modified without prior discussion. External tools can depend on the format of both the wikitext and/or the generated html.

Usage
{{coord|latitude|longitude|coordinate parameters|template parameters}} {{coord|dd|N/S|dd|E/W|coordinate parameters|template parameters}} {{coord|dd|mm|N/S|dd|mm|E/W|coordinate parameters|template parameters}} {{coord|dd|mm|ss|N/S|dd|mm|ss|E/W|coordinate parameters|template parameters}}

The hemisphere identifiers (N/S) and (E/W), if used, must be adjacent to the enclosing pipe " " characters, and cannot be preceded or succeeded by spaces.

There are two kinds of parameters, all optional:

 * Coordinate parameters are parameters that Coord passes to the map server. These have the format parameter:value and are separated from each other by the underscore character ( _ ). The supported coordinate parameters are dim:, globe:, region:, scale:, source:, and type:. See coordinate parameters for details and examples.

 * Template parameters are parameters used by the Coord template. These have format parameter=value and are separated from each other by the pipe character ( | ). The supported template parameters are display=, format=, name=, and notes=.
 * display= can be one of the following:
 * – Display the coordinate inline (default)
 * – Display the coordinate at the top of the article, beside the article's title (replaces coor title dms family; coordinates are displayed in desktop view only; title coordinates do not display in mobile view)
 * shortcut:
 * – Display the coordinate both inline and beside the article's title (replaces coor at dms family)
 * shortcut:
 * has the same effect as
 * Note: the  attribute indicates that the coordinates apply to the entire article, and not just one of (perhaps many) places mentioned in it—so it should only be omitted in the latter case. Additionally the title option will mark the coordinates as the primary coordinates for the page (and topic of the page) in the geosearch API.
 * format= can be used to force dec or dms coordinate display.
 * reformats the coordinates to decimal degrees format.
 * reformats the coordinates to degrees | minutes | seconds format.
 * name= can be used to annotate inline coordinates for display in map services such as the WikiMiniAtlas. If omitted, the article's title (PAGENAME) is assumed.
 * Note: a name= parameter causes Coord to emit an hCard microformat using that name, even if used within an existing hCard. Do not use when the name is that of a person (e.g for a gravesite), as the generated hCard would be invalid. Also, do not use square brackets in names.
 * notes= specifies text to be displayed immediately following the coordinates. This is primarily intended for adding footnotes to coordinates displayed beside the title.
 * qid= specify Q item to display the coordinates of. Used primarily by Wikidata powered infoboxes.

Helper functions
Helper functions are available to manipulate the output from Coord when it appears in a container template such as an infobox.

To extract the latitude from a Coord template
Use:

→

and similarly to extract the longitude, use:

→

 * Note: this method removes the microformat markup, and should not be used inside templates which emit parent microformats, such as infoboxes or table-row templates.

Displaying all coordinate links on one map
The template GeoGroup can be used in an article with coordinates. This template creates links to mapping services which display all the coordinates on a single map, and links to other services which allow the coordinates to be used or downloaded in a variety of formats.

Coordinate parameters
The first unnamed parameter following the longitude is an optional string of coordinate parameters, separated by underscores. These parameters help GeoHack select suitable map resources, and they will become more important when Wikimaps becomes fully functional.

dim:D
The  parameter defines the diameter of a viewing circle centered on the coordinate. While the default unit of measurement is metres, the  suffix may be appended to indicate kilometres.

GeoHack uses  to select a map scale such that the viewing circle appears roughly 10 cm in diameter on a 72 dpi computer monitor. If no,  , or   parameters are provided, GeoHack uses its default viewing circle of 30 km.

Incorrect uses and maintenance categories
The template has some input checks built in. Most errors display a bold, red message inline and categorize the article in the hidden maintenance category Pages with malformed coordinate tags. There in that category. See the category description for further instructions.

A more thorough daily report of coordinates needing repair is at ~dispenser/view/File viewer.

See also: WT:GEO

Internals
This template is completely powered by the Lua.

Class names
The class names geo, latitude and longitude are used to generate the microformat and MUST NOT be changed.

History
This template used to use a lot of sub templates but these have all been replaced by.

Template Data
This template uses overloading which does not work well with the VisualEditor/TemplateData. Consider using "Edit source" instead of the visual editor until this defect is corrected. To facilitate visual editing in the meantime, consider using coordDec for signed decimal degrees, coordDMS when degrees minutes and seconds are specified, and coordDM when just degrees and minutes are given.

{	"description": "Encodes the latitude and longitude coordinates of a location, provides a link to map of the location. This template does not work well with the Visual Editor, consider using for signed decimal degrees,  when degrees minutes and seconds are specified  when only degrees and minutes are specified. To use this template you will need to use positional parameter following one of these schemes: °N, °W, °N, °W, °N, °W °N, °W where D is degrees, M is minutes, S seconds, sD signed decimal degrees, NS is N or S, EW is E or W, opts are named parameter and geo are the coordinate parameters described on the main doc page.", "params": { "1": {			"label": "1", "description": "Either degrees latitude or a signed decimal degrees latitude", "type": "number", "required": false, "suggested": true },		"2": {			"label": "2", "description": "Either: minutes latitude, signed decimal degrees longitude or 'N' or 'S'.", "type": "string", "required": false, "suggested": true },		"3": {			"label": "3", "description": "Either: second latitude, degrees longitude, 'N' or 'S' or GeoHack parameters", "type": "string", "required": false },		"4": {			"label": "4", "description": "Either: degrees longitude, 'N', 'S', 'E' or 'W' or GeoHack parameters", "type": "string", "required": false },		"5": {			"label": "5", "description": "Either: degrees longitude, minutes longitude or GeoHack parameters", "type": "string", "required": false },		"6": {			"label": "6", "description": "Either: minutes longitude, 'E' or 'W' or GeoHack parameters", "type": "string", "required": false },		"7": {			"label": "7", "description": "Either second longitude, or GeoHack parameters", "type": "string", "required": false },		"8": {			"label": "8", "description": "'E' or 'W'.", "type": "string", "required": false },		"9": {			"label": "9", "description": "GeoHack parameters. Example: dim:30_region:US-WI_type:event", "type": "string", "required": false },		"qid": { "label": "Wikidata item", "description": "Retrieve coordinates from a WikiData entry instead of from this template's parameters", "type": "line", "required": false, "example": "Q513" },		"display": { "label": "Display", "description": "Where it is displayed. Can be one of: 'inline' in the body of the article, 'title' at the top of the article or 'inline,title' both", "type": "line", "default": "inline", "suggested": true, "required": false, "suggestedvalues": [ "inline", "title", "inline,title" ]		},		"name": { "label": "Name", "description": "a label to place on maps (default is PAGENAME)", "type": "string", "required": false },		"notes": { "label": "Notes", "description": "text displayed immediately following the coordinates", "type": "string", "required": false },		"format": { "label": "Format", "description": "How the coordinates are displayed, either 'dec' or 'dms'", "type": "line", "required": false, "suggestedvalues": [ "dec", "dms" ]		},		"nosave": { "label": "Geosearch", "description": "Set to 'true' if you want to avoid this coordinate to be registered in the geosearch API.", "type": "string", "required": false }	} }

title: Template:Coord/doc


text:
Template:Coord how-to

To add 57.30611°N, -4.45889°W to the top of an article, use Coord, thus:

These coordinates are in degrees, minutes, and seconds of arc.

"title" means that the coordinates will be displayed next to the article's title at the top of the page (in desktop view only; title coordinates do not display in mobile view) and before any other text or images. It also records the coordinates as the primary location of the page's subject in Wikipedia's geosearch API. To add 44.1124°N, -87.913°W to the top of an article, use either

(which does not require minutes or seconds but does require the user to specify north/ south and east/west) or

(in which the north and east are presumed by positive values while the south and west are negative ones). These coordinates are in decimal degrees. Optional coordinate parameters follow the longitude and are separated by an underscore ("_"):
 * Degrees, minutes and seconds, when used, must each be separated by a pipe ("|").
 * Map datum must be WGS84 if possible (except for off-Earth bodies).
 * Avoid excessive precision (0.0001° is <11 m, 1″ is <31 m).
 * Maintain consistency of decimal places or minutes/seconds between latitude and longitude.
 * Latitude (N/S) must appear before longitude (E/W).

 * dim: N (viewing d iameter i n m etres)
 * region: R (ISO 3166-1 alpha-2 or ISO 3166-2 code)
 * type: T (  or , for example)

Other optional parameters are separated by a pipe ("|"):

Thus:
 * display
 * inline (the default) to display in the body of the article only,
 * title to display at the top of the article only (in desktop view only; title coordinates do not display in mobile view), or
 * inline,title to display in both places.
 * name
 * X to label the place on maps (default is PAGENAME)

Use title (or inline,title) once per article, for the subject of the article, where appropriate. {{documentation|content=
 * Per WP:ORDER, the template is placed at the bottom of the article in the 'end matter', after any navigation templates, but before all categories, including the DEFAULTSORT template. This template may also be placed within an infobox, instead of at the bottom of the article.
 * For full details, refer to Coord/doc.
 * Additional guidance is available at obtaining coordinates and converting coordinates.

Usage
This a sub-tempate for Coord/doc.

}}

title: Template:Coord how-to


text: Template:Coord/display/inline

title: Template:Coord/display/inline


text:
Template:Coord/sub doc

The following templates are "subroutines" of Coord. Separating them out drastically reduces the pre-expand size of Coord. They shouldn't be invoked directly.

title: Template:Coord/sub doc


text:
Template:Coord/display/inline,title

Coordinates:

title: Template:Coord/display/inline,title


text:
Template:Coord/display/title

Coordinates:

title: Template:Coord/display/title


text:
Template:Coord/link

[      /     / ;    ]

title: Template:Coord/link


text:
Template:Coor URL

http://toolserver.org/~geohack/geohack.php?pagename=&params=

title: Template:Coor URL


text:
Template:Coor URL/doc

Usage
This template is not meant to be used directly.

Note: If the URL in this template is changed, the new URL needs to be added to m:MediaWiki:Wikiminiatlas.js (preferably a long time before this template is changed). Otherwise, WikiMiniAtlas will not function.

title: Template:Coor URL/doc


text:
Template:Main coordinates templates

Note: This template is used to generate a see also list for certain coordinate templates.

Template begins here
 * Template:Coor URL
 * Template:Coord - supersedes the nine former coor * templates.

title: Template:Main coordinates templates


title: Template:Coord/dec2dms


text:
Template:Coord/dec2dms/doc

Given a decimal coordinate, two cardinal directions, and precision, render a coordinate in degrees/minutes/seconds.

Usage
{{coord/dec2dms|coord|N|S|precision}} {{coord/dec2dms|coord|E|W|precision}}

Precision codes:

title: Template:Coord/dec2dms/doc


text:
Template:Coord/dec2dms/subdoc

Subroutines
Subroutines of :

title: Template:Coord/dec2dms/subdoc


text:
Template:Coord/dec2dms/d

°

title: Template:Coord/dec2dms/d


text:
Template:Coord/dec2dms/d1

°

title: Template:Coord/dec2dms/d1


text:
Template:Coord/dec2dms/dms

°00′00″

title: Template:Coord/dec2dms/dms


text:
Template:Coord/dec2dms/dms/doc

Purpose
Converts decimal values into dms.

Usage
Subtemplate of coord. Do not use directly.

title: Template:Coord/dec2dms/dms/doc


text:
Template:Coord/dec2dms/dm1

°00′

title: Template:Coord/dec2dms/dm1


text:
Template:Coord/dec2dms/dms1

°00′00″

title: Template:Coord/dec2dms/dms1


text:
Template:Coord/dec2dms/dm

°00′

title: Template:Coord/dec2dms/dm


text: Template:Coord/negzeropad

title: Template:Coord/negzeropad


text:
Template:Coord/negzeropad/doc

Adds zeros to the end of new until it is the same as the negative original without its sign. Used with functions that have done new=abs(original) and lost precision.

Example:  becomes

title: Template:Coord/negzeropad/doc


text:
Template:Coord/link/doc

This template, Coord/link, is used by Coord.

Notes on classes
Note: the span classes "geo-default", "geo-dec", and "geo-dms" are defined at http://en.Wikiversity.org/wiki/MediaWiki:Common.css.

In addition, "geo" and the nested "latitude" and "longitude" have special meaning as a Geo microformat and so might also be used by other templates; see also http://microformats.org/wiki/geo.

title: Template:Coord/link/doc


text:
Template:UF-coord-classes

To always display coordinates as DMS values, add this to your common.css:

To always display coordinates as decimal values, add this to your common.css:

To display coordinates in both formats, add this to your common.css:

If CSS is disabled, or you have an old copy of MediaWiki:Common.css cached, you will see both formats. (You can either clear your cache or manually refresh this URL: .)

To disable display of the blue globe adjacent to coordinates, add this to your common.js: Note that this will disable WikiMiniAtlas.

See also:.

title: Template:UF-coord-classes


text: Template:Coord/input/d

title: Template:Coord/input/d


text: Template:Coord/prec dec

title: Template:Coord/prec dec


text:
Template:Coord/prec dec/doc

This template, Coord/prec dec, returns "d", "dm", or "dms" to indicate the most appropriate display format for a latitude-longitude pair expressed in decimal degrees.

title: Template:Coord/prec dec/doc


text: Template:Coord/prec dec/sandbox

title: Template:Coord/prec dec/sandbox


text: Template:Coord/input/dec

title: Template:Coord/input/dec


text: Template:Coord/input/dm

title: Template:Coord/input/dm


text: Template:Coord/input/dms

title: Template:Coord/input/dms


text: Template:Coord/input/dms/sandbox

title: Template:Coord/input/dms/sandbox


text:
Template:Coord/input/ERROR

Unknown format in Coord. Parameters:
 * 1=
 * 2=
 * 3=
 * 4=
 * 5=
 * 6=
 * 7=
 * 8=
 * 9=

title: Template:Coord/input/ERROR


text: Template:Coord/input/nolat

title: Template:Coord/input/nolat


title: Template:Coord/dms2dec


text:
Template:Coord/dms2dec/doc

Coord/dms2dec converts cardinal direction and degree-minutes-seconds to decimal coordinate.

Usage
{{coord/dms2dec|direction|degrees|minutes|seconds}}

title: Template:Coord/dms2dec/doc


text: Template:Precision/tz

title: Template:Precision/tz


text:
Template:Precision/tz/doc

This template, precision/tz, returns the number of trailing zeroes after the decimal point.

title: Template:Precision/tz/doc


title: Template:Precision/tz/1


text:
Template:Precision/tz/1/doc

precision/tz/1 is a subroutine used by, due to lack of support for local variables.

title: Template:Precision/tz/1/doc


text:
Template:Sky

Coordinates: h m s, ° ′ ″

title: Template:Sky


text:
Template:Sky/doc

This template is a copy of WikiProject Geographical coordinates templates. In this case, template will link all type of astronomical objects to a sky map.

More than 1000 astronomical objects articles are using this template.

Usage
The template has 8 parameters. The three firsts are the right ascension (hours, minutes and seconds). The fourth is the declination sign (- for negative and + for positive). The next three parameters are the declination (degrees, minutes and seconds) and the last the distance in light years, used for calculating the zoom. The standard last parameter in constellations is the number 10.

Put this template at the end of articles astronomical objects articles. See examples of usage in Andromeda Galaxy or Proxima Centauri articles.

 * Example

This indicates a position of
 * Right ascension: 00:42:44.30
 * Declination: +41°16′10″
 * Distance: 2,360,000 light years (723,500 parsecs)

Related templates

 * Template:Need Sky

title: Template:Sky/doc


text:
Template:Sky/sandbox

Coordinates: h m s, ° ′ ″

title: Template:Sky/sandbox


text: Template:Need Sky

title: Template:Need Sky


text:
Template:RA

h

title: Template:RA


text:
Template:RA/doc

m s

hours:minutes:seconds
 * hours:minutes:seconds

Note that the third argument, seconds, is optional.

hours:minutes:0
 * hours:minutes:0

title: Template:RA/doc


text:
Template:DEC

°

title: Template:DEC


text:
Template:DEC/doc

′ ″

degrees°minutes′seconds″
 * degrees°minutes′seconds″

Note that the second and third arguments, seconds & minutes, are optional.

degrees°minutes′
 * degrees°minutes′

degrees°
 * degrees°

title: Template:DEC/doc


text: Template:Coord missing

title: Template:Coord missing


text:
Template:Coord missing/doc

This template is used to mark articles without geolocation data (coordinates) and is easily converted, by adding them, into coord.

Parameters

 * region name:

Either one of the country names used in the subcategories of Category:Articles missing geocoordinate data by country, or a smaller area, such as a state or province, where that sub-subcategory exists or is warranted. Where a particular country cannot be identified, one of the continent names used in the subcategories of Category:Articles missing geocoordinate data by continent should be used instead.

 * The categories are hidden categories. To view hidden categories, one needs to activate them in Special:Preferences. Under "Appearance", there is "Show hidden categories".

Removal of template
The template should be removed when coordinates are added to the article.

A bot occasionally removes it from all articles that already use coor URL.

Adding coordinates

 * Obtain the coordinates
 * Use the appropriate infobox parameters, or coord.
 * Follow the Manual of Style.
 * Please don't be overly precise.

commons:Template:Location possible

title: Template:Coord missing/doc


text: Template:Coord unknown

title: Template:Coord unknown


text:
Template:Coord unknown/doc

This template is used to tag articles which satisfy the following three criteria:
 * 1) The subject is non-fictional.
 * 2) It is associated with a fixed location on Earth.
 * 3) The article lacks geographic coordinates (latitude and longitude) because the subject's location is disputed or unknown.

Evidence that the subject's location is disputed or unknown might include:
 * a reliable source says the subject's location is unknown AND no reliable source gives a specific location for it, or
 * reliable sources provide two or more contradictory locations.

If further research seems likely to uncover definite coordinates, do not apply this template; use Coord missing instead.

If the subject's location is known approximately, it may still be better to provide rough coordinates using Coord than to apply this template.

Parameters

 * countryname:

 * should be one of the country names used in the subcategories of Category:Articles missing geocoordinate data by country. Where a particular country cannot be identified, one of the continent names used in the subcategories of Category:Articles missing geocoordinate data by continent should be used instead.

 * Note: this parameter is for future use. The template doesn't yet subcategorize articles by country or continent, but may begin doing so at a later date.

title: Template:Coord unknown/doc


text:
Template:Coord-doc-dim

The  parameter defines the diameter of a viewing circle centered on the coordinate. While the default unit of measurement is meters, the  suffix may be appended to indicate kilometers.

GeoHack uses  to select a map scale such that the viewing circle appears roughly 10 cm in diameter on a 72 dpi computer monitor. If no,  , or   parameters are provided, GeoHack uses its default viewing circle of 30 km.

title: Template:Coord-doc-dim


text:
Template:Coord/doc/internals

Template:Coord consists of a number of subtemplates. This page provides an explanation of how the template uses these subtemplates.

Use cases
dec: 9°N, -9°W 1 2 3

d: 9°N, -9°W 1 2 3 4 5

dm: 9.15°N, -9.15°W 1 2 3 4 5 6 7

dms: 9.1525°N, -9.1525°W 1 2 3 4 5 6 7 8 9

Coord
Template:Coord

Input: Parameters 1, 2, 3, 4, 5, 6, 7, 8, 9, format, name

Pass all parameters to one of the following input templates:

The input templates differ on which parameters they use and what they do to them.

Coord/input/dec
Template:Coord/input/dec

Input: Parameters 1, 2, 3, format, name

Pass to Coord/link the following parameters:

 * dms-lat and dms-long: The latitude and longitude in degrees (minutes (and seconds)) format as text (and not separate parameters), using
 * Coord/prec dec to determine whether minutes and seconds are needed to cover the precision of the given number of decimal digits, and
 * Coord/dec2dms to split them to the necessary parts.
 * dec-lat and dec-long: Passed along as given.
 * param: URL parameters for use in Template:GeoTemplate
 * default: The format parameter, or "dec" if not given. Used in
 * name: Passed along as given.

Coord/input/d
Template:Coord/input/d

Input: Parameters 1, 2, 3, 4, 5, format, name

Pass to Coord/link the following parameters:

 * dms-lat and dms-long: The latitude and longitude in degrees (minutes (and seconds)) format as text (and not separate parameters), using
 * Coord/prec dec to determine whether minutes and seconds are needed to cover the precision of the given number of decimal digits, and
 * Coord/dec2dms to split them to the necessary parts.
 * dec-lat and dec-long: Passed along with signs from NSEW using Coord/dms2dec
 * param: URL parameters for use in Template:GeoTemplate
 * default: The format parameter, or "dec" if not given. Used in
 * name: Passed along as given.

Coord/input/dm
Template:Coord/input/dm

...

Coord/input/dms
Template:Coord/input/dms

...

Coord/link
Template:Coord/link

Input: Template:Coor URL and parameters dms-lat, dms-long, dec-lat, dec-long, param, name, default

Creates a link of the given coordinates, displaying the coordinate parameters as such. The default parameter controls which of dms or dec is shown, by using the geo classes in MediaWiki:Common.css, as described in UF-coord-classes

In addition, "geo" and the nested "latitude" and "longitude" have special meaning as a Geo microformat and so might also be used by other templates.

Coord/display/inline,title
Template:Coord/display/inline,title

...

title: Template:Coord/doc/internals


text: Template:Coord/display/title/Print

title: Template:Coord/display/title/Print


text: Template:Coord/link/Print

title: Template:Coord/link/Print


text:
Template:Coord/link/Print/doc

Usage
Version of Template:Coord/link for rendering in pdf by Special:Book

title: Template:Coord/link/Print/doc


text: Template:Coord/display/inline,title/Print


text:
Template:Location map~/doc

Usage
See Location map+ for documentation.

ar:قالب:خريطة مواقع~ as:Template:Location map~ bn:টেমপ্লেট:Location map~ da:Skabelon:Kortpositioner~ dsb:Pśedłoga:LocMap~ es:Plantilla:Mapa de localización~ eo:Ŝablono:Situo sur mapo/~* fr:Modèle:Carte position~ hsb:Předłoha:LocMap~ hr:Predložak:Lokacijska karta točka ko:틀:위치 지도~ ku:Şablon:Nexşeya cihan~ os:Шаблон:ПозКартæ~ id:Templat:Location map~ it:Template:Mappa di localizzazione~ nl:Sjabloon:Positiekaart~ ja:Template:Location map~ pl:Szablon:Mapa lokalizacyjna~ pt:Predefinição:Mapa de localização~ ru:Шаблон:ПозКарта~ uk:Шаблон:Карта розташування~

title: Template:Location map~/doc


text: Template:Location map Australia

title: Template:Location map Australia


text:
Template:Location map/Info

< Template:Location map

title: Template:Location map/Info


text:
Template:Location map/Info/doc

This template displays values for the map templates such as Location map Spain. These templates are used by Location map to obtain values such as the file name and the border coordinates of each location map.

Usage

 * On a template page
 * On a documentation sup-page

The parameter
The Location map family of templates uses the value assigned to  to generate alt text. It is used to construct the sentence " is located in  ". Assign a value to  that fits in the sentence. For example:

 * Chicago is located in the United States. So the United states.
 * Santo Domingo is located in the Dominican Republic. So the Dominican Republic.

title: Template:Location map/Info/doc


text: Template:Location map Spain

title: Template:Location map Spain


text: Category:Location map by country templates


text: Template:Category TOC

title: Template:Category TOC


text:
Template:Category TOC/doc

Usage
This template adds a table of contents (TOC) to a category page. It should only be added to category pages and should not be used for categories containing less than 400 pages.

Parameters

 * align - specifies the position. Default is left.
 * top - specifies whether a link to the top of the category is included. Default is yes.
 * numerals - specifies whether numerals are included:
 * group (default): there is one link for 0-9.
 * separate: each numeral 0,1,...,9 has a separate link.
 * no: no link.
 * uppercase - specifies whether there is a link for each uppercase letter A,B,...,Z. Default is yes.
 * lowercase - specifies whether there is a link for each lowercase letter a,b,...,z. Default is no.

Examples

 * Category TOC

 * Category TOC

 * Category TOC

 * Category TOC

 * Category TOC

title: Template:Category TOC/doc


text:
Template:TOC top

 {{doc|content=

This is used to create custom table of contents templates such as {{tl|list TOC}}.

Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through category:TOC templates and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.

title: Template:TOC top


text:
Template:TOC top/sandbox

  {{doc|content=

This is used to create custom table of contents templates such as {{tl|list TOC}}.

Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through category:TOC templates and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.

title: Template:TOC top/sandbox


text:
Template:TOC bottom

{{doc|content=

This is used to create custom table of contents templates such as {{tl|list TOC}}.

Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through category:TOC templates and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.

title: Template:TOC bottom


text:
Template:List TOC

 * A
 * B
 * C
 * D
 * E
 * F
 * G
 * H
 * I
 * J
 * K
 * L
 * M
 * N
 * O
 * P
 * Q
 * R
 * S
 * T
 * U
 * V
 * W
 * X
 * Y
 * Z

title: Template:List TOC


text:
Template:List TOC/doc

Usage
This template creates a horizontal table of contents with links from A to Z and four optional rows of links. It is intended primarily for list articles where the standard TOC would be unwieldy. The template is styled with the hlist class for accessibility and has few superfluous frills.

The A–Z links are always created. Two upper rows can be defined using a1 through a20 and b1 through b20. Two lower rows can be defined using c1 through c20 and d1 through d20.

Examples

title: Template:List TOC/doc


text: Template:List TOC/sandbox

title: Template:List TOC/sandbox


text: Template:List TOC/sandbox/doc

title: Template:List TOC/sandbox/doc


text: Template:Category see also

title: Template:Category see also


text:
Template:Category see also/doc

Redirects

 * Related category
 * Cat see also

Usage

 * Usual syntax

Parameters:
 * 1) Most are pipe character separated category page names; up to 40 pages
 * 2) LABEL=Some other phrase...  → replaces defaults: "See also Category:" or "See also categories:" (prefix messages).
 * 3) That phrase is normally italicized. When defining LABEL any wikimarkup or HTML text will be accepted.
 * 4) You may assume a space before the first category link.
 * 5) The template is written in an HTML ... block, so can be used in-line as part of a sentence. Conversely, an editing must ensure a blank line or HTML "
" follows it, or the text may be run the next line into it.
 * 6) SISTER=Any valid interwiki or interproject prefix from de:, fr:, es: access to other Wikiversity's to cross sister wiki's using sister projects abbreviations such as B:, Q:, S:, v: etc. and where applicable, both interlingual and cross project links can be made like
 * 7)   for linking categories on the German language Wikiversity, or
 * 8)   for linking categories on the French language Wikibooks.

 * Simple examples

 * example w/default message:

 * would give (display as):

 * example w/LABEL parameter option

 * would give (display as):

 * Pragmatic Example:

Bobsledding and luge are Olympic sports properly subcategorized under 'sledding', so shouldn't appear (strictly speaking categorically so to speak) as sub-categories of 'winter sports', but which a lay reader using categories might expect to find them. So to show their presence and guide proper selections for editors choosing categories amongst the three layers of categories, one can include the sub-sub-categories as a see also annotation on the Category:Winter sports page.

 * given by...

title: Template:Category see also/doc


text: Category:Location relief map by country templates


text: Category:Location map templates

title: Category:Location map templates


text: Category:Australia location map templates


text: Template:Location map Australia relief

title: Template:Location map Australia relief


text: Template:Location map Asia2

title: Template:Location map Asia2


text: Template:Location map Asia

title: Template:Location map Asia


text: Template:Location map many

title: Template:Location map many


text:
Template:Location map many/doc

Template:Location map many creates a location map as a composite image of an existing map, with multiple markers and optional labels superimposed onto it. This template functions in the style of Template:Location_map, but allows multiple markers and labels (rather than just one marker).

For an unlimited list of markers/labels, see: Template:Location map+, which specifies points as a coded template list of markers/labels.

Usage
The first unnamed parameter (shown as below) specifies a map definition. If is Spain, the map image and coordinates are based on the values defined for Spain in Module:Location map/data/Spain if it exists, or in Template:Location map Spain otherwise.

Parameters
Note: For brevity, parameters "pos" & "bg" are aliases (for "position" & "background"), with pos2, bg2, pos3, bg3, etc.

Markers
When a marker's mark # size=0, then that marker is skipped and only the related label is displayed, without the marker.

Each mark, mark2, mark3 (etc.) can be another image-symbol, such as Diamond_sheer_red_20.gif (marksize=20) to show a red diamond on the image: or use: Cercle_rouge_100%.svg to show a red circle  or a larger black diamond: Diamond_sheer_black_37.gif as sized with a larger marksize=37 or similar number to resize the diamond somewhat:
 * See Wikimedia pointer symbols: commons:Category:Map pointers.

Advisory messages
The degrees of latitude/longitude are validated, to show error messages, but location minutes can be set very large to place markers outside the map (with no warnings). Due to the numerous details of specifying multiple markers/labels, the latitude and longitude are checked to lie within the actual map limits specified in Template:Location_map_ . Each marker/label is checked and can list a warning message (under the map), such as:
 * Latitude#4 (45.68) < map min(53.74).

Processing continues, with that marker actually placed off-map, and all latitude/longitude parameters are checked. Only degrees of latitude/longitude are checked, so a value of 63 minutes would be valid to indicate 1 extra degree + 3 minutes, and setting lon_min=200 could still place a marker off-map (right-side) with no warning message. Also, large markers or long labels can spill over the edges of a map, allowing markers to point inward from outside the map. In such cases, a map could be centered by itself on the page ("float=center") to avoid overlapping the edge markers onto any surrounding article text.

Available maps
Location maps can be found using these sources:

 * Special:PrefixIndex/Module:Location map/data/ - Checked before a map template is searched for. New maps should be created here rather than creating new templates.
 * List of templates - 1050 templates available when the list was generated.
 * Category:Location map templates - templates sorted by category.
 * Special:WhatLinksHere/Template:Location map/Info - a search that might help.
 * Special:Prefixindex/Template:Location_map_ - another search that might help.

Creating new map definitions
See Creating a new map definition.

Implementation notes
The map with markers/labels is implemented as nested HTML divisions. The map-image is in an HTML division, containing each point as a percent-locator division containing a marker-image sub-division plus a label sub-division. Each point is calculated (for a percent-locator division) with X or Y coordinate "XX.X%" or "YY.Y%" as follows:

 * The div-tag is "
"
 * For placing latitude, the calculation is:
 * XX.X% = 100 * (top - (lat_deg + latmin/60 +latsec/3600) ) / (top - bottom)
 * If lat_deg is empty, the combined decimal latitude is used from "lat".
 * If lat_dir is "S" (south), the latitude is multiplied by -1.
 * (Note latitude is positioned in reverse, from top of map downward.)

 * For placing longitude, the calculation is:
 * YY.Y% = 100 * ( (lon_deg + lonmin/60 +lonsec/3600) - left ) / (right - left)
 * If lon_deg is empty, the combined decimal longitude is used as "long".
 * If lon_dir is "W" (west), the longitude is multiplied by -1.

 * The div-tag is ended as "height: 0; width: 0; margin: 0; padding: 0;">".
 * Within that division the marker/label sub-divisions are coded as:
 *
.

 * For label position, the options are shifted as:
 * when position=left, adds "left: -6.5em; text-align: right;"
 * when position=right, adds "left: 0.5em; text-align: left;"
 * when position=top, adds "top:-2.65em; left:-3em; text-align: center;"
 * when position=bottom, adds "top:-0.15em; left: -3em; text-align: center;" to div-tag.

title: Template:Location map many/doc


text:
Template:Location map+/relief

The following examples document the use of the relief parameter in the Location map+ template. This parameter is also available via the Location map and Location map many templates.

Location map+, with relief parameter

Location map+, with undefined relief parameter

Location map+, using AlternativeMap for a different relief map

title: Template:Location map+/relief


text: Category:Japan location map templates

title: Category:Japan location map templates


text:
Template:Location map+/AlternativeMap

The following examples document the use of the AlternativeMap parameter in the Location map+ template. This parameter is also available via the Location map and Location map many templates.

AlternativeMap defined

AlternativeMap not defined

title: Template:Location map+/AlternativeMap


text: Template:Location map England

title: Template:Location map England


text: Template:Location map Croatia

title: Template:Location map Croatia


text:
Template:Location map Croatia/doc

Template:Location map Croatia is a location map definition used to overlay markers and labels on an equirectangular projection map of Croatia. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.

Usage
These definitions are used by the following templates when invoked with parameter "Croatia":

title: Template:Location map Croatia/doc


text:
Template:Location map/doc

This template generates a location map as a composite image, consisting of a map and a location mark. Optionally, a label and caption can be added.

Usage
Map image files are not accessed directly, but by using an auxiliary map definition. For example, if the first unnamed parameter supplied to this template is 'Japan', then this template uses the entry for Japan in Module:Location map/data/Japan if it exists, or Location map Japan otherwise, one of which contains the data needed to generate the composite image.

 * Please note:
 * Assigning any value to the parameter  causes the map to be displayed as a thumbnail image.  If this parameter is not declared, the template will generate a default caption.
 * The coordinates are not checked. If the coordinates specified fall outside the area covered by the map image, the location mark will not display inside the image; however, it may be displayed somewhere else on the page.
 * Do not use   when setting the map image size. Using   will usually cause a very large map to be displayed.  Use.
 * To create a map with more than one location mark, use either Location map+ or Location map many.

Available maps
There are over 1,000 maps available. To find other maps:
 * Special:PrefixIndex/Module:Location map/data/ – checked before a map template is searched for, new maps should be created here rather than creating new templates
 * Template:Location map/List – some of the items listed here are redirects, and a few templates may not function as expected
 * Category:Location map templates – templates sorted by category
 * Special:WhatLinksHere/Template:Location map/Info – a search that might help
 * Special:Prefixindex/Template:Location map – another search that might help

Creating new map definitions
See Creating a new map definition.

Default width and float, no label, default caption (decimal coordinates)
Note: when a label is not specified, the default caption is "Page name (Map name)", so if this example was viewed on a page named Pag, the default caption would be "Pag (Croatia)". Likewise, on a page named Pag (town), the default caption would be "Pag (town) (Croatia)".

Map with the default caption (degrees/minutes)
Note: when a label is specified, the default caption is "Label text (Map name)", seen as "Pag (Croatia)" in this example.

When none, the label text is not displayed next to the mark, but is still used in the default caption and default alt text.

Mark outside of map border, no caption

Caption, label_size, background, mark, marksize

AlternativeMap parameter

Relief parameter
Also demonstrates automatic positioning of label to the left, due to far right position of mark.

User selection of multiple maps

Map that crosses 180° meridian

 * See Category:Location map templates crossing 180th meridian

Template data
{	"description": "This template places a location mark on a map.", "params": { "1": {			"label": "Map name(s)", "type": "string", "required": true, "description": "The name of the map to be used; multiple maps can be provided as a list separated by #" },		"width": { "label": "Map width", "type": "number", "description": "Determines the width of the map in pixels, overriding any default values; do not include \"px\", for example: \"300\", not \"300px\"." },		"default_width": { "label": "Default width", "type": "number", "description": "Determines the default width of the map in pixels, intended for use by templates such as infoboxes; the default value is 240. Do not include \"px\".  This value will be multiplied by the defaultscale parameter specified in individual map templates, if it exists, in order to achieve an appropriate size for vertical maps." },		"float": { "label": "Position", "type": "string", "description": "Specifies the position of the map on the page; valid values are left, right, center and none. The default is right." },		"border": { "label": "Border color", "type": "string", "description": "Specifies the color of the map border; if set to none, no border will be generated." },		"caption": { "label": "Map caption", "type": "string", "description": "The text of a caption to be displayed below the map; if caption is defined, but is not assigned a value, the map will not be framed, and no caption will be displayed. If caption is not defined, the map will not be framed and a default caption will be generated." },		"alt": { "label": "Alt text", "type": "string", "description": "Alt text for map; used by screen readers." },		"relief": { "label": "Alternative map from template", "type": "string", "description": "Any non-blank value (1, yes, etc.) will cause the template to display the map specified in the map definition template as image1, which is usually a relief map." },		"AlternativeMap": { "label": "Alternative map not from template", "type": "string", "description": "Allows the use of an alternative map; the image must have the same edge coordinates as the map template." },		"overlay_image": { "label": "Overlay image", "type": "string", "description": "Allows an overlay to be superimposed on the map; this parameter is seldom used." },		"label": { "label": "Marker label", "type": "string", "description": "The text of the label to display next to the mark; a wikilink can be used." },		"label_size": { "label": "Label size", "type": "number", "description": "The font size to use for the label, given as a percentage of the normal font size; do not include \"%\"." },		"label_width": { "label": "Label width", "type": "number", "description": "The width to use for the label, given as an em size; do not include \"em\"." },		"position": { "label": "Label position", "type": "string", "description": "The position of the label relative to the mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker, and its position relative to the right border of the map image.  When position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption." },		"background": { "label": "Label background", "type": "string", "description": "The background color to use for the label." },		"mark": { "label": "Marker image", "type": "string", "description": "The name of an image to display as the marker." },		"marksize": { "label": "Marker size", "type": "number", "description": "The size of the mark in pixels; do not include \"px\"." },		"link": { "label": "Marker link", "type": "string", "description": "Specifies a wikilink which will be followed if the reader clicks on the mark." },		"lat_deg": { "label": "Latitude degrees", "type": "number", "required": true, "description": "The degrees of latitude; this value can be specified using decimal degrees. When this format is used, minutes and seconds should not be specified." },		"lat_min": { "label": "Latitude minutes", "type": "number", "description": "The minutes of latitude." },		"lat_sec": { "label": "Latitude seconds", "type": "number", "description": "The seconds of latitude." },		"lat_dir": { "label": "Latitude direction", "type": "string", "description": "N if north or S for south of the Equator; not required if using signed decimal degrees." },		"lon_deg": { "label": "Longitude degrees", "type": "number", "required": true, "description": "The degrees of longitude; this value can be specified using decimal degrees. When this format is used, minutes and seconds should not be specified." },		"lon_min": { "label": "Longitude minutes", "type": "number", "description": "The minutes of longitude." },		"lon_sec": { "label": "Longitude seconds", "type": "number", "description": "The seconds of longitude." },		"lon_dir": { "label": "Longitude direction", "type": "string", "description": "E for east or W for west of the Prime Meridian; not required if using signed decimal degrees." },		"coordinates": { "label": "Coordinates", "description": "Coordinates, usually in °N, °W format; however, they can also be typed out in decimal degrees (with no spaces between ° and N/S/E/W).", "example": "48.067°N, 12.863°W", "type": "string" }	},	"paramOrder": [ "1",		"width", "default_width", "float", "border", "caption", "alt", "relief", "AlternativeMap", "overlay_image", "label", "label_size", "label_width", "position", "background", "mark", "marksize", "link", "coordinates", "lat_deg", "lat_min", "lat_sec", "lat_dir", "lon_deg", "lon_min", "lon_sec", "lon_dir" ] }

title: Template:Location map/doc


text:
Template:Ship

|

title: Template:Ship


text:
Template:Ship/doc

Usage
This is a typing short cut for linking to ship articles named in the format "Russian battleship Petropavlovsk (1914)". Since Ship names are italicized in article text, linking to them in the usual manner means typing everything twice, such as Russian battleship Petropavlovsk. This template approximately halves that to RUSSIAN BATTLESHIP Petropavlovsk.

Formal usage

 * SHIP NAME undefined
 * SHIP NAME ID, where ID can be the hull number, launch year, or pennant number, as specified in the article title.

Optional display control parameter
There is an optional third parameter that controls which pieces of text are displayed in the article. Its value is treated as a binary number and will display the corresponding "bits". So setting the 4's bit will display USS, setting the 2's bit will display the ship name, and setting the 1's bit will display the ID. If you are unfamiliar with binary math, refer to these examples: N.B.: Be careful with the third parameter if not using the second parameter. In the Yamato example above, the "|4=2" means set the fourth parameter to a value of two, while the alternate syntax shows using a pair of pipes, "||2", to position the value two in the fourth parameter position.

Optional prefix parameter
The parameter  (for unlinked prefix) can be used to have an unlinked prefix. When set to "yes", the template will display the prefix before the wikilink. This should be used with one of the optional display parameters above. (If not, it will result in a doubling of the prefix.)

displays as: Using without one of the optional display parameters: gives this:
 * Examples:
 * JAPANESE BATTLESHIP Yamato
 * JAPANESE BATTLESHIP Yamato

title: Template:Ship/doc


text: Template:Wikisource author

title: Template:Wikisource author


text: Template:Sister

title: Template:Sister


text:
Template:Sister/doc

This is a meta-template used for creating interwiki links to other sister projects of wikipedia. Note that links to other language wikipedias should not use links in this form, instead use interwiki links to add them to the sidebar.

Usage

 * text – text of the message
 * project – the sister project to link to. Used to select which project logo is displayed.
 * below – optional text to display in a full-width row below the main content. Use sparingly
 * position – set to left for a left-floating box or, ideally, pass through with to let this be set on a per-page basis.

 * Example

Location
This template should normally be placed at the top of the External links section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.

On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.

title: Template:Sister/doc


text: Template:Side box

title: Template:Side box


text:
Template:Side box/doc

This template is a meta-template that can be used to create nicely-styled floating content boxes.

Usage

 * text – the text to display in the box
 * image – a full image tag (or other content)
 * imageright – a full image tag (or other content) to display in a separate table cell on the right of the box
 * position – if set to, floats the box on the left side of the page rather than the right
 * style – styles to apply to the box
 * textstyle – styles to apply to the text cells only
 * below – content to appear in a separate row underneath the main cell (and spanning the entire width of the box)

title: Template:Side box/doc


text: Template:Td

title: Template:Td


text:
Template:Td/doc

This is the td template.

It is used to insert an empty, 1px wide, table cell into an HTML table or wikitable. It can be used whenever an empty cell is required to balance a table, for instance when hardcoding mbox templates.

This template takes no parameters.

Technical details
Most browsers are not so picky about balancing the table. However some are. For instance in Safari you can get partly missing left or right border of the table if some table rows do not contain the right number of table cells.

title: Template:Td/doc


text:
Template:Ndash/doc

This is an en dash or ndash (–). It has the same function as the code " " or the symbol –.

title: Template:Ndash/doc


text:
Template:Spaced mdash

—

title: Template:Spaced mdash


text:
Template:Spaced mdash/doc

This is the spaced mdash template, it looks like this " — ".

It works similarly to the html markup sequence " ". That is, a non-breaking space, a long dash (known as an em dash) and a normal space.

— and emdash redirect here and can be used as alternative names for this template.

This template is used when you want something a lot stronger than a bold middot "·", a bullet "•" or an ndash "–".

For horizontal lists use Flatlist or   instead (see WP:HLIST). For vertical lists simply use an en dash " " directly.

Normal usage
The recommended usage is to use no space before the template and one space after the template, like this: Salt Pepper

It will render one space on each side of the dash, like this:
 * Salt — Pepper

If it line breaks then the line break will come after the dash, not before, like this:
 * Salt —
 * Pepper

Incorrect usage
If the template is used slightly wrong it will in some cases still behave well. For instance if there are no or several spaces after the template. Like these examples:

SaltPepper Salt  Pepper

Both of them will render exactly as before, with just one space on each side of the dash, like this:
 * Salt — Pepper

And it will still only line break after the dash, like this:
 * Salt —
 * Pepper

But putting one or more spaces before the template will cause problems, like these examples: Salt Pepper Salt  Pepper Salt Pepper Salt     Pepper

Then it will render with two spaces before the dash, and one after, like this:
 * Salt — Pepper

And if it line breaks it might break before the dash, like this:
 * Salt
 * — Pepper

Because Wikiversity suppresses the contents of templates in tool tip preview when the user hovers the pointer over a wikilink, one should avoid using the Spaced mdash template in an article's lead section. Using the template will cause a confusing blank space to appear in the tool tip preview instead of the expected em dash character. Instead, use  or , and be sure to add the trailing space.

Technical details
The space before the dash is a non-breaking space. That means it will not line break and will not collapse together with normal spaces that come before the template.

The space after the dash is a normal space. That means it wraps (allows line breaks) and it will collapse together with normal spaces that come after the template to form one single space.

title: Template:Spaced mdash/doc


text: Template:Caution

title: Template:Caution


text:
Template:Caution/doc

Usage
This is the caution message box.

When used in articles this message box should only be used for when something is seriously wrong and there isn't a more specific template to use. Less important comments should as usual be put as text on the article's talk page instead.

This message box can also be used on other pages, such as on the top of talk pages or project pages.

This box automatically looks different depending on what kind of page it is shown on.

Example
This is how this box looks on article (main space) pages:

This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:

This is how this box looks on all other pages, such as pages that start with "User:", "Image:", "Wikiversity:" and so on:

The box can also take an image parameter. Like this:

Which on this page renders like this:

Note that changing the image is discouraged when the box is used in articles.

title: Template:Caution/doc


text:
Template:•

•

title: Template:•