Difference between revisions of "Template: Date"

From A Wiki of Ice and Fire
Jump to: navigation, search
(Undo revision 145691 by Rhaenys_Targaryen (talk))
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|}}}|| AC}}]]<!--
 
                           -->{{#if:{{{2|}}}|-<!--
 
                           -->{{#if:{{{2|}}}|-<!--
 
                           -->[[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 16:27, 16 November 2014


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)
{{Date|from #| to #}} 


Alternatively you can create the link manually like this:

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