Difference between revisions of "Template:Infobox person"

From Powerbase
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| class="infobox" style="width:22em; border:1px solid #aaa; background:#f9f9f9; text-align:left; font-size:90%;"
+
{| class="infobox" style="width:22em; float:right; clear:right; margin:0 0 1em 1em; border:1px solid #aaa; background:#f9f9f9; text-align:left; font-size:90%;"
 
|-
 
|-
| colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" | {{{name|{{PAGENAME}}}}}
+
| colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#B0C4DE;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
{{#if:{{{image|}}}|
 
{{#if:{{{image|}}}|
 
|-
 
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|{{{image_size|250px}}}|alt={{{alt|}}}|{{{caption|}}}]]
+
| colspan="2" style="text-align:center;" | [[File:{{{image|}}}|{{{image_size|250px}}}|alt={{{alt|}}}|{{{caption|}}}]]
 
}}
 
}}
 
|-
 
|-
! Born
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Born
 
| {{{birth_date|}}} {{{birth_place|}}}
 
| {{{birth_date|}}} {{{birth_place|}}}
 
|-
 
|-
! Occupation
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Occupation
 
| {{{occupation|}}}
 
| {{{occupation|}}}
 
|-
 
|-
! Known for
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Known for
 
| {{{known_for|}}}
 
| {{{known_for|}}}
 
|-
 
|-
! style="vertical-align:top;" | Website
+
! style="text-align:right; vertical-align:top; padding-right:0.5em;" | Website
 
| {{{website|}}}
 
| {{{website|}}}
 
|}
 
|}
</includeonly><noinclude>
+
</includeonly>
This is a basic infobox for persons on Powerbase, especially revolving door / lobbying figures.
+
<noinclude>
 
+
... (keep or add your documentation here)
== Usage example ==
+
</noinclude>
{{Infobox person
 
| name = Benjamin Wegg-Prosser
 
| birth_date = {{birth date and age|1974|6|11}}
 
| occupation = Consultant and political adviser
 
| known_for = CEO and co-founder of [[Global Counsel]]; former adviser to [[Tony Blair]] and [[Peter Mandelson]]
 
}}
 
  
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
 
</noinclude>
 
</noinclude>

Revision as of 10:40, 5 February 2026


... (keep or add your documentation here)