Revision as of 22:39, 27 November 2023 by Bharatwiki Socrates(talk | contribs)(Created page with "<includeonly>{{Sidebar with collapsible lists | name = History of Sri Lanka | pretitle = | title = {{region history sidebar title | country = Sri Lanka | linkoverride = History of Sri Lanka | image = 150px|1686 Mallet map of Sri Lanka (Taprobane) }} | image = | expanded = {{{expanded|{{{1|}}}}}} | headingstyle = text-align:center; background:#eee...")
• 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]]}}