Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Japanese calendar/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Functions ==== {| class="wikitable" |- ! Code !! Description !! Example |- | <code>baseyear</code> || The first year of the specified era. || <code><nowiki>{{#invoke:Japanese calendar|baseyear|era=Heisei}}</nowiki></code> → {{#invoke:Japanese calendar|baseyear|era=Heisei}} |- | <code>endyear</code> || The last year of the specified era. || <code><nowiki>{{#invoke:Japanese calendar|endyear|era=Shลwa period}}</nowiki></code> → {{#invoke:Japanese calendar|endyear|era=Shลwa period}} |- | <code>year</code> || The year for the specified era, without the era name. Defaults to the newer era, if more than one is applicable. || <code><nowiki>{{#invoke:Japanese calendar|year|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|year|year=1989}} |- | <code>kanjiyear</code> || The same as <code>''year''</code>, but in [[kanji]]. The first year of an era is changed to the kanji ๅ , and the others are changed to [[Halfwidth and fullwidth forms|full-width]] numbers. || <code><nowiki>{{#invoke:Japanese calendar|kanjiyear|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|kanjiyear|year=1989}} |- | <code>article</code> || The Wikipedia article for the era, unlinked. || <code><nowiki>{{#invoke:Japanese calendar|article|year=1950}}</nowiki></code> → {{#invoke:Japanese calendar|article|year=1950}} |- | <code>label</code> || The name of the era. Same as <code>''article''</code> for [[WP:DAB|undisambiguated]] titles. || <code><nowiki>{{#invoke:Japanese calendar|label|year=1950}}</nowiki></code> → {{#invoke:Japanese calendar|label|year=1950}} |- | <code>link</code> || A link to the Wikipedia article of the specified era. || <code><nowiki>{{#invoke:Japanese calendar|link|year=1950}}</nowiki></code> → {{#invoke:Japanese calendar|link|year=1950}} |- | <code>kanji</code> || The kanji for the specified era. || <code><nowiki>{{#invoke:Japanese calendar|kanji|year=1950}}</nowiki></code> → {{#invoke:Japanese calendar|kanji|year=1950}} |- | <code>label_year</code> || <code>''label''</code> followed by <code>''year''</code> || <code><nowiki>{{#invoke:Japanese calendar|label_year|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|label_year|year=1989}} |- | <code>link_year</code> || <code>''link''</code> followed by <code>''year''</code> || <code><nowiki>{{#invoke:Japanese calendar|link_year|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|link_year|year=1989}} |- | <code>label_kanjiyear</code> || <code>''label''</code> followed by <code>''kanjiyear''</code> || <code><nowiki>{{#invoke:Japanese calendar|label_kanjiyear|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|label_kanjiyear|year=1989}} |- | <code>link_kanjiyear</code> || <code>''link''</code> followed by <code>''kanjiyear''</code> || <code><nowiki>{{#invoke:Japanese calendar|link_kanjiyear|year=1989}}</nowiki></code> → {{#invoke:Japanese calendar|link_kanjiyear|year=1989}} |- |}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)