Template:ASC year: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 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>}} [[ASC]]</includeonly><noinclude>Usage | <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> | [[Category:MicrasWiki]]</noinclude> |