Difference between revisions of "Template:Current MKs"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
m (Redirect bypass from Shlomo Karhi to Shlomo Karai using popups)
imported>Paine Ellsworth
(convert to /doc page + update state= parameter + fmt)
Line 2: Line 2:
 
| name  = Current MKs
 
| name  = Current MKs
 
| title = [[List of members of the twenty-first Knesset|Current members]] of the [[Knesset]]
 
| title = [[List of members of the twenty-first Knesset|Current members]] of the [[Knesset]]
| state = {{{state|<includeonly>collapsed</includeonly><noinclude>expanded</noinclude>}}}
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| listclass = hlist
 
| listclass = hlist
  
Line 163: Line 163:
 
|list14 =
 
|list14 =
 
*[[Eli Ben-Dahan|Ben-Dahan]]
 
*[[Eli Ben-Dahan|Ben-Dahan]]
 
  
 
}}<noinclude>
 
}}<noinclude>
<br/>{{collapsible option}}
+
{{Documentation}}
 
 
*To use British spelling ("Labour"), use <kbd><nowiki>{{Current MKs|spelling=GB}}</nowiki></kbd>.
 
 
 
== See also ==
 
* {{Tl|Current government of Israel}}
 
* {{Tl|Knesset members}}
 
 
 
[[Category:Knesset templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 22:49, 7 July 2019

Initial visibility: currently defaults to collapsed

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

  • |state=collapsed: {{Current MKs|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Current MKs|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Current MKs|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 collapsed.

Notes on the way the list is set up

  1. Knesset factions are listed in descending order by number of members.
  2. Members in each faction are to be listed in the order from the election lists.
  3. Generally, only the last name is displayed. If there are multiple MKs with the same last name, use the first name to distinguish. The names should be spelled as they are in the titles of the articles on the respective MKs.

See also