This template is used for marking up years BC. For more information visit WikiProject Detectable BC/BCE dates.

Parameters

edit
  • year - can be just a year number. For example, {{bc-y|100}}. Can also include "BC" or "BCE" like this: {{bc-y|100 BC}}. However, if no other parameter are used and "BC" label exists, the markup should not be needed.
  • substitute - optional parameter used for specifying full year when year in text is truncated. Just a year number without "BC" label is used for this parameter.

Usage examples

edit

{{bc-y|100}} - marking up year 100 BC that lacks an actual "BC" label. Such markup will make this date detectable programatically and therefore convertible into alternative year numbering systems. Resulting HTML will look like this: <span class="bc-y">100</span>.

For years that look like this 150/49 and lack "BC" label something like this {{bc-y|150}}/{{bc-y|49|149}} can be used. The resulting HTML will look like this: <span class="bc-y">150</span>/<span class="bc-y" data-s="149">49</span>Here we mark up the fist year as usual, but in the second one we use substitute parameter to specify full year.