Jump to content

Template:Mobile link/doc

From Wikipedia, the free encyclopedia

Produces a link to the mobile version of a page. Defaults to current page if none specified.

Usage

[edit]

{{ Mobile link | 1=url | 2=label }}

{{Mlk}}Template:Mobile link/doc

{{Mlk|Main Page}}Main Page

{{Mlk|Main Page|Mobile view of the Main Page}}Mobile view of the Main Page

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Mobile link in articles based on its TemplateData.

TemplateData for Mobile link

Links to mobile version of page.

Template parameters

ParameterDescriptionTypeStatus
Page name1

Target page to link to, defaults to current page

Default
{{FULLPAGENAME}}
Example
Main Page
Stringsuggested
Label2

Text that be shown in the link, defaults to same value as 1

Default
same as 1
Example
Mobile view of the Main Page
Stringoptional