|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{#vardefine:character_name|{{{name|}}}}}
| | <includeonly> |
| {{#vardefine:character_party|{{{party|}}}}}
| | {| class="infobox" style="float: right; width: 300px; margin: 0 0 15px 15px;" |
| {{#vardefine:character_office|{{{office|None}}}}} | | |- |
| {{#vardefine:character_state|{{{state|}}}}}
| | ! colspan="2" style="text-align: center; font-size: 1.2em;" | {{{name}}} |
| {{#vardefine:character_terms|{{{terms|0}}}}}
| |
| {{#vardefine:character_influence|{{{influence|50}}}}}
| |
| | |
| <div class="character-infobox" style="float: right; width: 300px; border: 1px solid var(--border-color-base, #ccc); padding: 10px; margin: 0 0 10px 10px; background: var(--background-color-neutral-subtle, #f9f9f9); color: var(--color-base, #000);">
| |
| | |
| === {{#var:character_name}} ===
| |
| | |
| {| class="wikitable character-table" style="width: 100%;"
| |
| |- | | |- |
| ! colspan="2" class="character-header" | Character Information | | ! colspan="2" style="text-align: center; background: rgba(0,0,0,0.1);" | Character Information |
| |- | | |- |
| | '''Full Name''' || {{#var:character_name}} | | | '''Full Name''' || {{{name}}} |
| |- | | |- |
| | '''Political Party''' || [[Party:{{#var:character_party}}|{{#var:character_party}}]] | | | '''Political Party''' || [[Party:{{{party}}}|{{{party}}}]] |
| |- | | |- |
| | '''Current Office''' || {{#var:character_office}} | | | '''Current Office''' || {{{office|None}}} |
| |- | | |- |
| | '''State/District''' || {{#var:character_state}} | | | '''State/District''' || {{{state|Unknown}}} |
| |- | | |- |
| | '''Terms Served''' || {{#var:character_terms}} | | | '''Terms Served''' || {{{terms|0}}} |
| |- | | |- |
| | '''Influence Score''' || {{#var:character_influence}}/100 | | | '''Influence Score''' || {{{influence|50}}}/100 |
| |- | | |- |
| | '''Status''' || {{{status|Active}}} | | | '''Status''' || {{{status|Active}}} |
| |} | | |} |
|
| |
|
| {{#if:{{{image|}}}|[[File:{{{image}}}|250px|center]]}} | | '''{{{name}}}''' is a {{{party}}} politician {{#if:{{{office|}}}|serving as {{{office}}}|currently not holding office}}{{#if:{{{state|}}}| representing {{{state}}}}}. |
| | |
| </div>
| |
| | |
| '''{{#var:character_name}}''' is a {{{party}}} politician {{{office|currently not holding office}}} {{#if:{{{state|}}}|representing {{{state}}}}}.
| |
|
| |
|
| == Biography == | | == Biography == |
Line 50: |
Line 38: |
| {{{relationships|''Political relationships and alliances to be documented.''}}} | | {{{relationships|''Political relationships and alliances to be documented.''}}} |
|
| |
|
| | {{#if:{{{notes|}}}| |
| == Notes == | | == Notes == |
| {{{notes|}}} | | {{{notes}}} |
| | }} |
|
| |
|
| <!-- Semantic MediaWiki Properties --> | | <!-- Semantic MediaWiki Properties --> |
| [[Has party::{{{party}}}]] | | [[Has party::{{{party}}}]] |
| [[Has office::{{{office|None}}}]] | | [[Has office::{{{office|None}}}]] |
| [[Has state::{{{state}}}]] | | [[Has state::{{{state|Unknown}}}]] |
| [[Has terms::{{{terms|0}}}]] | | [[Has terms::{{{terms|0}}}]] |
| [[Has influence::{{{influence|50}}}]] | | [[Has influence::{{{influence|50}}}]] |
Line 67: |
Line 57: |
| {{#if:{{{state|}}}|[[Category:{{{state}}} Politicians]]}} | | {{#if:{{{state|}}}|[[Category:{{{state}}} Politicians]]}} |
|
| |
|
| <!-- CSS for dark mode support --> | | </includeonly> |
| <style>
| |
| .character-infobox {
| |
| float: right;
| |
| width: 300px;
| |
| border: 1px solid var(--border-color-base, #ccc);
| |
| padding: 10px;
| |
| margin: 0 0 10px 10px;
| |
| background: var(--background-color-neutral-subtle, #f9f9f9);
| |
| color: var(--color-base, #000);
| |
| border-radius: 4px;
| |
| }
| |
| | |
| @media (prefers-color-scheme: dark) {
| |
| .character-infobox {
| |
| background: var(--background-color-neutral-subtle, #2a2a2a);
| |
| border-color: var(--border-color-base, #555);
| |
| color: var(--color-base, #fff);
| |
| }
| |
| }
| |
| | |
| /* Citizen skin dark mode variables */ | |
| .skin-citizen-dark .character-infobox {
| |
| background: var(--background-color-neutral-subtle, #2a2a2a);
| |
| border-color: var(--border-color-base, #555);
| |
| color: var(--color-base, #fff);
| |
| }
| |
| | |
| .character-infobox .wikitable {
| |
| background: transparent !important;
| |
| color: inherit !important;
| |
| }
| |
| | |
| .character-infobox .wikitable th {
| |
| background: var(--background-color-neutral, rgba(255,255,255,0.1)) !important;
| |
| color: inherit !important;
| |
| }
| |
| | |
| .skin-citizen-dark .character-infobox .wikitable th {
| |
| background: var(--background-color-neutral, rgba(255,255,255,0.1)) !important;
| |
| }
| |
| </style>
| |
| | |
| <noinclude>
| |
| == Template Usage ==
| |
| Copy and paste this template onto character pages:
| |
| | |
| <pre>
| |
| {{Character
| |
| |name=Full Name
| |
| |party=Political Party Name
| |
| |office=Current Office (Senator, Representative, Governor, etc.)
| |
| |state=State or District
| |
| |terms=Number of terms served
| |
| |influence=Influence score (1-100)
| |
| |status=Active/Retired/Deceased
| |
| |image=filename.jpg (optional)
| |
| |biography=Character background and history
| |
| |positions=Key political positions and ideology
| |
| |record=Notable bills sponsored or voted on
| |
| |elections=Electoral history and campaigns
| |
| |relationships=Political allies and rivals
| |
| |notes=Additional notes
| |
| }}
| |
| </pre>
| |
| | |
| == Example ==
| |
| {{Character
| |
| |name=Sarah Mitchell
| |
| |party=Progressive Alliance
| |
| |office=Senator
| |
| |state=New California
| |
| |terms=2
| |
| |influence=75
| |
| |status=Active
| |
| |biography=Born in 2045, Senator Mitchell grew up during the Climate Transition era and has been a leading voice on environmental policy.
| |
| |positions=Supports universal basic income, renewable energy expansion, and democratic socialism.
| |
| |record=Sponsored the Clean Energy Acceleration Act of 2079.
| |
| |elections=Won senate seat in 2076 with 58% of the vote, re-elected in 2082 with 62%.
| |
| |relationships=Close ally of Governor Chen, frequent sparring partner with Senator Rodriguez.
| |
| }}
| |
| </noinclude>
| |