Difference between revisions of "Template:BCE"
Jump to navigation
Jump to search
Template documentation
imported>Sardanaphalus (removed parent category) |
imported>WOSlinker (fix tag) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 6: | Line 6: | ||
{{Documentation | {{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]] ( ) 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=== | ||
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. |