Template:Linkbox
Jump to navigation
Jump to search
This template creates a floating linkbox containing a wikilink.
Use
To use this template, insert the following Wiki markup:
{{linkbox|link-name|width|align}}
where:
link-nameis the required wikilink name.- A wikilink may be entered with an alternate name as
link-name{{!}}alternate-name. - An interwikimedia link may be entered by attaching the appropriate prefix as
prefix:link-name{{!}}alternate-name.
- A wikilink may be entered with an alternate name as
widthis the optional linkbox width in pixels.- The word
fitmay be used to automatically fit the linkbox to the link-name. (default)
- The word
alignis the optional linkbox alignment:leftaligns the linkbox left. (default)rightaligns the linkbox right.lbaligns the linkbox left below the lowest left margin element.rbaligns the linkbox right below the lowest right margin element.
Examples
| Wiki markup | Linkboxes |
|---|---|
{{linkbox|Canada}}
|
|
{{linkbox|United States||right}}
|
|
{{linkbox|commons:México{{!}}México on Wikimedia Commons}}
|
|
{{linkbox|Canada}}{{linkbox|United States}}{{linkbox|Mexico}}
|
|
{{linkbox|Canada||right}}{{linkbox|United States||right}}{{linkbox|Mexico||right}}
|
|
{{linkbox|Canada||lb}}{{linkbox|United States||lb}}{{linkbox|Mexico||lb}}
|
|
{{linkbox|Canada|96|rb}}{{linkbox|United States|96|rb}}{{linkbox|Mexico|96|rb}}
|
|
{{linkbox|Alberta{{!}}AB|30}}
|
See also
- This template is similar to Template:Minilink and Template:Lbox.