Revision as of 23:22, 23 July 2024 view sourceWeylaway (talk | contribs)110 edits Dark mode fix← Previous edit |
Revision as of 23:30, 23 July 2024 view source Weylaway (talk | contribs)110 editsNo edit summaryNext edit → |
Line 1: |
Line 1: |
|
{{Sidebar with collapsible lists |
|
<div class="notheme mw-no-invert">{{Sidebar with collapsible lists |
|
| name = History of China |
|
| name = History of China |
|
| style = background:#FFEECC; |
|
| style = background:#FFEECC; color: #000 !important; |
|
| bodyclass = plainlist |
|
| bodyclass = plainlist |
|
| pretitle = Part of ] on the |
|
| pretitle = Part of ] on the |
|
| title = ] |
|
| title = ] |
|
| image = ] |
|
| image = ] |
|
| listtitlestyle = background:#FFE4B5;border-top: 1px solid #666;border-bottom: 1px solid #666;color: #000 !important; |
|
| listtitlestyle = background:#FFE4B5 !important;border-top: 1px solid #666;border-bottom: 1px solid #666; |
|
| centered list titles = yes |
|
| centered list titles = yes |
|
| expanded = {{{expanded|{{{selected|{{{1|}}}}}}}}} |
|
| expanded = {{{expanded|{{{selected|{{{1|}}}}}}}}} |
Line 174: |
Line 174: |
|
|
|
|
|
| navbar = {{#ifeq:{{{status|{{{1|}}}}}}|subtemplate |off}} |
|
| navbar = {{#ifeq:{{{status|{{{1|}}}}}}|subtemplate |off}} |
|
}}<noinclude> |
|
}}</div><noinclude> |
|
{{Documentation}} |
|
{{Documentation}} |
|
</noinclude> |
|
</noinclude> |
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.