Difference between revisions of "Template:CE"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(corrected ordering)
imported>Sardanaphalus
(heading level, removed parent category)
Line 4: Line 4:
 
     -->}}<noinclude>
 
     -->}}<noinclude>
  
{{documentation
+
{{Documentation
  |content =
+
  | content =
 
A convenience{{\}}consistency template for the display of [[Common Era]] years that places the abbreviation "CE" followed by a [[non-breaking space]] (&amp;nbsp;) before a year supplied. If the first parameter supplied is "link" or "linked", the "CE" is rendered as a link to the "Common Era" article.
 
A convenience{{\}}consistency template for the display of [[Common Era]] years that places the abbreviation "CE" followed by a [[non-breaking space]] (&amp;nbsp;) before a year supplied. If the first parameter supplied is "link" or "linked", the "CE" is rendered as a link to the "Common Era" article.
  
== Examples ==
+
===Examples===
 
: <code><nowiki>{{CE|859}}</nowiki></code> produces: {{CE|859}}
 
: <code><nowiki>{{CE|859}}</nowiki></code> produces: {{CE|859}}
 
: <code><nowiki>{{CE|link|1958}}</nowiki></code> produces: {{CE|link|1958}}
 
: <code><nowiki>{{CE|link|1958}}</nowiki></code> produces: {{CE|link|1958}}
 
: <code><nowiki>{{CE}}</nowiki><code> produces: {{CE}}
 
: <code><nowiki>{{CE}}</nowiki><code> produces: {{CE}}
  
== See also ==
+
===See also===
 
* {{tl|BCE}}, a similar template for Before Common Era years.
 
* {{tl|BCE}}, a similar template for Before Common Era years.
  
 
[[Category:Time, date and calendar templates]]
 
[[Category:Time, date and calendar templates]]
[[Category:Wikipedia formatting and function templates]]
+
}}<!--(end Documentation)-->
}}
 
 
</noinclude>
 
</noinclude>

Revision as of 23:06, 26 August 2014

{{{1}}} CE

Template documentation

A convenience / consistency template for the display of Common Era years that places the abbreviation "CE" followed by a non-breaking space (&nbsp;) before a year supplied. If the first parameter supplied is "link" or "linked", the "CE" is rendered as a link to the "Common Era" article.

Examples

{{CE|859}} produces: 859 CE
{{CE|link|1958}} produces: 1958 CE
{{CE}} produces: Missing parameter/s! (Template:CE) CE

See also

  • {{BCE}}, a similar template for Before Common Era years.