Template:ASC year: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
(Undo revision 185261 by Joe (talk))
Tag: Undo
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#if:{{{2|}}}|<span class="micraswiki-asc-year" data-asc-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-asc-year">{{{1}}}</span>}}|<span class="micraswiki-asc-year">{{#expr:{{Date serial}}-{{Date serial|day = 6 |month = 8 |year = 1999}}</span>}}}} [[ASC]]</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|<span class="micraswiki-asc-year" data-asc-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-asc-year">{{{1}}}</span>}} [[ASC]]</includeonly><noinclude>
==Usage==
==Usage==
# <code><nowiki>{{ASC}}</nowiki></code>, to produce 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 <span class="micraswiki-asc-year">7666</span> [[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 <span class="micraswiki-asc-year">7666</span> [[ASC]].
# <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]].
# <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>
[[Category:MicrasWiki]]</noinclude>

Revision as of 09:32, 15 December 2020

Usage

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