Jump to content

Template:Minilink/doc

From Wikipedia, the free encyclopedia

This template creates a floating box containing a single wikilink. A series of minilinks may be used for navigation.

Use

[edit]

To use this template, insert the following Wiki markup:

{{minilink|link|alt-name|align=|border=|color=|font-size=|height=|line-height=|padding=|text-align=|width=}}

where:

  • link is the required wikilink.
  • alt-name is the optional alternate wikilink name. (default = link)
  • align= is the optional box alignment: (default = left)
  • border= is the optional border style (default = 1px solid black)
  • color= is the optional background color (default = #ffffdd)
  • font-size= is the optional font size (default = 8pt)
  • height= is the optional box height (default = (default = 0, size to text)
  • line-height= is the optional line height (default = 115%)
  • padding= is the optional box padding style (default = 2px 4px)
  • text-align= is the optional text alignment (default = center)
  • width= is the optional default box width (default = 0, size to text)

Examples

[edit]
Wiki markup Minilinks
{{minilink|Greenland}}
{{minilink|Greenland|GRL}}
{{minilink|Canada|CAN}}
{{minilink|United States|USA}}
{{minilink|Mexico|MEX}}
GRL
CAN
USA
MEX

See also

[edit]