Jump to content

User:Preuninger/Reference

From Wikipedia, the free encyclopedia

A reference page for the coding I can never remember.

Geocodes

[edit]
{{Coord|47|40|1.35|N|117|25|13.99|W|type:landmark|display=title}}

Galleries

[edit]
<gallery>
File:Wiki.png
File:Wiki.png|Captioned
File:Wiki.png
File:Wiki.png|[[Help:Contents/Links|Links]] can be put in captions.
File:Wiki.png
File:Wiki.png|Full [[MediaWiki]]<br />[[syntax]] may now be used…
</gallery>

Images

[edit]
[[File:imagename.svg|thumb|left|400px|alt=Alt text|Image caption]]

Notes:

  • Image: and File: may be used interchangeably.
  • Placement can be specified as left or center. Leave this out and the default placement will be on the right.
  • The default width is 220 pixels, but this can be changed by specifying a width (e.g., 400px) or a height (e.g., x60px). If both parameters are included (e.g., 400x60px), the image will be sized to whichever is smaller.

Citations

[edit]

Citations using the name parameter. For the first reference:

<ref name="citation_name">Citation Details</ref>

Subsequent references:

<ref name="citation_name"/>

Then add the following under References:

{{Reflist}}

Date Table Sorting (DTS)

[edit]

This template is used to correctly sort and display dates in a sortable table. No formatting specified: July 4, 1776

{{dts|1776|07|04}}

Formatting dates such as: 10 November 1979

{{dts|format=dmy|1979|11|10}}

Sorting

[edit]

This template is for optionally sorting tables by specified sortkeys.

{{sort|1943-03-19|19 Mar 1943}}
{{sort|Brothers Karamazov|[[The Brothers Karamazov]]}}

See also

[edit]