साँचा:चीन का इतिहास/doc
यह प्रलेखन उपपृष्ठ साँचा:चीन का इतिहास के लिए है। इसमें उपयोग विधि की जानकारी, श्रेणियाँ और वह वस्तुएँ हैं जो कि असली साँचा के पृष्ठ पर नही हैं। |
Usage
संपादित करेंCollapsible lists
संपादित करेंThis template includes collapsible lists.
- To set it to display all lists when it appears (i.e. all lists expanded), use:
-
{{चीन का इतिहास/doc |expanded=all}}
or, if enabled,{{चीन का इतिहास/doc |all}}
(i.e. omitting "expanded=
").
- To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
-
{{चीन का इतिहास/doc |expanded=listname}}
or, if enabled,{{चीन का इतिहास/doc |listname}}
- …where listname is one of the following (do not include any quotemarks):
ancient, imperial, modern, related
BC, AD, BCE, CE
संपादित करें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.
Other parameters
संपादित करेंstate - autocollapse, uncollapsed, collapsed
: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.
See also
संपादित करेंसाँचा:History of Asia templates