Difference between revisions of "Template:BC year in topic/doc"
imported>Funandtrvl (fx) |
imported>Zyxw (add {{TemplateData header}} before <templatedata>) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
This template produces a box with various links about the BC year specified. It also includes the {{tl|year in other calendars}} sidebar and the {{tl|Commons category}} template. It is usually used on articles about a BC year, e.g. [[250 BC]]. | This template produces a box with various links about the BC year specified. It also includes the {{tl|year in other calendars}} sidebar and the {{tl|Commons category}} template. It is usually used on articles about a BC year, e.g. [[250 BC]]. | ||
| 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>. | ||
| − | {{ | + | {{collapse top|TemplateData}} |
| + | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 26: | Line 27: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | {{ | + | {{collapse bottom}} |
| − | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
| − | <!--Categories below this line, please; interwikis at Wikidata--> | + | <!-- Categories below this line, please; interwikis at Wikidata --> |
{{DEFAULTSORT:Bc Year In Topic}} | {{DEFAULTSORT:Bc Year In Topic}} | ||
[[Category:History and events infobox templates]] | [[Category:History and events infobox templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 20:51, 8 September 2015
| 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 is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for BC year in topic 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.
| ||||||||||