Jump to content

Template:PrisonInfobox: Difference between revisions

From Prisonpedia
Create PrisonInfobox template
 
Update PrisonInfobox to full-width 3-column layout
Line 1: Line 1:
<div style="border: 1px solid #a7d7f9; background-color: #f9f9f9; padding: 10px; margin: 10px 0; width: 300px; float: right; clear: right;">
<div style="width: 100%; margin: 10px 0; border: 1px solid #a7d7f9; background-color: #f9f9f9; padding: 15px; box-sizing: border-box;">
{| class="infobox"
<div style="display: flex; justify-content: space-around; text-align: center;">
|-
<div style="flex: 1; padding: 10px;">
! colspan="2" style="background-color: #a7d7f9; text-align: center; font-weight: bold; padding: 5px;" | Institution Information
<div style="font-size: 24px; font-weight: bold; margin-bottom: 5px;">{{{gender|}}}</div>
|-
<div style="font-size: 14px; color: #666;">Gender</div>
! Gender
</div>
| {{{gender|}}}
<div style="flex: 1; padding: 10px; border-left: 1px solid #ddd; border-right: 1px solid #ddd;">
|-
<div style="font-size: 24px; font-weight: bold; margin-bottom: 5px;">{{{security_level|}}}</div>
! Security Level
<div style="font-size: 14px; color: #666;">Security Level</div>
| {{{security_level|}}}
</div>
|-
<div style="flex: 1; padding: 10px;">
! Population
<div style="font-size: 24px; font-weight: bold; margin-bottom: 5px;">{{{population|}}}</div>
| {{{population|}}}
<div style="font-size: 14px; color: #666;">Population (Nov. 2025)</div>
|}
</div>
</div>
</div>
</div>
<includeonly></includeonly>
<includeonly></includeonly>

Revision as of 22:22, 16 November 2025

Gender
Security Level
Population (Nov. 2025)


Template:Documentation