Template:D/doc
From Gineipaedia, the Legend of Galactic Heroes wiki
(Difference between revisions)
(doc) |
m (link to formatted) |
||
(3 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
;Sample output | ;Sample output | ||
- | :<code><nowiki>{{d| | + | :<code><nowiki>{{d|490|rc}}</nowiki></code> produces: {{d|490|rc}} |
:<code><nowiki>{{d|296|uc}}</nowiki></code> produces: {{d|296|uc}} | :<code><nowiki>{{d|296|uc}}</nowiki></code> produces: {{d|296|uc}} | ||
;Notes | ;Notes | ||
- | : | + | :Since the code for this template is somewhat complex, a formatted version has been made available at [[Template:D/formatted|D/formatted]]. Please follow the instructions there, and make sure the two versions stay in synch. |
;Acknowledgements | ;Acknowledgements | ||
- | :n/a | + | :n/a<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
- | + | ||
- | + |
Latest revision as of 10:45, 22 April 2011
- 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