Difference between revisions of "Template:History of Armenia/doc"
imported>Funandtrvl (add category) |
imported>Good Olfactory (Europe history sidebar templates by country) |
||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
=== Design guideline === | === Design guideline === | ||
| − | The template has a standard design guideline to organize articles with a parent/child relationship consistently. | + | The template has a standard design guideline to organize articles with a parent/child relationship consistently. |
| − | * '''Age''' ( | + | * '''Age''' (centered, bold, collapsible) |
| − | * '''Period''' ( | + | * '''Period''' (left-aligned, bold) |
| − | * '''Primary article''' ( | + | * '''Primary article''' (left-aligned, bold) – usually refers to a state |
| − | * Sub-article ( | + | * Sub-article (left-aligned) – usually refers to a dynasty or an event |
| − | * Sub-article 2 ( | + | * Sub-article 2 (left-aligned) |
Dates can be added to the ''Primary Article'' and the ''Sub-articles'', and are gray, right-aligned and small. | Dates can be added to the ''Primary Article'' and the ''Sub-articles'', and are gray, right-aligned and small. | ||
| Line 37: | Line 37: | ||
{{History of Europe templates}} | {{History of Europe templates}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- PLEASE ADD CATEGORIES HERE --> | <!-- PLEASE ADD CATEGORIES HERE --> | ||
| − | [[Category:History by | + | [[Category:History sidebar templates by country|Armenia]] |
| + | [[Category:Armenia sidebar templates]] | ||
[[Category:Armenia history templates| ]] | [[Category:Armenia history templates| ]] | ||
| − | [[Category: | + | [[Category:Europe history sidebar templates by country|Armenia]] |
| − | + | }}</includeonly> | |
| − | </includeonly> | ||
Latest revision as of 23:00, 5 November 2020
| This is a documentation subpage for Template:History of Armenia. It contains usage information, categories and other content that is not part of the original template page. |
| Template:Region history sidebar title |
|---|
| Timeline |
Usage
Design guideline
The template has a standard design guideline to organize articles with a parent/child relationship consistently.
- Age (centered, bold, collapsible)
- Period (left-aligned, bold)
- Primary article (left-aligned, bold) – usually refers to a state
- Sub-article (left-aligned) – usually refers to a dynasty or an event
- Sub-article 2 (left-aligned)
Dates can be added to the Primary Article and the Sub-articles, and are gray, right-aligned and small.
BC/BCE or AD/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 Armenia}} will give BCE/CE notation, {{History of Armenia|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.
Collapsable list option
This template is a sidebar with collapsible lists. By default, all lists are collapsed.
To show all lists expanded, use {{History of Armenia|expanded=all}}.
To show one particular list expanded while the others remain collapsed, use {{History of Armenia|expanded=ageN}} where N represents an age (for example, the list named Antiquity is age2). The names can be changed in the template by editing the listNname tag.
This option can be used with the previous BCE/BC or CE/AD feature like this: {{History of Armenia|expanded=age1|BC=1}}.
See also