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>Usage: <nowiki>{{AN year|1666}}</nowiki> or <nowiki>{{AN year|1666|the year that a thing happened}}</nowiki>, to produce a result like <span class="micraswiki-an-year">1666</span> [[AN]]. [[Category:MicrasWiki]]</noinclude>
<includeonly>{{#if:{{{2|}}}|<span class="micraswiki-an-year" data-an-year="{{{1}}}">{{{2}}}</span>|<span class="micraswiki-an-year">{{{1}}}</span>}} [[AN]]</includeonly><noinclude>
==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|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]].
 
[[Category:MicrasWiki]]</noinclude>

Revision as of 14:32, 7 January 2020

Usage

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