Template:ASC year: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
Tag: Undo |
No edit summary |
||
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> | <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 = 8 |year = 1999}}}}</span> [[ASC]]}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
# <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 | # <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]]. | # <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:39, 15 December 2020
Usage
{{ASC year}}
or{{ASC}}
, to produce a the current ASC year, Expression error: Unexpected < operator. ASC.{{ASC year|7666}}
or{{ASC year|7666|the year that a thing happened}}
, to produce a result like 7666 ASC.{{ASC|7666}}
or{{ASC|7666|the year that a thing happened}}
, to produce a result like 7666 ASC.