Template:LocalLink/doc View history

(Created page with "{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> This template is designed as a core for individual templates to be used on a global page to link to a local page con...")
 
 
Line 16: Line 16:


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.
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 ===
{{Expand|nt=yes|{{Special:WhatLinksHere|target=Template:LocalLink|namespace=10}}|a list including all local community templates which have already been built for this purpose using this template.}}
<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE -->

Latest revision as of 14:56, 18 April 2016

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.