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!
==== Properties ==== Era objects have a number of properties. Their values might be <code>nil</code> if the module did not have enough information to process them, or the values could be <code>false</code> if they correspond to an invalid era. You can specify properties with the dot syntax: * <code lang="lua">local article = myEra.article</code> The properties are as follows: * <code>gregorianYear</code>: the year in the [[Gregorian calendar]]. Same as the input year. * <code>startYear</code>: the first year of the specified era. * <code>endYear</code>: the last year of the specified era. * <code>eraYear</code>: the year of the specified era, without the era name. * <code>eraYearKanji</code>: a string representing the era year 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. Note: even though the output may often look like a number, it will always be a string value. * <code>article</code>: the Wikipedia article for the era, unlinked. * <code>label</code>: the name of the era. Same as <code>article</code> unless the article title is [[WP:DAB|disambiguated]]. * <code>kanji</code>: the name of the era in kanji.
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)