Difference between revisions of "Template:History of Japan"

From blackwiki
Jump to navigation Jump to search
imported>IznoRepeat
(move to doc)
imported>Hohum
(Made collapsible)
Line 1: Line 1:
{{sidebar
+
{{Sidebar with collapsible lists
 
|name = History of Japan
 
|name = History of Japan
 
|title = [[History of Japan]]
 
|title = [[History of Japan]]
Line 6: Line 6:
 
|contentstyle = text-align:left; border-top: #aaa 1px solid; border-bottom: #aaa 1px solid
 
|contentstyle = text-align:left; border-top: #aaa 1px solid; border-bottom: #aaa 1px solid
  
|content1 =
+
| list1style = text-align:left; border-top: #aaa 1px solid; border-bottom: #aaa 1px solid
 +
| list1name      = Periods
 +
| list1title    = Periods
 +
| list1          =
 +
 
 
*[[Japanese Paleolithic|Paleolithic]] {{color|#aaa|35,000–14,000 BCE}}
 
*[[Japanese Paleolithic|Paleolithic]] {{color|#aaa|35,000–14,000 BCE}}
 
*[[Jōmon period]] {{color|#aaa|14,000–300 BCE}}
 
*[[Jōmon period]] {{color|#aaa|14,000–300 BCE}}
Line 42: Line 46:
 
**[[Lost Decade (Japan)|Lost Decade]]
 
**[[Lost Decade (Japan)|Lost Decade]]
  
|content2 =
+
| list2style = text-align:left; border-top: #aaa 1px solid; border-bottom: #aaa 1px solid
 +
| list2name      = Events
 +
| list2title    = Events
 +
| list2          =
 
*[[Empire of Japan]] (prewar)<br/>{{color|#aaa|1868–1945 (political entity)}}
 
*[[Empire of Japan]] (prewar)<br/>{{color|#aaa|1868–1945 (political entity)}}
 
*[[Postwar Japan]]<br/>{{color|#aaa|1945–present (political entity)}}
 
*[[Postwar Japan]]<br/>{{color|#aaa|1945–present (political entity)}}

Revision as of 16:42, 9 June 2012

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 Japan |expanded=all}} or, if enabled, {{History of Japan |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 Japan |expanded=listname}} or, if enabled, {{History of Japan |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • periods, topics

Full syntax

{{History of Japan |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 Japan}}
or
  • {{History of Japan |periods}}
or
  • {{History of Japan |image=Satsuma-samurai-during-boshin-war-period.jpg |caption=[[Samurai]] of the [[Satsuma clan]]}}
or
  • {{History of Japan |topics |image=Satsuma-samurai-during-boshin-war-period.jpg |imagesize=280px |caption=[[Samurai]] of the [[Satsuma clan]]}}
etc.

See also