Difference between revisions of "Template:BCE"
Jump to navigation
Jump to search
Template documentation
imported>Sardanaphalus (Created template to complement {{CE}}) |
imported>Sardanaphalus (corrected ordering) |
||
| Line 1: | Line 1: | ||
<!---->{{#if:{{{2|}}} | <!---->{{#if:{{{2|}}} | ||
| − | |{{#switch:{{{1|}}}|link|linked=[[Common Era|BCE]]|BCE | + | |{{{2}}} {{#switch:{{{1|}}}|link|linked=[[Common Era|BCE]]|BCE}}<!-- |
| − | -->| | + | -->|{{{1<includeonly>|{{color|red|Missing parameter/s! (Template:BCE)}}</includeonly>}}} BCE<!-- |
-->}}<noinclude> | -->}}<noinclude> | ||
Revision as of 18:17, 6 February 2014
{{{1}}} BCE
A convenience / consistency template for the display of Before Common Era years that places the abbreviation "BCE" followed by a non-breaking space ( ) 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
{{BCE|598}}produces: 598 BCE{{BCE|link|5189}}produces: 5189 BCE{{BCE}}produces: Missing parameter/s! (Template:BCE) BCE
See also
- {{CE}}, a similar template for Common Era years.
| Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |