NOTICE
The lore articles on the wiki are currently being rewritten in some capacity. If you wish for the most updated information, or knowledge on a specific article, the best place to reach out is in #sim-lore-general on Discord.
Template:CurrentDate: Difference between revisions
From New Frontiers Wiki
RowenStipe (talk | contribs) No edit summary |
RowenStipe (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
== Useage == | == Useage == | ||
For displaying the current | For displaying the current date. | ||
< | <pre>{{CurrentDate}}</pre> An example {{CurrentDate}} | ||
<pre>{{CurrentDate|year}}</pre> An example {{CurrentDate|year}} | |||
[[Category:Utility Template]] | [[Category:Utility Template]] | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
< | {{#ifeq: {{{1|}}} | year | <span id="currentICYear"></span> | <span id="currentICDate"></span>}} | ||
</includeonly> | </includeonly> |
Latest revision as of 12:40, 25 September 2021
Useage
For displaying the current date.
{{CurrentDate}}
An example
{{CurrentDate|year}}
An example