Template:LocalLink View history

m (removed file extension to be set in individual templates)
m (removed extra brace)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>[[File:{{{3|}}}|25px|link={{{1|{{{{2|ERROR:No Country provided}}}}}}]] [[{{{1|{{{2|ERROR:No Country provided}}}}}}|{{{2|ERROR:No Country provided}}}]]
<noinclude>{{doc}}</noinclude>[[File:{{{3|}}}|25px|link={{{1|{{{2|ERROR:No Country provided}}}}}}]] [[{{{1|{{{2|ERROR:No Country provided}}}}}}|{{{2|ERROR:No Country provided}}}]]

Revision as of 15:00, 17 April 2016

Documentation icon Template documentation[view] [edit] [history] [purge]

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.

The above documentation is transcluded from Template:LocalLink/doc.
Please add categories to the /doc subpage.
Subpages of this template.

[[File:|25px|link=ERROR:No Country provided]] ERROR:No Country provided