Jump to content

Template:Politics sidebar below: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
m use flatlist
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="hlist" style="text-align:center;font-size:90%;font-weight:normal;">
{{flatlist|style=text-align:center;font-weight:normal;|1=
* [[Outline of political science#Politics by region|Other countries]]
* [[Outline of political science#Politics by region|Other countries]]
* [[:commons:Atlas of {{{1}}}|Atlas]]


}}<noinclude>
* {{#ifeq:{{{portal|}}}|none | |{{portal-inline|{{#if:{{{portal|}}}|{{{portal}}}|Politics}}|size=tiny}} }}
{{documentation}}
{{#if:{{{portal2|}}}|{{portal-inline|{{{portal2}}}|size=tiny}}
}}</div><noinclude>
</noinclude>

{{documentation
|content =
This template is used to generate the links in the below section of a politics sidebar.

== Usage ==
{{para|below|{{tld|politics sidebar below|''country''}}}}
where <code>''country''</code> corresponds to the article name on commons, <code>Atlas of ''country''</code>

'''Portal link'''

to remove the default portal link, use {{para|portal|none}}. to link to a different portal, use {{para|portal|''portal name''}}, where <code>''portal name''</code> is the name of a specific regional politics portal. to add a second portal link, use {{para|portal2|''portal name''}}.

== Examples ==
{{para|below|{{tld|politics sidebar below|the Netherlands}}}}

{{para|below|{{tld|politics sidebar below|Canada|portal{{=}}Canadian politics}}}}

{{para|below|{{tld|politics sidebar below|Uganda|portal2{{=}}Uganda}}}}

== See also ==
* {{tl|politics sidebar title}}
* {{tl|sidebar}}
* {{tl|sidebar with collapsible lists}}

[[Category:Politics by country sidebar templates|τ]]
}}</noinclude>

Latest revision as of 23:08, 22 February 2022