Difference between revisions of "Template:History of China/doc"
Jump to navigation
Jump to search
imported>Funandtrvl m (Reverted edits by 64.27.165.110 (talk) to last version by Gary King) |
|||
| Line 1: | Line 1: | ||
| − | {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template has been designed so that it can be used both in articles that adopt the BC/AD date notation and those that adopt the BCE/CE date notation without forcing some articles to have inconsistent style. It will display BCE/CE notation unless the template gives the parameter BC a value. For instance <nowiki>{{History of China}}</nowiki> will give BCE/CE notation, <nowiki>{{History of China|BC=1}}</nowiki> will give BC/AD notation. It can be edited as normal, but with the following exception: *Instead of writing BCE or BC write <nowiki>{{#if: {{{BC|}}}|BC|BCE}}</nowiki> *Instead of writing CE or AD write <nowiki>{{#if: {{{BC|}}}|AD|CE}}</nowiki> This functionality is necessitated by the [[Wikipedia:Manual of Style]] requirement that BC-AD and BCE-CE do not both appear in the same article. ;Parameters :<code>state - autocollapse, uncollapsed, collapsed</code>: the status of box | + | {{Documentation subpage}} |
| + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | |||
| + | === Usage === | ||
| + | This template has been designed so that it can be used both in articles that adopt the BC/AD date notation and those that adopt the BCE/CE date notation without forcing some articles to have inconsistent style. | ||
| + | |||
| + | It will display BCE/CE notation unless the template gives the parameter BC a value. For instance <nowiki>{{History of China}}</nowiki> will give BCE/CE notation, <nowiki>{{History of China|BC=1}}</nowiki> will give BC/AD notation. | ||
| + | |||
| + | It can be edited as normal, but with the following exception: | ||
| + | |||
| + | *Instead of writing BCE or BC write <nowiki>{{#if: {{{BC|}}}|BC|BCE}}</nowiki> | ||
| + | *Instead of writing CE or AD write <nowiki>{{#if: {{{BC|}}}|AD|CE}}</nowiki> | ||
| + | |||
| + | This functionality is necessitated by the [[Wikipedia:Manual of Style]] requirement that BC-AD and BCE-CE do not both appear in the same article. | ||
| + | |||
| + | ;Parameters | ||
| + | |||
| + | :<code>state - autocollapse, uncollapsed, collapsed</code>: the status of box expansion, where "autocollapse" hides stacked navboxes automatically. | ||
| + | |||
| + | === See also === | ||
| + | |||
| + | <includeonly> | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| + | [[Category:China history templates| ]] | ||
| + | |||
| + | [[ar:قالب:تاريخ الصين]] | ||
| + | [[br:Patrom:Istor Sina]] | ||
| + | [[ca:Plantilla:Història de la Xina]] | ||
| + | [[eo:Ŝablono:Historio de Ĉinio]] | ||
| + | [[fr:Modèle:Histoire de la Chine]] | ||
| + | [[gl:Modelo:Historia de China]] | ||
| + | [[ko:틀:중국사]] | ||
| + | [[he:תבנית:היסטוריה של סין]] | ||
| + | [[lt:Šablonas:Kinijos istorija]] | ||
| + | [[nl:Sjabloon:Zijbalk geschiedenis van China]] | ||
| + | [[ja:Template:中国の歴史]] | ||
| + | [[no:Mal:Kinas historie]] | ||
| + | [[ru:Шаблон:История Китая]] | ||
| + | [[sv:Mall:Kinas historia]] | ||
| + | [[tl:Suleras:Kasaysayan ng Tsina]] | ||
| + | [[vi:Tiêu bản:Lịch sử Trung Quốc]] | ||
| + | [[zh:Template:中国历史]] | ||
| + | </includeonly> | ||
Revision as of 21:26, 14 April 2010
| 40px | This is a documentation subpage for Template:History of China. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template has been designed so that it can be used both in articles that adopt the BC/AD date notation and those that adopt the BCE/CE date notation without forcing some articles to have inconsistent style.
It will display BCE/CE notation unless the template gives the parameter BC a value. For instance {{History of China}} will give BCE/CE notation, {{History of China|BC=1}} will give BC/AD notation.
It can be edited as normal, but with the following exception:
- Instead of writing BCE or BC write {{#if: {{{BC|}}}|BC|BCE}}
- Instead of writing CE or AD write {{#if: {{{BC|}}}|AD|CE}}
This functionality is necessitated by the Wikipedia:Manual of Style requirement that BC-AD and BCE-CE do not both appear in the same article.
- Parameters
state - autocollapse, uncollapsed, collapsed: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.