Difference between revisions of "Template:BCE"
Jump to navigation
Jump to search
Template documentation
imported>Sardanaphalus (corrected ordering) |
imported>WOSlinker (fix tag) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
-->}}<noinclude> | -->}}<noinclude> | ||
| − | {{ | + | {{Documentation |
| − | |content = | + | | content = |
| − | A convenience{{\}}consistency template for the display of [[Common Era|Before Common Era]] years that places the abbreviation "BCE" | + | 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]] (&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 == | + | ===Examples=== |
: <code><nowiki>{{BCE|598}}</nowiki></code> produces: {{BCE|598}} | : <code><nowiki>{{BCE|598}}</nowiki></code> produces: {{BCE|598}} | ||
: <code><nowiki>{{BCE|link|5189}}</nowiki></code> produces: {{BCE|link|5189}} | : <code><nowiki>{{BCE|link|5189}}</nowiki></code> produces: {{BCE|link|5189}} | ||
| − | : <code><nowiki>{{BCE}}</nowiki><code> produces: {{BCE}} | + | : <code><nowiki>{{BCE}}</nowiki></code> produces: {{BCE}} |
| − | == See also == | + | ===See also=== |
* {{tl|CE}}, a similar template for Common Era years. | * {{tl|CE}}, a similar template for Common Era years. | ||
[[Category:Time, date and calendar templates]] | [[Category:Time, date and calendar templates]] | ||
| − | + | }}<!--(end Documentation)--> | |
| − | }} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 07:46, 4 August 2017
{{{1}}} BCE
A convenience / consistency template for the display of Before Common Era years that places the abbreviation "BCE" preceded 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. |