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>}}{{#if:{{{noAN|}}}|| [[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|}}}||&nbsp;[[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]].  

Revision as of 02:33, 3 May 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.
  3. {{AN|1666|noAN=y}} or {{AN|1666|the year that a thing happened|noAN=y}}, to produce a result like 1666.