Template:ASC year: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|<span class="micraswiki-asc-year" data-asc-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-asc-year">{{{1}}}</span>}}</includeonly><noinclude>Usage: <nowiki>{{ASC year|7666}}</nowiki> or <nowiki>{{ASC year|7666|the year that a thing happened}}</nowiki>, to produce a result like <span class="micraswiki-asc-year">7666</span></noinclude>
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|<span class="micraswiki-asc-year" data-asc-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-asc-year">{{{1}}}</span> [[ASC]]}}|<span class="micraswiki-asc-year">{{#expr:{{Date serial}}-{{Date serial|day = 6 |month = Aug |year = 1999}}}}</span> [[ASC]]}}</includeonly><noinclude>
==Usage==
# <code><nowiki>{{ASC year}}</nowiki></code> or <code><nowiki>{{ASC}}</nowiki></code>, to produce a the current [[ASC]] year, {{ASC}}.
# <code><nowiki>{{ASC year|7666}}</nowiki></code> or <code><nowiki>{{ASC year|7666|the year that a thing happened}}</nowiki></code>, to produce a result like {{ASC year|7666}}.
# <code><nowiki>{{ASC|7666}}</nowiki></code> or <code><nowiki>{{ASC|7666|the year that a thing happened}}</nowiki></code>, to produce a result like <span class="micraswiki-asc-year">7666</span> [[ASC]].
[[Category:MicrasWiki]]</noinclude>

Latest revision as of 07:03, 14 July 2021

Usage

  1. {{ASC year}} or {{ASC}}, to produce a the current ASC year, 9240 ASC.
  2. {{ASC year|7666}} or {{ASC year|7666|the year that a thing happened}}, to produce a result like 7666 ASC.
  3. {{ASC|7666}} or {{ASC|7666|the year that a thing happened}}, to produce a result like 7666 ASC.