Difference between revisions of "Template:History of Armenia/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kentronhayastan
(Colors make no more sense because most of the titles are links.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
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 nation navigational boxes|Armenia]]
 
[[Category:History by nation navigational boxes|Armenia]]
Line 43: Line 43:
 
[[Category:European history by nation navigational boxes|Armenia]]
 
[[Category:European history by nation navigational boxes|Armenia]]
 
[[Category:"Part of a series on" sidebar templates]]
 
[[Category:"Part of a series on" sidebar templates]]
</includeonly>
+
}}</includeonly>

Revision as of 16:53, 25 April 2020

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