Jump to content

Template:Political party: Difference between revisions

From nUSA Wiki
No edit summary
No edit summary
Line 5: Line 5:
     <group class="infobox-group">
     <group class="infobox-group">
         <data source="founder"><label>Founder</label></data>
         <data source="founder"><label>Founder</label></data>
         <data source="founded"><label>Year Founded</label></data>
         <data source="founded">
            <label>Year Founded</label>
            {{#invoke:TimeAgo|timeAgo|{{{founded}}}}}
        </data>
         <data source="headquarters"><label>Headquarters</label></data>
         <data source="headquarters"><label>Headquarters</label></data>
         <data source="ideology"><label>Political Ideology</label></data>
         <data source="ideology"><label>Political Ideology</label></data>
Line 11: Line 14:
         <data source="international"><label>International Affiliation</label></data>
         <data source="international"><label>International Affiliation</label></data>
         <data source="colors">
         <data source="colors">
    <label>Party Colors</label>
            <label>Party Colors</label>
    <div style="width: 50px; height: 25px; background-color: {{#ifeq:{{{colors}}}|Red|#FF0000|{{{colors}}}}};"></div>
            <div style="width: 50px; height: 25px; background-color: {{#ifeq:{{{colors}}}|Red|#FF0000|{{{colors}}}}};"></div>
</data>
        </data>
         <data source="slogan"><label>Party Slogan</label></data>
         <data source="slogan"><label>Party Slogan</label></data>
         <data source="membership"><label>Number of Members</label></data>
         <data source="membership"><label>Number of Members</label></data>
Line 28: Line 31:
     <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"><label>Senate</label></data>
         <data source="senate_current_and_total"><label>Seats (Current / Total)</label></data>
         <data source="senate_current_and_total"><label>Seats (Current / Total)</label></data>
         <data source="house"><label>House of Representatives</label></data>
         <data source="house"><label>House of Representatives</label></data>
         <data source="house_current_and_total"><label>Seats (Current / Total)</label></data>
         <data source="house_current_and_total"><label>Seats (Current / Total)</label></data>
         <data source="council"><label>D.C. City Council</label></data>
         <data source="council"><label>D.C. City Council</label></data>
         <data source="council_current_and_total"><label>D.C. City Council (Current / Total)</label></data>
         <data source="council_current_and_total"><label>D.C. City Council (Current / Total)</label></data>

Revision as of 02:29, 14 January 2025