Difference between revisions of "Template:History of Sri Lanka"

From blackwiki
Jump to navigation Jump to search
imported>Gryffindor
imported>Izno
(nix small)
Line 66: Line 66:
 
| content3 =
 
| content3 =
 
{{startflatlist}}
 
{{startflatlist}}
* [[Sri Lanka Armed Forces#History|Armed Forces]] {{smaller|
+
* [[Sri Lanka Armed Forces#History|Armed Forces]]
 
** [[Sri Lanka Army#History|Army]]
 
** [[Sri Lanka Army#History|Army]]
 
** [[Sri Lanka Air Force#History|Air Force]]
 
** [[Sri Lanka Air Force#History|Air Force]]
 
** [[History of the Sri Lanka Navy|Navy]]
 
** [[History of the Sri Lanka Navy|Navy]]
}}
 
 
 
* [[Economy of Sri Lanka#Economic history|Economy]]
 
* [[Economy of Sri Lanka#Economic history|Economy]]
 
* [[Education in Sri Lanka#History|Education]]
 
* [[Education in Sri Lanka#History|Education]]
 
{{endflatlist}}
 
{{endflatlist}}
 
<!-- ...... -->
 
 
| headingN =        <!--(Template:Sidebar's "headingN" and/or "contentN" parameters (where -->
 
| contentN =        <!-- N is a number) may be used to include uncollapsible lists/content)-->
 
 
<!-- ...... -->
 
  
 
| belowstyle = border-top:#aaa 1px solid; border-bottom:#aaa 1px solid;
 
| belowstyle = border-top:#aaa 1px solid; border-bottom:#aaa 1px solid;
 
| below =  
 
| below =  
 
{{portal-inline|Sri Lanka|size=tiny}}
 
{{portal-inline|Sri Lanka|size=tiny}}
{{small|
 
 
{{startflatlist}}
 
{{startflatlist}}
 
* [[Bibliography of Sri Lanka|Bibliography]]
 
* [[Bibliography of Sri Lanka|Bibliography]]
Line 92: Line 82:
 
* [[Timeline of Sri Lankan history|Timeline]]
 
* [[Timeline of Sri Lankan history|Timeline]]
 
{{endflatlist}}
 
{{endflatlist}}
}}
 
  
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Revision as of 14:59, 2 October 2017

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

Usage

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{History of Sri Lanka |expanded=all}} or, if enabled, {{History of Sri Lanka |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{History of Sri Lanka |expanded=listname}} or, if enabled, {{History of Sri Lanka |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • periods, topics

Full syntax

{{History of Sri Lanka |listname |image= |imagesize= |caption=}}
  • listname specifies which of the template's lists is expanded (see above).
  • When image= is used, the picture is changed.
  • When imagesize= is used, the picture size is changed (default is 185px).
  • When caption= is used, a caption is added to the picture.

Examples

  • {{History of Sri Lanka}}
or
  • {{History of Sri Lanka |periods}}
or
  • {{History of Sri Lanka |image=British Museum Asia 45 (cropped).jpg |caption=[[Statue of Tara|gilt-bronze sculpture]] of the [[Tara (Buddhism)|Tara]] from the [[Anuradhapura period]]}}
or
  • {{History of Sri Lanka |topics |image=British Museum Asia 45 (cropped).jpg |imagesize=280px |caption=[[Statue of Tara|gilt-bronze sculpture]] of the [[Tara (Buddhism)|Tara]] from the [[Anuradhapura period]]}}
etc.

See also