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

From blackwiki
Jump to navigation Jump to search
imported>Gryffindor
Line 6: Line 6:
 
  | country = Sri Lanka
 
  | country = Sri Lanka
 
  | linkoverride = [[History of Sri Lanka]]
 
  | linkoverride = [[History of Sri Lanka]]
  | image = [[File:Flag of Sri Lanka - lion.png|75px|Coat of arms of Sri Lanka]]
+
  | image = [[File:1686 Mallet Map of Ceylon or Sri Lanka (Taprobane) - Geographicus - Taprobane-mallet-1686.jpg|150px|1686 Mallet map of Sri Lanka (Taprobane)]]
 
   }}
 
   }}
 
| expanded = {{{expanded|{{{1|}}}}}}
 
| expanded = {{{expanded|{{{1|}}}}}}

Revision as of 19:23, 12 February 2018

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