Difference between revisions of "Template:Iran topics"

From blackwiki
Jump to navigation Jump to search
imported>Wario-Man
m (formatting: 49x HTML entity (using Advisor.js))
imported>Wario-Man
m (formatting: 5x nbsp-dash (using Advisor.js))
Line 41: Line 41:
 
   {{Navbox |child |groupstyle=font-weight:normal;font-size:85%;
 
   {{Navbox |child |groupstyle=font-weight:normal;font-size:85%;
 
     | groupwidth = 8.8em <!--should match other sect1 sub-groupname widths generated-->
 
     | groupwidth = 8.8em <!--should match other sect1 sub-groupname widths generated-->
     | group1 = 637 – 1055
+
     | group1 = 637&nbsp;– 1055
 
     | list1 =
 
     | list1 =
 
* [[Islamic conquest of Persia|Patriarchal {{nowrap|Caliphate {{small|(637–651)}}}}]]
 
* [[Islamic conquest of Persia|Patriarchal {{nowrap|Caliphate {{small|(637–651)}}}}]]
Line 52: Line 52:
 
* [[Ziyarid|Ziyarid {{nowrap|dynasty {{small|(928–1043)}}}}]]
 
* [[Ziyarid|Ziyarid {{nowrap|dynasty {{small|(928–1043)}}}}]]
 
* [[Buyid dynasty|Buyid {{nowrap|dynasty {{small|(934–1055)}}}}]]
 
* [[Buyid dynasty|Buyid {{nowrap|dynasty {{small|(934–1055)}}}}]]
     | group2 = 975 – 1432
+
     | group2 = 975&nbsp;– 1432
 
     | list2 =
 
     | list2 =
 
* [[Ghaznavids|Ghaznavid {{nowrap|Empire {{small|(975–1187)}}}}]]
 
* [[Ghaznavids|Ghaznavid {{nowrap|Empire {{small|(975–1187)}}}}]]
Line 63: Line 63:
 
* [[Chupanids|Chupanid {{nowrap|dynasty {{small|(1337–1357)}}}}]]
 
* [[Chupanids|Chupanid {{nowrap|dynasty {{small|(1337–1357)}}}}]]
 
* [[Jalayirids|Jalayerid {{nowrap|dynasty {{small|(1339–1432)}}}}]]
 
* [[Jalayirids|Jalayerid {{nowrap|dynasty {{small|(1339–1432)}}}}]]
     | group3 = 1370 – 1925
+
     | group3 = 1370&nbsp;– 1925
 
     | list3 =
 
     | list3 =
 
* [[Timurid dynasty|Timurid {{nowrap|Empire {{small|(1370–1506)}}}}]]
 
* [[Timurid dynasty|Timurid {{nowrap|Empire {{small|(1370–1506)}}}}]]
 
* [[Kara Koyunlu|Qara Qoyunlu {{nowrap|Turcomans {{small|(1375–1468)}}}}]]
 
* [[Kara Koyunlu|Qara Qoyunlu {{nowrap|Turcomans {{small|(1375–1468)}}}}]]
 
* [[Ak Koyunlu|Aq Qoyunlu {{nowrap|Turcomans {{small|(1378–1508)}}}}]]
 
* [[Ak Koyunlu|Aq Qoyunlu {{nowrap|Turcomans {{small|(1378–1508)}}}}]]
* [[Safavid dynasty|Safavid {{nowrap|Empire {{small|(1501 – 1722 / 1736)}}}}]]
+
* [[Safavid dynasty|Safavid {{nowrap|Empire {{small|(1501&nbsp;– 1722 / 1736)}}}}]]
 
* [[Hotaki dynasty|Hotaki {{nowrap|dynasty {{small|(1722–1729)}}}}]]
 
* [[Hotaki dynasty|Hotaki {{nowrap|dynasty {{small|(1722–1729)}}}}]]
 
* [[Afsharid dynasty|Afsharid {{nowrap|dynasty {{small|(1736–1750)}}}}]]
 
* [[Afsharid dynasty|Afsharid {{nowrap|dynasty {{small|(1736–1750)}}}}]]
Line 79: Line 79:
 
   | list3 =
 
   | list3 =
 
   {{Navbox |child |groupstyle=font-weight:normal;
 
   {{Navbox |child |groupstyle=font-weight:normal;
     | group1 = {{small|1925 – 1979}}
+
     | group1 = {{small|1925&nbsp;– 1979}}
 
     | list1 =
 
     | list1 =
 
* [[Pahlavi dynasty|Pahlavi {{nowrap|dynasty {{small|(1925–1979)}}}}]]
 
* [[Pahlavi dynasty|Pahlavi {{nowrap|dynasty {{small|(1925–1979)}}}}]]

Revision as of 17:38, 2 January 2014

Template:Navbox with collapsible sections


Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Iran topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Iran topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Iran topics|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Iran topics |expanded=all}} or, if enabled, {{Iran topics |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:
  •  {{Iran topics |expanded=listname}} or, if enabled, {{Iran topics |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "History", "Geography", "Politics", "Economy", "Society"
  • For example, {{Iran topics |expanded=Politics}} or, if enabled, {{Iran topics |Politics}}