Difference between revisions of "Template:Infobox cabinet members/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories where indicated at the bottom of this page, please -->
 
<!-- Categories where indicated at the bottom of this page, please -->
{{notice|This template is a meta-template, like {{tl|infobox}}, used for formatting other templates. It is not intended to be directly transcluded in articles.}}
+
{{notice|This template is a [[Help:Metatemplating|meta-template]], like {{tl|infobox}}, used for generating other templates. It is not intended to be directly transcluded in articles.}}
 
{{Generic template demo
 
{{Generic template demo
 
  |above |topimage |topcaption |image |caption |party_column=true |name_style=font-weight:bold;
 
  |above |topimage |topcaption |image |caption |party_column=true |name_style=font-weight:bold;

Revision as of 00:10, 20 December 2014

  1. redirect Template:Parameter names example

Basic

{{Infobox cabinet
| above =

| office1 =
| name1a =
| term1a =

| office2 =
| name2a = 
| term2a =

| office3 =
| name3a = 
| term3a =

...

| office33 =
| name33a = 
| term33a =

| below =
}}

Basic with party

{{Infobox cabinet
| above =
| party_column = true

| office1 =
| name1a =
| party1a = 
| term1a =

| office2 =
| name2a = 
| party2a = 
| term2a =

| office3 =
| name3a = 
| party3a = 
| term3a =

...

| office33 =
| name33a = 
| party33a =
| term33a =

| below =
}}

Multiple names per office

{{Infobox cabinet
| above =

| office1 =
| name1a =
| term1a =
| name1b =
| term1b =
| name1c =
| term1c =
| name1d =
| term1d =
| name1e =
| term1e =

| office2 =
| name2a =
| term2a =
| name2b =
| term2b =
| name2c =
| term2c =
| name2d =
| term2d =
| name2e =
| term2e =

...
| office33 =
| name33a =
| term33a =
| name33b =
| term33b =
| name33c =
| term33c =
| name33d =
| term33d =
| name33e =
| term33e =

| below =
}}

Multiple names per office with party

{{Infobox cabinet
| above =
| party_column = true

| office1 =
| name1a =
| party1a =
| term1a =
| name1b =
| party1b =
| term1b =
| name1c =
| party1c =
| term1c =
| name1d =
| party1d =
| term1d =
| name1e =
| party1e =
| term1e =

| office2 =
| name2a =
| party2a =
| term2a =
| name2b =
| party2b =
| term2b =
| name2c =
| party2c =
| term2c =
| name2d =
| party2d =
| term2d =
| name2e =
| party2e =
| term2e =

...
| office33 =
| name33a =
| party33a =
| term33a =
| name33b =
| party33b =
| term33b =
| name33c =
| party33c =
| term33c =
| name33d =
| party33d =
| term33d =
| name33e =
| party33e =
| term33e =

| below =
}}

Float behavior

The default is for the infobox to float to the right of the page. To float the infobox to the left, use

| float = left

To float to the center, use

| float = center

To disable floating, use

| float = none

Images

The template supports the placement of images in two different locations. For an image above the above line, use

| topimage = 
| topcaption =

For an image below the above line, use

| image = 
| caption =

Color and styling

To use a normal font for the officeholder names, add

| name_style = font-weight:normal

To change the border color for the first line, use

| border_color1 = #000000

To remove the border for the second line, use

| border_color2 = none

To remove the border color for the 33rd line, use

| border_color33 = transparent

To change the styling of the above line, use

| abovestyle = 

Heading labels

To override the default heading labels, use

| office_label = 
| name_label = 
| party_label =
| term_label =

See also