Template:Person of interest
(Redirected from Template:CanPMinfobox)
Jump to navigation
Jump to search
[edit] [ ] Template documentation
This infobox template was created for Canadian prime ministers but it can be used for any biography.
There are 4 required fields (rank
, successor
, birth
, birthplace
and party
), 6 optional fields (name
, image
, imagesize
, predecessor
, death
and spouse
), and 5 optional fields with custom labels (addl_field_1
through addl_field_5
; as the labels are not predefined, if additional custom fields are set the labels will need to be defined as well, by filling in addl_field_1_label
through addl_field_5_label
as needed). name
will default to the name of the page if not set.
Example usage with all fields defined:
{{CanPMinfobox |name=Hamster Wheel |image=Example.jpg |imagesize=200px |rank=Foo |predecessor=Bar |successor=Baz |birth=17 Qux 6759 |death=90 Mouse 6830 |birthplace=Erewhon |spouse=Your mum |party=[[PARTY HARD]] |addl_field_1_label=Father |addl_field_1 = Darth Vader |addl_field_2_label = Username |addl_field_2 = micearecool |addl_field_3_label = Sockpuppet |addl_field_3 = You |addl_field_4_label = Language |addl_field_4 = Welsh |addl_field_5_label = Mouse |addl_field_5 = Cat }}
And the result:
Rank | Foo |
---|---|
Predecessor | Bar |
Successor | Baz |
Date of Birth | 17 Qux 6759 |
Date of Death | 90 Mouse 6830 |
Place of Birth | Erewhon |
Spouse | Your mum |
Political party | PARTY HARD |
Father | Darth Vader |
Username | micearecool |
Sockpuppet | You |
Language | Welsh |
Mouse | Cat |