Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character Infobox: Difference between revisions

Template page
No edit summary
Replaced content with "<table class="infobox"> <caption><!-- character name goes here --></caption> <tr> <td><!-- image goes here --></td> </tr> </table>"
Tag: Replaced
Line 1: Line 1:
<includeonly><!--
<table class="infobox">
 
  <caption><!-- character name goes here --></caption>
Template
  <tr>
--------
    <td><!-- image goes here --></td>
TODO: Switch born and died dates Template:SDA
  </tr>
-->{{InfoboxNeue
</table>
|title = {{{Name}}}
|subtitle = {{#if:{{{Role|}}}|{{{Role}}}}}
|image = {{{Image|}}}
|label1 = Race
|content1 = {{#if:{{{Race|}}}|[[{{{Race}}}]]}}
|label2 = Gender
|content2 = {{#if:{{{Gender|}}}|[[:Category:{{{Gender}}} Characters|{{{Gender}}}]]}}
|label3 = Born
|content3 = {{#if:{{{Born|}}}|{{{Born}}}}}
|label4 = Died
|content4 = {{#if:{{{Died|}}}|{{{Died}}}}}
|label5 = Faction
|content5 = {{#if:{{{Faction|}}}|[[:Category:{{{Faction}}} Faction Characters|{{{Faction}}}]]}}
|label6 = Citizenship
|content6 = {{#if:{{{Citizenship|}}}|{{{Citizenship}}}}}
|label7 = Organization
|content7 = {{#if:{{{Organization|}}}|[[:Category:{{{Organization}}} Characters|{{{Organization}}}]]}}
|label8 = Actor
|content8 = {{#if:{{{Actor|}}}|{{{Actor}}}}}
<!-- Occupation -->
|section9 = {{#if:{{{Occupation|}}}|Occupation}}
|label10 = Occupation
|content10 = {{#if:{{{Occupation|}}}|{{{Occupation}}}}}
|label11 = Employer
|content11 = {{#if:{{{Employer|}}}|{{{Employer}}}}}
|label12 = Job title
|content12 = {{#if:{{{Job Title|}}}|{{{Job Title}}}}}
|label13 = Workplace
|content13 = {{#if:{{{Workplace|}}}|{{{Workplace}}}}}
<!-- Military service -->
|section14 = {{#if:{{{Rank|}}}|Military service}}
|label15 = Rank
|content15 = {{#if:{{{Rank|}}}|{{{Rank}}}}}
|label16 = Callsign
|content16 = {{#if:{{{Callsign|}}}|{{{Callsign}}}}}
|label17 = Branch
|content17 = {{#if:{{{Branch|}}}|[[{{{Branch}}}]]}}
|label18 = Unit
|content18 = {{#if:{{{Unit|}}}|[[{{{Unit}}}]]}}
|label19 = Years of service
|content19 = {{#if:{{{Service Start|}}}|{{{Service Start}}} - {{#if:{{{Service End|}}}|{{{Service End}}}|Present}}}}
<!-- Political office -->
|section20 = {{#if:{{{Office|}}}|Political office}}
|label21 = Office
|content21 = {{#if:{{{Office|}}}|[[{{{Office}}}]]}}
|label22 = Years Held
|content22 = {{#if:{{{Office Start|}}}|{{{Office Start}}} - {{#if:{{{Office End|}}}|{{{Office End}}}|Present}}}}
|label23 = Party
|content23 = {{#if:{{{Party|}}}|[[{{{Party}}}]]}}
|label24 = Constituency
|content24 = {{#if:{{{Constituency|}}}|[[{{{Constituency}}}]]}}
|label25 = System
|content25 = {{#if:{{{System|}}}|[[{{{System}}}]]}}
}}<!--
 
Category
--------
TODO: Switch category names to sentence case
-->{{#ifeq:{{NAMESPACENUMBER}}|0|<!--
-->[[Category:Characters]]<!--
-->{{#if:{{{Race|}}}|[[Category:{{{Race}}} Characters]]}}<!--
-->{{#if:{{{Gender|}}}|[[Category:{{{Gender}}} Characters]]}}<!--
-->{{#if:{{{Died|}}}|[[Category:Deceased  Characters]]|[[Category:Living Characters]]}}<!--
-->{{#if:{{{Faction|}}}|[[Category:{{{Faction}}} Faction Characters]]}}<!--
-->{{#if:{{{Organization|}}}|[[Category:{{{Organization}}} Characters]]}}<!--
-->{{#if:{{{Rank|}}}|[[Category:Military Characters]]}}<!--
-->{{#if:{{{Branch|}}}|[[Category:{{{Branch}}} Characters]]}}<!--
-->{{#ifeq:{{{Service End}}}|Present|[[Category:Active Duty Military Characters]]}}<!--
-->{{#if:{{{Office|}}}|[[Category:{{#invoke:pluralize|pluralize|{{{Office}}}}}]]}}<!--
-->{{#ifeq:{{{Office End}}}|Present|[[Category:Active Political Office Holders]]}}<!--
-->{{#if:{{{Party|}}}|[[Category:{{{Party}}}s]]}}<!--
-->}}<!--
 
Short description
-----------------
 
-->{{Short description|{{#if:{{{Role|}}}|{{Link capture|{{{Role}}}}}|Character in Star Citizen}}}}<!--
 
--></includeonly><!--
 
Documentation
-------------
--><noinclude>[[Category:Infobox Templates]]{{/doc}}</noinclude>

Revision as of 14:35, 26 June 2026