Template:Floating link/doc

Usage
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.

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

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

Example
Will create ' Documentation ' floating in the top right hand corner.

Will create ' Documentation ' floating in the top right hand corner.

TemplateData
{	"params": { "1": {			"label": "Page or subpage to link to", "description": "Either the subpage's suffix (after the page's own name and a slash), or a page's full name.", "example": "SubPage", "type": "string", "required": true },		"2": {			"label": "Text of the link", "description": "The text to be displayed in the floating link. Defaults to the value of the first parameter if not provided.", "example": "TextToShow", "type": "string", "required": true },		"class": { "label": "CSS class", "description": "To specify a CSS class for the span tag containing the floating link", "example": "sysop-show", "type": "string" },		"fullpath": { "label": "Specify link using full path?", "description": "If this parameter is not empty, the first parameter will be treated as the entire name of the page you want to link to. Otherwise, it will be treated as a suffix, to be appended to the name of the page you're adding this template to plus a slash.", "type": "string", "suggestedvalues": [ "y", "yes" ]		}	},	"description": "This template creates a floating link on a page. Note: this should not be used with °N, °W, as the links will overlap." }