Template:LocalLinkBox View history

m (PesachZ moved page LocalLinkBox to Template:LocalLinkBox without leaving a redirect: Error in namespace)
(Made it more obvious to click the links for local pages.)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude>{{Navbox|navbar=plain|title={{{title|Local {{PAGENAME}} pages}}}|state={{{state|expanded}}}|list1=<big>
<noinclude>{{doc}}</noinclude>{{Navbox|navbar=plain|title=<big>{{{title|Local {{PAGENAME}} pages<br />
''Click the link for your community below to see your local guidance''}}}</big>|state={{{state|expanded}}}|list1=<big>
{{Flatlist|{{{1|Error: No countries have added to the template.<Br>Please add all local pages as a bulleted list. You can use the country link templates for each country}}}}}</big>}}
{{Flatlist|{{{1|Error: No countries have added to the template.<Br>Please add all local pages as a bulleted list. You can use the country link templates for each country}}}}}</big>}}

Revision as of 00:45, 26 April 2016

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

This template is designed to be used in conjunction with the {{LocalLink}} templates for each community. It is placed on a global page to link to the local pages on that topic.

Parameters

It requires one unnamed parameter listing all the local links as a bullet list. For example it might look like this:

|* {{Turkey|Turkey/Sample}}
* {{UK|Sample in UK}}
* {{USA|/USA}}

There are a couple of optional formatting parameters which can be used to change the default behaviour

|title=Local Community ... Pages Can be used to override the title of the box.

|state=collapsed can be used to override the box being always expanded.

|above=… can be used to change the default instruction on top to click the links below. To remove this instruction bar completely leave this parameter blank |above=|

|group1=… can be used to change the title on the left of the community links. To remove this title box completely leave this parameter blank |group1=|

|below=… can be used to change the default instruction on bottom to check the country pages if there's no link listed here. To remove this instruction bar completely leave this parameter blank |below=|

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