Template:Infobox president

 President_of_the_United_States.png President of the United States Personal details Family 

Description
The CSS styling is stored in MediaWiki:Wikia.css .portable-infobox.pi-theme-Democratic { background:#f9f9f9; border: 1px solid #aaa; } .pi-theme-Democratic .pi-title { background:#34AAE0; color:white; font-weight:bolder; text-align:center; } .pi-theme-Democratic .pi-header { background:#34AAE0; color:white; text-align:center; } .pi-theme-Democratic .pi-border-color { border:none; } .portable-infobox.pi-theme-Republican { background:#f9f9f9; border: 1px solid #aaa; } .pi-theme-Republican .pi-title { background:#FF3333; color:white; font-weight:bolder; text-align:center; } .pi-theme-Republican .pi-header { background:#FF3333; color:white; text-align:center; } .pi-theme-Republican .pi-border-color { border:none; } .portable-infobox.pi-theme-Independent { background:#f9f9f9; border: 1px solid #aaa; } .pi-theme-Independent .pi-title { background:#aaa; color:white; font-weight:bolder; text-align:center; } .pi-theme-Independent .pi-header { background:#aaa; color:white; text-align:center; } .pi-theme-Independent .pi-border-color { border:none; } .portable-infobox.pi-theme-Democratic-Republican { background:#f9f9f9; border: 1px solid #aaa; } .pi-theme-Democratic-Republican .pi-title { background:rgb(0, 128, 0); color:white; font-weight:bolder; text-align:center; } .pi-theme-Democratic-Republican .pi-header { background:rgb(0, 128, 0); color:white; text-align:center; } .pi-theme-Democratic-Republican .pi-border-color { border:none; }

To use this template, copy the following code and fill in the appropriate fields. sets header background color.

Example
Results in...