Template:D/doc

From Gineipaedia, the Legend of Galactic Heroes wiki

(Difference between revisions)
Jump to: navigation, search
(doc)
m (link to formatted)
 
(3 intermediate revisions not shown)
Line 6: Line 6:
;Sample output
;Sample output
-
:<code><nowiki>{{d|489|rc}}</nowiki></code> produces: {{d|489|rc}}
+
:<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
-
:This template is a work-in-progress and will likely be changed frequently; however, due to the confusing abundance of date formats in the LOGH series, it is recommended that this be used for all in-universe dates.
+
: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>
-
 
+
-
<includeonly>[[Category:Custom templates|{{PAGENAME}}]]</includeonly><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
Personal tools
Namespaces
Variants
Actions
Miscellany
Common
Tool box