Difference between revisions of "Template:Auc/data/year/doc"

From blackwiki
Jump to navigation Jump to search
imported>Grufo
(Create doc)
 
imported>Grufo
m
Line 3: Line 3:
  
 
This is only a helper template of {{tl|Auc}} that creates a year string.
 
This is only a helper template of {{tl|Auc}} that creates a year string.
 +
 +
== Usage ==
 +
E.g. <code><nowiki>{{Auc/data/year|2003|CE|abbr=off}}</nowiki></code> &rarr; {{Auc/data/year|2003|CE|abbr=off}}
  
 
== Parameters ==
 
== Parameters ==
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 33: Line 35:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
== Usage ==
 
 
E.g. <code><nowiki>{{Auc/data/year|2003|CE|abbr=off}}</nowiki></code> &rarr; {{Auc/data/year|2003|CE|abbr=off}}
 
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 10:08, 2 October 2020

This is only a helper template of {{Auc}} that creates a year string.

Usage

E.g. {{Auc/data/year|2003|CE|abbr=off}} → 2003 Common Era

Parameters

No description.

Template parameters

ParameterDescriptionTypeStatus
Year1

The year that will be shown

Numberoptional
Era2

The abbreviated era

Example
CE / BCE / AD / BC / AUC / PUC
Unknownoptional
Abbreviationsabbr

Use abbreviation

Stringoptional
Linkslinks

Create internal links for the era

Default
true
Booleanoptional