Template:Parliament diagram/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Category:Politics and government templates)  | 
				m (1 revision imported)  | 
				||
(No difference) 
 | |||
Latest revision as of 19:59, 6 November 2024
Arguments
| File:Lua-Logo.svg | This template uses Lua: | 
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
- Width
 - Width in pixels of the created image; the corresponding height is calculated automatically. Predefined values: 1–28 seats, 280px; 29–100 seats, 300px; over 101 seats, 350px.
 - Height
 - Height in pixels of the created image, the width is calculated automatically. The parameter is ignored if width is defined.
 - Show
 - If value of 1, the summary data of seats is shown (colored box & number); if value of 2 a list with colored box, party name, and number is shown; dafault value is 0.
 - Background
 - Defines the background color using a hex color.
 - n1, n2, ...
 - Number of seats of each group or party
 - c1, c2, ...
 - Color of the seats for each group or party, indicated as a hex color (3- or 6-digits). Predefined value: #CCC.
 - p1, p2, ...
 - Name of the party to use the Module:Political party template (automatic loading of the color)
 - b1, b2, ...
 - Eventual color of the circle borders
 
Use examples
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
<syntaxhighlight lang="wikitext">
</syntaxhighlight>