Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:Age/Documentation: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
==Returns==
==Returns==
{{Code|<nowiki>{{Age|1979/11/05}}</nowiki>}} returns: {{Return|{{Age|1979/11/05}}}}
{{Code|<nowiki>{{Age|1979/11/05}}</nowiki>}} returns: {{Return|{{Age|1979/11/05}}}}
{{Code|<nowiki>{{Age|1979/11/05|</nowiki>{{#time:Y/m/d|{{CURRENTTIMESTAMP}}}}<nowiki>}}</nowiki>}} returns: {{Return|{{Age|1979/11/05|{{#time:Y/m/d|{{CURRENTTIMESTAMP}}}}}}}}

Revision as of 14:25, 26 April 2023

Template:Age is used to determine how old something is.

Usage

It has one mandatory parameter and accepts one optional parameter, both of which are dates. The built-in MediaWiki functions it relies on should be fairly robust, but the preferred format is: yyyy/mm/dd.

  1. is the date of the event in question.
  2. is the date measured from; it defaults to the contents of Game Date.

Returns

{{Age|1979/11/05}} returns:

80

{{Age|1979/11/05|2026/06/04}} returns:

46