Difference between revisions of "Template:Hezbollah/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (<pre>)
imported>Sardanaphalus
(Sidebar with collapsible lists)
Line 1: Line 1:
<!--<includeonly>-->{{Sidebar
+
<!--<includeonly>-->{{Sidebar with collapsible lists
 
| name = Hezbollah
 
| name = Hezbollah
| bodyclass = plainlist <!--collapsible <!--{{{state|{{{1|collapsed}}}}}}-->
+
| class = plainlist
 
| pretitle = Part of [[:Category:Hezbollah|a series]] on
 
| pretitle = Part of [[:Category:Hezbollah|a series]] on
 
| titleclass = navbox-title
 
| titleclass = navbox-title
| titlestyle = padding-top:0.2em<!--(otherwise too close to pretitle)-->;
+
| titlestyle = padding-top:0.2em;<!--(otherwise too close to pretitle)-->
 
| title = [[Hezbollah]]
 
| title = [[Hezbollah]]
| headingclass = navbox-abovebelow
+
| listtitlestyle = background:#ddf;<!--(otherwise titles can resemble boldened list links)--> text-align:center;<!--(to aid template's visual center/e of gravity)-->
| contentstyle = padding:<!--(otherwise too close to headings:)-->0.15em 0.25em 0.6em;
 
  
 +
| content1style = padding:0.15em 0.25em 0.5em;<!--(otherwise too close to title/listtitle)-->
 
| content1 = {{startflatlist}}
 
| content1 = {{startflatlist}}
 
* [[Ideology of Hezbollah|Ideology]]
 
* [[Ideology of Hezbollah|Ideology]]
 
* [[History of Hezbollah|History]]
 
* [[History of Hezbollah|History]]
 
* [[Flag of Hezbollah|Flag]]
 
* [[Flag of Hezbollah|Flag]]
<!--{{end\startflatlist}}-->
+
{{endflatlist}}{{startflatlist}}
 
* [[Hezbollah foreign relations|Foreign relations]]
 
* [[Hezbollah foreign relations|Foreign relations]]
 
* [[Funding of Hezbollah|Funding]]
 
* [[Funding of Hezbollah|Funding]]
 
{{endflatlist}}
 
{{endflatlist}}
  
| heading2 = [[Hezbollah political activities|Political activities]]
+
| list3name = political
| content2 =
+
| list3title = [[Hezbollah political activities|Political activities]]
 +
| list3 =
 
* [[2008 conflict in Lebanon]]
 
* [[2008 conflict in Lebanon]]
 
* [[2006–08 Lebanese political protests]]
 
* [[2006–08 Lebanese political protests]]
 
* [[Doha Agreement]]
 
* [[Doha Agreement]]
  
| heading3 = [[Hezbollah military activities|Military activities]]
+
| list4name = military
| content3 =
+
| list4title = [[Hezbollah military activities|Military activities]]
 +
| list4 =
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
   |headingstyle=background:#eaeaff;<!--(to complement main headingstyle above)--> font-weight:normal;font-style:italic;<!--(distinction from headings)-->
 
   |headingstyle=background:#eaeaff;<!--(to complement main headingstyle above)--> font-weight:normal;font-style:italic;<!--(distinction from headings)-->
   |contentstyle=padding:<!--(otherwise too close to headings:)-->0.15em 0.25em 0.6em;
+
   |contentstyle=padding:0.15em 0.25em 0.6em;<!--(as above)-->
 
   | content1 =
 
   | content1 =
* {{longlink|style=line-height:1.3em; |[[Lebanese Civil War]] {{hlist|([[1983 United States embassy bombing|1983 US Embassy bombing]]|[[War of the Camps]])}}}}
+
* {{longlink|style=line-height:1.25em; |[[Lebanese Civil War]] {{hlist|([[1983 United States embassy bombing|1983 US Embassy bombing]]|[[War of the Camps]])}}}}
* {{longlink|style=line-height:1.3em; |[[South Lebanon conflict (1982–2000)]] {{hlist|([[Operation Accountability|Operation "Accountability"]]|[[Operation Grapes of Wrath|Operation "Grapes of Wrath"]])}}}}
+
* {{longlink|style=line-height:1.25em; |[[South Lebanon conflict (1982–2000)]] {{hlist|([[Operation Accountability|Operation "Accountability"]]|[[Operation Grapes of Wrath|Operation "Grapes of Wrath"]])}}}}
 
* [[2000–06 Shebaa Farms conflict]]
 
* [[2000–06 Shebaa Farms conflict]]
 
* [[2006 Lebanon War]]
 
* [[2006 Lebanon War]]
Line 43: Line 45:
 
  }}
 
  }}
  
| heading4 = Organizations
+
| list5name = orgs
| content4 =
+
| list5title = Organizations
 +
| list5 =
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
   |headingstyle=background:#eaeaff;<!--(as above; etc)--> font-weight:normal;font-style:italic;<!--(as above; etc)-->
 
   |headingstyle=background:#eaeaff;<!--(as above; etc)--> font-weight:normal;font-style:italic;<!--(as above; etc)-->
   |contentclass=hlist
+
   |contentclass=hlist |contentstyle=padding:0.15em 0.25em 0.6em;<!--(as above; etc)-->
  |contentstyle=padding:<!--(as above; etc:)-->0.15em 0.25em 0.6em;
 
 
   | content1 =
 
   | content1 =
 
* [[Bayt al-Mal]]
 
* [[Bayt al-Mal]]
 
* [[Jihad Al Binna]]
 
* [[Jihad Al Binna]]
* {{longlink|[[Islamic Resistance Support Organization|Islamic Resistance Support<br/>Organization (IRSO)]]}}
+
* {{longitem|[[Islamic Resistance Support Organization|Islamic Resistance Support<br/>Organization (IRSO)]]}}
 
   | heading2 = Media
 
   | heading2 = Media
 
   | content2 =
 
   | content2 =
Line 59: Line 61:
 
  }}
 
  }}
  
| heading5 = People
+
| list6name = people
| content5 =
+
| list6title = People
 +
| list6 =
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
  {{Sidebar |navbar=off |bodystyle={{subsidebar bodystyle}}
 
   |headingstyle=background:#eaeaff; font-weight:normal;font-style:italic;
 
   |headingstyle=background:#eaeaff; font-weight:normal;font-style:italic;
   |contentclass=hlist
+
   |contentclass=hlist |contentstyle=padding:0.15em 0.25em 0.6em;
  |contentstyle=padding:0.15em 0.25em 0.6em;
 
 
   | heading1 = [[Secretary-General of Hezbollah|Secretaries-General]]
 
   | heading1 = [[Secretary-General of Hezbollah|Secretaries-General]]
 
   | content1 =
 
   | content1 =
Line 71: Line 73:
 
* [[Hassan Nasrallah]]
 
* [[Hassan Nasrallah]]
 
  }}
 
  }}
 +
 +
| navbarstyle = padding-top:0;
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation
 
{{Documentation
 
  | content = <pre>{{Hezbollah}}</pre>
 
  | content = <pre>{{Hezbollah}}</pre>
{{Collapsible option |statename=optional |default=collapsed}}
+
{{Collapsible lists option |listnames={{hlist|political|military|orgs|people}}}}
  
 
<pre>
 
<pre>

Revision as of 09:41, 3 November 2014

</includeonly>

Template documentation
{{Hezbollah}}

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Hezbollah |expanded=all}} or, if enabled, {{Hezbollah |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:
  •  {{Hezbollah |expanded=listname}} or, if enabled, {{Hezbollah |listname}}
  • …where listname is one of the following (do not include any quotemarks):
    • political
    • military
    • orgs
    • people
[[Category:<!--Lebanon p-->Political party templates]]
[[Category:<!--militant groups...Islamist groups...Shi'a Islam...paramilitary groups...designated terrorist groups...-->