Template:Linkbox/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Linkbox. It contains usage information, categories and other content that is not part of the original template page. |
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-name
is 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
width
is the optional linkbox width in pixels.- The word
fit
may be used to automatically fit the linkbox to the link-name. (default)
- The word
align
is the optional linkbox alignment:left
aligns the linkbox left. (default)right
aligns the linkbox right.lb
aligns the linkbox left below the lowest left margin element.rb
aligns 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.