Template:Infobox Character: Difference between revisions

From aquila
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>{| style="float: right; width: 300px; margin: 0 0 1em 1em; border: 1px solid #1a1a1a; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"
<includeonly>{| style="float: right; width: 300px; margin: 0 0 1em 1em; border: 1px solid #1a1a1a; background-color: #f8f9fa; font-size: 88%; line-height: 1.5em; border-collapse: collapse; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"
|-
|-
<!-- MAIN TITLE HEADER (Customizable main banner background color & title text color) -->
<!-- MAIN TITLE HEADER -->
! colspan="2" style="background-color: {{{Color|{{{color|#6E473B}}}}}}; color: {{{TextColor|{{{textcolor|#ffffff}}}}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColor|#4D3129}}};" | {{{Name|{{{title|{{PAGENAME}}}}}}}}}
! colspan="2" style="background-color: {{{Color|{{{color|#6E473B}}}}}}; color: {{{TextColor|{{{textcolor|#ffffff}}}}}}; text-align: center; font-size: 125%; font-weight: bold; padding: 0.6em; border-bottom: 3px solid {{{BorderColor|#4D3129}}};" | {{{Name|{{{title|{{PAGENAME}}}}}}}}}
|-
|-


<!-- IMAGE ROW (Controls background area around your flag/logo file) -->
<!-- IMAGE ROW -->


| colspan="2" style="text-align: center; padding: 0.5em; background-color: #ffffff; border-bottom: 1px solid #a2a9b1;" | [[File:{{{Image|{{{image|Image.png}}}}}}}|280px|center]]
| colspan="2" style="text-align: center; padding: 0.5em; background-color: #ffffff; border-bottom: 1px solid #a2a9b1;" | [[File:{{{Image|{{{image|Image.png}}}}}}}|280px|center]]
|-
|-


<!-- DATA ROWS BREAKDOWN: -->
<!-- DATA ROWS BREAKDOWN -->
<!-- "background-color: #F5EFEA" controls the faint mahogany/leather tint on the left labels, change this to whatever colour you'd like -->
<!-- "border-bottom: 1px solid #e2e8f0" controls the thin divider lines between cells -->
<!-- If you want to change the text directly through source code ( u dont have to, you can just double click on normal edit mode ), only change text after the | -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; width: 40%; border-bottom: 1px solid #e2e8f0;" | Titles


Line 59: Line 56:
|-
|-


<!-- BOTTOM STATUS ROW (Controls the final row border. Players can type Status = Dead on their own character page if things go south) -->
<!-- BOTTOM STATUS ROW -->
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #1a1a1a;" | Status
! style="text-align: left; padding: 0.4em 0.6em; background-color: {{{LabelColor|#F5EFEA}}}; border-bottom: 1px solid #1a1a1a;" | Status


| style="padding: 0.4em 0.6em; font-weight: bold; color: {{#ifeq: {{lowercase: {{{Status|{{{status|Alive}}}}}} }} | dead | #e53e3e | #2f855a }}; border-bottom: 1px solid #1a1a1a;" | {{{Status|{{{status|Alive}}}}}}
| style="padding: 0.4em 0.6em; font-weight: bold; color: #2f855a; border-bottom: 1px solid #1a1a1a;" | {{{Status|{{{status|Alive}}}}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{Documentation}}</noinclude>
 
== Infobox Character ==
 
This template displays information about a character.
 
The appearance of the infobox can be customised using the <code>color</code> (or <code>Color</code>) and <code>textcolor</code> (or <code>TextColor</code>) parameters.
 
== Usage ==
 
Copy and paste:
 
<pre>
{{Infobox Character
| Color      = #6E473B
| TextColor  = #ffffff
| BorderColor = #4D3129
| LabelColor  = #F5EFEA
| Name        =
| Image      = Image.png
| Titles      =
| Race        =
| Ethnicity  =
| Gender      =
| BirthMonth  =
| BirthYear  =
| Nationality =
| Nation      =
| Occupation  =
| Religion    =
| Languages  =
| Player      =
| Status      = Alive
}}
</pre>
 
== Example ==
 
{{Infobox Character
| title = Henry Westcroft
| image = Image.png
| color = #6E473B
| textcolor = white
| religion = Vormgeloof
| gender = Male
| ethnicity = Koperdamer
| titles = Chief Artificer, Head Architect
| BirthMonth = March--April
| BirthYear = -19
| Nation = Technate of Koperdam
| status = Alive
| player = _baseplate
}}
 
== Parameters ==
 
{| class="wikitable"
! Parameter !! Description !! Example
|-
 
| Color || Hex code for the top header background colour || #6E473B
|-
 
| TextColor || Color code for the title name text || white
|-
 
| BorderColor || Hex code for the thick accent bar below the header || #4D3129
|-
 
| LabelColor || Hex code for the faint background tint on the left labels || #F5EFEA
|-
 
| Name / title || Character name displayed at the top || Arlen Voss
|-
 
| Image / image || Character image filename || Arlen.png
|-
 
| Titles / titles || Character titles or ranks || Knight Commander
|-
 
| Race || Character race || Human
|-
 
| Ethnicity / ethnicity || Character's species/ethnicity || Koperdamer
|-
 
| Gender / gender || Character's gender || Male
|-
 
| BirthMonth || In-universe months matching timeline chronicles || March--April
|-
 
| BirthYear || Birth year. Use negative numbers for EV and positive for EN || -19
|-
 
| age || Old static age parameter (falls back seamlessly if BirthYear isn't filled) || 34
|-
 
| Nationality || Character's country of ancestry || Koperdamer
|-
 
| Nation || Link to the Nation they are a part of || Technate of Koperdam
|-
 
| Occupation || Character's job or core duty || Chief Artificer
|-
 
| Religion / religion || Character's religion || Vormgeloof
|-
 
| Languages || Languages spoken by the character || Common Tongue
|-
 
| Player / player || Player controlling the character || John
|-
 
| Status / status || Whether the character is alive, deceased, missing, etc. || Alive
|}

Revision as of 13:36, 19 August 2026