Template:Localized section link

§{{{2}}}

Template documentation[view · edit · history · purge]

Variant of {{Section link}} which uses Special:MyLanguage.

Usage


{{Localized section link |1= |2= }}

Or use the shorthand
{{§ll|… parameters as described …}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:Templates using TemplateData

Variant of [[Template:Section link]] which uses [[mw:Special:MyLanguage/MyLanguage|Special:MyLanguage]].

Template parameters

ParameterDescriptionTypeStatus
Page Name1

The name of the page to link to.

Default
{{FULLPAGENAME}}
Page namesuggested
Section Name2

The section to link to.

Stringrequired
Hide Page Name?nopage

Whether to hide the page name from the displayed link text.

Default
0
Auto value
1
Booleanoptional
Show Namespace?nsp

Whether to display the namespace prefix.

Default
1
Auto value
0
Booleanoptional
Edit parameter translations

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

See also

Category:Templates using an unknown approach for internationalisation Category:Internal link templates
Category:Internal link templates Category:Templates using TemplateData Category:Templates using an unknown approach for internationalisation