Difference between revisions of "Template:History of Japan"

From blackwiki
Jump to navigation Jump to search
imported>༆
imported>IznoRepeat
(move to doc)
Line 59: Line 59:
  
 
}}<noinclude>
 
}}<noinclude>
<nowiki>{{History of Japan|{{{{1}}}|{{{2}}}|Image explanation=}}</nowiki>
+
{{Documentation}}
 
 
When <nowiki>{{{{1}}}</nowiki> is put in picture name, the picture is changed.<br/>
 
When <nowiki>{{{{2}}}</nowiki> is put in picture width, the picture size is changed (initial value = 200px).<br/>
 
When the argument "Image explanation" is put in the explanation, the explanation is put in.
 
 
 
example:
 
 
 
<nowiki>{{History of Japan}}</nowiki>
 
 
 
or (the image is usually used)
 
 
 
<nowiki>{{History of Japan|Satsuma-samurai-during-boshin-war-period.jpg|Image explanation = [[Samurai]] of the [[Satsuma clan]].}}</nowiki>
 
 
 
or
 
 
 
<nowiki>{{History of Japan|Satsuma-samurai-during-boshin-war-period.jpg|280px|Image explanation = [[Samurai]] of the [[Satsuma clan]].}}</nowiki>
 
{{clear}}
 
== See also ==
 
{{History of Asia templates}}
 
[[Category:Japan templates]]
 
[[Category:Historical period templates]]
 
 
 
[[ar:قالب:تاريخ اليابان]]
 
[[bg:Шаблон:История на Япония]]
 
[[ca:Plantilla:Història del Japó]]
 
[[cs:Šablona:Dějiny Japonska]]
 
[[eo:Ŝablono:Historio de Japanio]]
 
[[fa:الگو:تاریخ ژاپن]]
 
[[fr:Modèle:Palette Histoire du Japon]]
 
[[ko:틀:일본의 역사]]
 
[[id:Templat:Sejarah Jepang]]
 
[[is:Snið:Saga Japans]]
 
[[it:Template:Storia del Giappone]]
 
[[he:תבנית:היסטוריה של יפן]]
 
[[jv:Cithakan:Sajarah Jepang]]
 
[[ms:Templat:Sejarah Jepun]]
 
[[my:Template:ဂျပန်သမိုင်း]]
 
[[ja:Template:日本の歴史]]
 
[[no:Mal:Japans historie]]
 
[[pl:Szablon:Historia Japonii]]
 
[[pt:Predefinição:História do Japão]]
 
[[ru:Шаблон:История Японии]]
 
[[simple:Template:History of Japan]]
 
[[sk:Šablóna:Dejiny Japonska]]
 
[[su:Citakan:History of Japan]]
 
[[sv:Mall:Japans historia]]
 
[[ta:வார்ப்புரு:History of Japan]]
 
[[tr:Şablon:Japonya tarihi]]
 
[[uk:Шаблон:Історія Японії]]
 
[[vi:Bản mẫu:Lịch sử Nhật Bản]]
 
[[zh-yue:Template:日本史]]
 
[[zh:Template:日本历史]]
 
 
</noinclude>
 
</noinclude>

Revision as of 14:01, 2 June 2012

50px 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