Template:D/doc

From Gineipaedia, the Legend of Galactic Heroes wiki

Jump to: navigation, search
Description
Template for producing in-universe dates. Currently creates a 'tool tip'-like annotation upon mouse-over, which lists conversions from the original calendar format to the other formats.
Syntax
{{d|<numerical year>|<calendar format — nrc/rc/uc/ce>}}
Sample output
{{d|490|rc}} produces: 490 IC (1 NIC / 799 UC / 3599 CE)
{{d|296|uc}} produces: 296 UC (3096 CE)
Notes
Since the code for this template is somewhat complex, a formatted version has been made available at D/formatted. Please follow the instructions there, and make sure the two versions stay in synch.
Acknowledgements
n/a
Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box