سانچہ:Floating link/دستاویز

آزاد دائرۃ المعارف، ویکیپیڈیا سے

استعمال[ترمیم]

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 '[[/دستاویز|دستاویز]]' floating in the top right hand corner.

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

Will create '[[ویکیپیڈیا:دستاویز سانچہ]]' floating in the top right hand corner.