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
Jump to: navigation, search
No edit summary
No edit summary
 
Line 2: Line 2:
== Useage ==
== Useage ==


For displaying the current time.
For displaying the current date.
<p id="currentICDate"></p>
<pre>{{CurrentDate}}</pre> An example {{CurrentDate}}
<pre>{{CurrentDate|year}}</pre> An example {{CurrentDate|year}}
[[Category:Utility Template]]
[[Category:Utility Template]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<p id="currentICDate"></p>
{{#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