Difference between revisions of "Template: Date"

From A Wiki of Ice and Fire
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}} |[[Years after Aegon's Conquest#Year {{{1}}} After the Conquest|{{{1}}}{{#if:{{{2|}}}|| AC}}]]<!--
+
<includeonly>{{#if: {{{1|}}} |[[Years after Aegon's Conquest#Year {{{1}}} After the Conquest|{{{1}}}{{#if:{{{2|}}}||&#32;AC}}]]<!--
 
                           -->{{#if:{{{2|}}}|&ndash;<!--
 
                           -->{{#if:{{{2|}}}|&ndash;<!--
 
                           -->[[Years after Aegon's Conquest#Year {{{2}}} After the Conquest|{{{2}}} AC]]}} }}</includeonly><noinclude>
 
                           -->[[Years after Aegon's Conquest#Year {{{2}}} After the Conquest|{{{2}}} AC]]}} }}</includeonly><noinclude>

Revision as of 21:38, 5 June 2018


This template will create a link to Years after Aegon's Conquest page and the relevant section inside, in the proper format needed. It should speed up the editing process and make the text more readable when editing.

Example use:

{{Date|#}} - where # , denotes the number of the year, ranging from 1 to 301(as of now)

For example, {{Date|300}} results in 300 AC.

{{Date|from #| to #}} 

For example, {{Date|283|298}} results in 283298 AC.


Alternatively, you can create the link manually, like this:

[[Years after Aegon's Conquest#Year 233 After the Conquest|233 AC]]