Difference between revisions of "Template: Date"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
m
Line 3: Line 3:
 
                           -->[[Years after Aegon's Landing#Year {{{2}}} after Aegon's Landing|{{{2}}}]] AL}} }}</includeonly><noinclude>
 
                           -->[[Years after Aegon's Landing#Year {{{2}}} after Aegon's Landing|{{{2}}}]] AL}} }}</includeonly><noinclude>
  
This template will create a link to [[Years after Aegon's Landing]] page and the relevant section inside. It should speed up the editing process and make the text more readable when editing.
+
This template will create a link to [[Years after Aegon's Landing]] 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:===
 
===Example use:===
* <code><nowiki>{{Date|#}}</nowiki></code> - where # , denotes the number of the year, ranging from 1 to 301(as of now)
+
<code><nowiki>{{Date|#}}</nowiki></code> - where # , denotes the number of the year, ranging from 1 to 301(as of now)
* <code><nowiki>{{Date|from #| to #}} </nowiki></code>
 
  
Alternatively you can create the link manually like this: <code><nowiki>[[Years after Aegon's Landing#Year 233 after Aegon's Landing|233 AL]]</nowiki></code>
+
<code><nowiki>{{Date|from #| to #}} </nowiki></code>
  
===See also===
+
 
* [[Help:Links]]
+
Alternatively you can create the [[Help:Links|link]] manually like this:
 +
<code><nowiki>[[Years after Aegon's Landing#Year 233 after Aegon's Landing|233 AL]]</nowiki></code>
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 10:18, 4 February 2012


This template will create a link to Years after Aegon's Landing 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 Landing#Year 233 after Aegon's Landing|233 AL]]