Difference between revisions of "Template:CE"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Converted into Common Era template)
imported>Sardanaphalus
(corrected ordering)
Line 1: Line 1:
 
<!---->{{#if:{{{2|}}}
 
<!---->{{#if:{{{2|}}}
         |{{#switch:{{{1|}}}|link|linked=[[Common Era|CE]]|CE}}&nbsp;{{{2}}}<!--
+
         |{{{2}}}&nbsp;{{#switch:{{{1|}}}|link|linked=[[Common Era|CE]]|CE}}<!--
     -->|CE&nbsp;{{{1<includeonly>|{{color|red|Missing parameter/s! (Template:CE)}}</includeonly>}}}<!--
+
     -->|{{{1<includeonly>|{{color|red|Missing parameter/s! (Template:CE)}}</includeonly>}}}&nbsp;CE<!--
 
     -->}}<noinclude>
 
     -->}}<noinclude>
  

Revision as of 18:19, 6 February 2014

{{{1}}} CE

50px 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.