Template:LocalLink/doc View history

This is a documentation subpage for Template:LocalLink.
It contains usage information, categories and other content that is not part of the original template page.

This template is designed as a core for individual templates to be used on a global page to link to a local page containing LocalLink guidance.

Parameters

This template accepts a three unnamed parameters

  1. The first parameter should contain the PAGENAME of the LocalLink local page. This should be passed through from the individual templates.
  2. The second parameter is the local community / country name, this should be set in the individual template.
  3. The third parameter is for the filename of the country flag, which can be found on the Countries and Languages page.

Sample syntax

A sample individual country template should look like this.
{{LocalLink|{{{1|USA}}}|USA|us.png}}

If a parameter for the page to link to is not provided, the template will link to the country's main page (Using the provided country name in the second parameter.

Existing derivative templates

Click Expand for details on a list including all local community templates which have already been built for this purpose using this template.