Template:AN year: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{2|}}}|<span class="micraswiki-an-year" data-an-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-an-year">{{{1}}}</span>}} [[AN]]</includeonly><noinclude> | <includeonly>{{#if:{{{2|}}}|<span class="micraswiki-an-year" data-an-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-an-year">{{{1}}}</span>}}{{#if:{{{noAN|}}}|| [[AN]]}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
# <code><nowiki>{{AN year|1666}}</nowiki></code> or <code><nowiki>{{AN year|1666|the year that a thing happened}}</nowiki></code>, to produce a result like <span class="micraswiki-an-year">1666</span> [[AN]]. | # <code><nowiki>{{AN year|1666}}</nowiki></code> or <code><nowiki>{{AN year|1666|the year that a thing happened}}</nowiki></code>, to produce a result like <span class="micraswiki-an-year">1666</span> [[AN]]. | ||
# <code><nowiki>{{AN|1666}}</nowiki></code> or <code><nowiki>{{AN|1666|the year that a thing happened}}</nowiki></code>, to produce a result like <span class="micraswiki-an-year">1666</span> [[AN]]. | # <code><nowiki>{{AN|1666}}</nowiki></code> or <code><nowiki>{{AN|1666|the year that a thing happened}}</nowiki></code>, to produce a result like <span class="micraswiki-an-year">1666</span> [[AN]]. | ||
# <code><nowiki>{{AN|1666|noAN=y}}</nowiki></code> or <code><nowiki>{{AN|1666|the year that a thing happened|noAN=y}}</nowiki></code>, to produce a result like <span class="micraswiki-an-year">1666</span>. | |||
[[Category:MicrasWiki]]</noinclude> | [[Category:MicrasWiki]]</noinclude> |