Difference between revisions of "Template:History of Japan/doc"
Jump to navigation
Jump to search
imported>༆ (→Usage) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== Usage == | == Usage == | ||
| − | <nowiki>{{History of Japan| | + | :<code><nowiki>{{History of Japan|image=|imagesize=|caption=}}</nowiki></code> |
| − | When < | + | * When <code>image=</code> is used, the picture is changed. |
| − | When < | + | * When <code>imagesize=</code> is used, the picture size is changed (default is 185px). |
| − | + | * When <code>caption=</code> is used, a caption is added to the picture. | |
example: | example: | ||
| − | <nowiki>{{History of Japan}}</nowiki> | + | <code><nowiki>{{History of Japan}}</nowiki></code> |
| − | or | + | or |
| − | <nowiki>{{History of Japan|Satsuma-samurai-during-boshin-war-period.jpg| | + | <code><nowiki>{{History of Japan|image=Satsuma-samurai-during-boshin-war-period.jpg|caption= [[Samurai]] of the [[Satsuma clan]]}}</nowiki></code> |
or | or | ||
| − | <nowiki>{{History of Japan|Satsuma-samurai-during-boshin-war-period.jpg|280px| | + | <code><nowiki>{{History of Japan|image=Satsuma-samurai-during-boshin-war-period.jpg|imagesize=280px|caption=[[Samurai]] of the [[Satsuma clan]]}}</nowiki> |
{{History of Asia templates}} | {{History of Asia templates}} | ||
| − | <includeonly><!-- Categories | + | <includeonly><!-- Categories go here: --> |
[[Category:Japan templates]] | [[Category:Japan templates]] | ||
[[Category:History by nation navigational boxes|Japan]] | [[Category:History by nation navigational boxes|Japan]] | ||
</includeonly> | </includeonly> | ||
Revision as of 17:05, 1 April 2014
| This is a documentation subpage for Template:History of Japan. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{History of Japan|image=|imagesize=|caption=}}
- 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.
example:
{{History of Japan}}
or
{{History of Japan|image=Satsuma-samurai-during-boshin-war-period.jpg|caption= [[Samurai]] of the [[Satsuma clan]]}}
or
{{History of Japan|image=Satsuma-samurai-during-boshin-war-period.jpg|imagesize=280px|caption=[[Samurai]] of the [[Satsuma clan]]}}