Template:Character Infobox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
{| | |||
| | Template | ||
-------- | |||
{{#if:{{{ | TODO: Switch born and died dates Template:SDA | ||
| | -->{{InfoboxNeue | ||
| | |title = {{{Name}}} | ||
[[ | |subtitle = {{#if:{{{Role|}}}|{{{Role}}}}} | ||
{{#if:{{{ | |image = {{{Image|}}} | ||
}} | |label1 = Race | ||
|- | |content1 = {{#if:{{{Race|}}}|[[{{{Race}}}]]}} | ||
! | |label2 = Gender | ||
{{#if:{{{ | |content2 = {{#if:{{{Gender|}}}|[[:Category:{{{Gender}}} Characters|{{{Gender}}}]]}} | ||
{{#if:{{{ | |label3 = Born | ||
{{#if:{{{ | |content3 = {{#if:{{{Born|}}}|{{{Born}}}}} | ||
{{#if:{{{ | |label4 = Died | ||
{{#if:{{{ | |content4 = {{#if:{{{Died|}}}|{{{Died}}}}} | ||
|} | |label5 = Faction | ||
</includeonly> | |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:26, 26 June 2026
{{#invoke:Documentation|doc}}{{#seo: |type = website |description = Template:Character Infobox is a template page used on the Star Citizen Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = Star Citizen Wiki |locale = en }}