Difference between revisions of "Template:Japan current era date/doc"
Jump to navigation
Jump to search
imported>Nihonjoe (wording) |
imported>Vanisaac |
||
| Line 8: | Line 8: | ||
If you do not wish to have the "Current time in Japan:" displayed, add '''{{tlp|Japan current era date|2=nopref=yes}}''' instead. This will produce the following: <span style="background-color:white;">{{Japan current era date|nopref=yes}}</span> | If you do not wish to have the "Current time in Japan:" displayed, add '''{{tlp|Japan current era date|2=nopref=yes}}''' instead. This will produce the following: <span style="background-color:white;">{{Japan current era date|nopref=yes}}</span> | ||
| − | <includeonly><!-- | + | <includeonly>{{Sandbox other||<!-- |
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}| | {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}| | ||
| Line 14: | Line 14: | ||
[[Category:Date-computing templates based on current time|{{PAGENAME}}]] | [[Category:Date-computing templates based on current time|{{PAGENAME}}]] | ||
}}[[Category:Time, date and calendar templates|{{PAGENAME}}]] | }}[[Category:Time, date and calendar templates|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:46, 25 April 2020
| This is a documentation subpage for Template:Japan current era date. It contains usage information, categories and other content that is not part of the original template page. |
This page displays the current time in Japan, including the current Japanese era name.
Usage
Simply add {{Japan current era date}} to where you wish to include the current date and time in Japan. This will produce the following: Current time in Japan: Error: Invalid time., Error: Invalid time., Error: Invalid time. (JST, Reiwa 7) (Script error: No such module "Purge".)
If you do not wish to have the "Current time in Japan:" displayed, add {{Japan current era date|nopref=yes}} instead. This will produce the following: Error: Invalid time., Error: Invalid time., Error: Invalid time. (JST, Reiwa 7) (Script error: No such module "Purge".)