Difference between revisions of "Template:LocalLinkBox"

From Wazeopedia
(typo correction)
m (include only)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>
+
<noinclude>{{doc}}</noinclude><includeonly>{{Navbox|navbar=plain|title={{{title|Local {{PAGENAME}} pages}}}|above={{{above|<center><big>'''Each Waze Community develops their own local guidance and which always take priority over this global wiki.'''</big><br />
{{Navbox|navbar=plain|title={{{title|Local {{PAGENAME}} pages}}}|above={{{above|<center><big>'''Each Waze Community develops their own local guidance and which always take priority over this global wiki.'''</big><br />
 
 
''Click the link for your community below to see your local guidance''}}}</center>|state={{{state|expanded}}}
 
''Click the link for your community below to see your local guidance''}}}</center>|state={{{state|expanded}}}
 
|group1={{{group1|North America}}}
 
|group1={{{group1|North America}}}
Line 79: Line 78:
 
* [[File:Sg.png|25px|link=Singapore:{{{Singapore|}}}]]&nbsp;[[Singapore:{{{Singapore|}}}|Singapore]]
 
* [[File:Sg.png|25px|link=Singapore:{{{Singapore|}}}]]&nbsp;[[Singapore:{{{Singapore|}}}|Singapore]]
 
* [[File:Th.png|link=Thailand:{{{Thailand|}}}]]&nbsp;[[Thailand:{{{Thailand|}}}|Thailand]]}}
 
* [[File:Th.png|link=Thailand:{{{Thailand|}}}]]&nbsp;[[Thailand:{{{Thailand|}}}|Thailand]]}}
|below={{{below|If the link for your country above goes to your Main Page instead of a specific page, please update it to point to the direct page for this topic in you local community Wazeopedia. Instructions are provided in [[Template:LocalLinkBox/doc|the template documentation]].}}}}}
+
|below={{{below|If the link for your country above goes to your Main Page instead of a specific page, please update it to point to the direct page for this topic in you local community Wazeopedia. Instructions are provided in [[Template:LocalLinkBox/doc|the template documentation]].}}}}}</includeonly>

Revision as of 04:59, 21 February 2017

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

To be added on bottom of all global pages so they can link directly to the related local pages.

For each country in the list, clicking the link will go to their main page, unless a specific link is added. To add a link for you country you need to add a parameter. The name of the parameter is your country name, and the value of the parameter is the FULLPAGENAME of the page in your wiki you want to link to. For the country name you must use the spelling as it is spelled in the country dropdown on the left sidebar for you wiki. |Country=FULLPAGENAME for example: |UnitedKingdom=Road Names
In the example below all countries link to their Main Page, but the USA and the UK link directly to a page. To add another country you just add the parameter on a new line.

{{LocalLinkBox
|USA = Road Names
|United Kingdom = Road Names and Types/UK
}}

Note: Belgium, Luxembourg, Netherlands, and BeNeLux are all set to accept a link using the parameter |Benelux=, or any of the other country names in order of preference;

  1. |Benelux=
  2. |Belgium=
  3. |Netherlands=
  4. |Luxembourg=
This template may appear formatted incorrectly due to a problem in the CSS code currently under investigation.

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