Usage
[edit]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{{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{{History of Sri Lanka|listname}} - ...where listname is one of the following (do not include any quotemarks):
- periods, topics
Full syntax
[edit]{{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
[edit]{{History of Sri Lanka}}
{{History of Sri Lanka |periods}}
{{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]]}}
{{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]]}}