Jump to content

Template:Political party: Difference between revisions

From nUSA Wiki
No edit summary
No edit summary
Line 27: Line 27:
     <group class="infobox-group collapsible">
     <group class="infobox-group collapsible">
         <header class="infobox-header">Legislative Seats</header>
         <header class="infobox-header">Legislative Seats</header>
       
        <data source="senate"><label>Senate</label></data>
        <data source="senate_seats"><label>Number of Seats</label></data>


         <!-- Use divs for layout instead of tables -->
         <data source="house"><label>House of Representatives</label></data>
        <div style="display: flex; justify-content: space-between;">
        <data source="house_seats"><label>Number of Seats</label></data>
            <div style="flex: 1;"><label>Senate</label></div>
            <div style="flex: 1; text-align: right;"><data source="senate">1</data></div>
        </div>
       
        <div style="display: flex; justify-content: space-between;">
            <div style="flex: 1;"><label>House of Representatives</label></div>
            <div style="flex: 1; text-align: right;"><data source="house">1</data></div>
        </div>


         <div style="display: flex; justify-content: space-between;">
         <data source="governors"><label>State Governors</label></data>
            <div style="flex: 1;"><label>State Governors</label></div>
        <data source="governors_seats"><label>Number of Governors</label></data>
            <div style="flex: 1; text-align: right;"><data source="governors">1</data></div>
        </div>


     </group>
     </group>

Revision as of 01:49, 14 January 2025