Difference between pages "Template:BCE" and "Template:BCE/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>WOSlinker
(fix tag)
 
imported>White whirlwind
 
Line 1: Line 1:
−
<!---->{{#if:{{{2|}}}
+
<!---->{{#if:{{{1|}}}
−
        |{{{2}}}&nbsp;{{#switch:{{{1|}}}|link|linked=[[Common Era|BCE]]|BCE}}<!--
+
      |{{{1|{{color|red|Missing parameter/s! (Template:BCE)}}}}}&nbsp;BC<!--
−
    -->|{{{1<includeonly>|{{color|red|Missing parameter/s! (Template:BCE)}}</includeonly>}}}&nbsp;BCE<!--
+
     -->}}
−
     -->}}<noinclude>
 
−
 
 
−
{{Documentation
 
−
| content =
 
−
A convenience{{\}}consistency template for the display of [[Common Era|Before Common Era]] years that places the abbreviation "BCE" preceded by a [[non-breaking space]] (&amp;nbsp;) before a year supplied. If the first parameter supplied is "link" or "linked", the "BCE" is rendered as a link to the "Common Era" article (to which "Before Common Era" and "BCE" redirect).
 
−
 
 
−
===Examples===
 
−
: <code><nowiki>{{BCE|598}}</nowiki></code> produces: {{BCE|598}}
 
−
: <code><nowiki>{{BCE|link|5189}}</nowiki></code> produces: {{BCE|link|5189}}
 
−
: <code><nowiki>{{BCE}}</nowiki></code> produces: {{BCE}}
 
−
 
 
−
===See also===
 
−
* {{tl|CE}}, a similar template for Common Era years.
 
−
 
 
−
[[Category:Time, date and calendar templates]]
 
−
}}<!--(end Documentation)-->
 
−
</noinclude>