Difference between revisions of "Template:BC year in topic/doc"
imported>Mr. Stradivarius (create) |
imported>Mr. Stradivarius (add TemplateData) |
||
| Line 11: | Line 11: | ||
The template takes only one parameter, the first positional parameter. This is the BC year number. For example, to specify the year 250 BC, use the code <code>{{BC year in topic|250}}</code>. | The template takes only one parameter, the first positional parameter. This is the BC year number. For example, to specify the year 250 BC, use the code <code>{{BC year in topic|250}}</code>. | ||
| + | |||
| + | {{cot|TemplateData}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "required": true, | ||
| + | "label": "BC year", | ||
| + | "type": "number", | ||
| + | "default": "250", | ||
| + | "description": "The BC year. The value should be a positive number, with no text. For example, for the year 100 BC insert \"100\" without the quotation marks." | ||
| + | } | ||
| + | }, | ||
| + | "description": "This template adds navigation sidebars about a BC year. It includes a \"BC year in topic\" sidebar, a \"year in other calendars\" sidebar, and a box linking to the BC year's category at Wikimedia Commons." | ||
| + | } | ||
| + | </templatedata> | ||
| + | {{cob}} | ||
<includeonly> | <includeonly> | ||
Revision as of 07:12, 31 August 2013
| File:Edit-copy green.svg | This is a documentation subpage for Template:BC year in topic. It contains usage information, categories and other content that is not part of the original template page. |
This template produces a box with various links about the BC year specified. It also includes the {{year in other calendars}} sidebar and the {{Commons category}} template. It is usually used on articles about a BC year, e.g. 250 BC.
Syntax
{{BC year in topic|BC year}}
Parameters
The template takes only one parameter, the first positional parameter. This is the BC year number. For example, to specify the year 250 BC, use the code {{BC year in topic|250}}.
TemplateData
| ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
This template adds navigation sidebars about a BC year. It includes a "BC year in topic" sidebar, a "year in other calendars" sidebar, and a box linking to the BC year's category at Wikimedia Commons.
| ||||||||||