Tɛmplet:Floating link

Template documentation[view] [edit] [history] [purge]

This template creates a piped link to a subpage that hovers or 'floats' in the top right corner of the page it is used on, in the same place as {{coord}}. Due to this positioning, it should not be used on pages using {{coord}} as the two templates will overlap.

{{Floatinglink|1=SubPage|2=TextToDisplay}}

If you want to link to a page other than a subpage, use fullpath=y and the first parameter will be treated as the full path.

If you would like to specify a CSS class for the span, use class= (i.e. |class=sysop-show).

{{Floatinglink|1=doc|2=Documentation}}

Will create '[[/doc|Documentation]]' floating in the top right hand corner.

{{Floatinglink|1=Wikipedia:Template documentation|2=Documentation|fullpath=y}}

Will create '[[Wikipedia:Template documentation|Documentation]]' floating in the top right hand corner.