Difference between revisions of "Template:InfoBoxCharacter"
m |
|||
(34 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | {| border= | + | {{Infobox |
− | + | |abovestyle = background:#8BC34A; border:0.15em solid #222; padding:0.2em; font-weight: bold; | |
− | {{#if:{{{ | + | |autoheaders = y |
− | {{ | + | |above = <div class="fn" style="display:inline-block; font-weight:bold;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div> |
− | }} | + | |subheaderstyle = border:0.15em solid #222; padding:0.2em; |
− | | | + | |imagestyle = border:0.15em solid #222; padding:0.2em; |
− | + | <!-- |image = {{#if:{{{image|}}}|[[Image:{{{image}}}|frameless|210px|center]]}} --> | |
− | | | + | |image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |title={{{name|}}} |suppressplaceholder=yes}} |
− | {{# | + | <!-- |caption = {{{image caption|{{{caption|{{{image caption|}}}}}}}}} --> |
− | {{ | + | <!-- |captionstyle = line-height:1.4em; --> |
− | {{ | + | |headerstyle = background:#607D8B; color:#FFF; border:0.15em solid #333; padding:0.1em; |
− | }} | + | |labelstyle = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em; |
− | | | + | |datastyle = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em; |
− | {{#if:{{{ | + | |
− | {{ | + | |header1 = Personal |
− | + | |label3 = Also known as | |
− | }} | + | |data3 = {{{othernames|}}} |
− | | | + | |label4 = Born |
− | {{ | + | |data4 = {{{birthdate|}}} |
− | {{ | + | |label5 = Died |
− | {{ | + | |data5 = {{{died|}}} |
− | }} | + | |label6 = Affiliation |
− | | | + | |data6 = {{{affiliation|}}} |
− | + | ||
− | {{ | + | |header7 = Profile |
− | + | |label8 = Rank | |
− | }} | + | |data8 = {{{rank|}}} |
− | | | + | |label9 = Title(s) |
− | {{ | + | |data9 = {{{title|}}} |
− | {{ | + | |label10 = Position(s) |
− | + | |data10 = {{{position|}}} | |
− | }} | + | |label11 = Profession |
− | |- | + | |data11 = {{{profession|}}} |
− | + | ||
− | {{ | + | |header12 = Family |
− | {{ | + | |label13= Parents |
− | + | |data13 = {{{parents|}}} | |
− | | | + | |label14 = Siblings |
− | + | |data14 = {{{siblings|}}} | |
− | {{ | + | |label15 = Spouse |
− | {{ | + | |data15 = {{{spouse|}}} |
− | + | |label16 = Children | |
− | | | + | |data16 = {{{children|}}} |
− | {{ | + | |
− | {{ | + | <!-- Property and Category declarations --> |
− | {{ | + | <!-- {{#if:{{{affiliation|}}}||<includeonly>[[Category:{{{affiliation}}} Characters]]</includeonly>}} --> |
− | + | }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude> | |
− | |||
− | {{#if:{{{ | ||
− | {{ | ||
− | { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | </noinclude> |
Revision as of 22:33, 4 April 2024
InfoBoxCharacter |
---|
Purpose
This template is meant only for fictional characters within the BattleTech universe. (For articles about real persons who are relevant to BattleTech, use Template:InfoBoxRealPerson instead.)
Usage
{{InfoBoxCharacter | image = | name = | birthdate = | died = | othernames = | affiliation = | rank = | title = | position = | profession = | parents = | siblings = | spouse = | children = }}
Explanation
- image =
- Image file link of the person in question. Use the format filename.extension without any wikicode (e.g. "battletech.jpg").
- name =
- The real name of the person in question; in case of doubt, the true or correct civil name (e.g. "Anastasius Focht" was an assumed name of the man whose real name was Frederick Steiner; in this case, the "Name" would be Frederick Steiner and "othernames" would list his well-known alias). In some cases, a person may only be known under an assumed name; in this case, put "Unknown" into this field.
- othernames =
- Known aliases or appellations for the person in question.
- birthdate =
- Date of birth (with reference if possible), in day/month/year format; the year will do if the exact date is not known.
- died =
- Date of death; same format as for birth date above.
- affiliation =
- House(s), Clan(s) or States(s) with whom the character is prominently associated.
- rank =
- The character's highest-known military rank in the BattleTech universe (e.g. "General").
- title =
- The character's known noble title(s) in the BattleTech universe (e.g. "Duke").
- position =
- The character's position, post or job within their profession.
- profession =
- The character's best-known profession(s), occupation(s) or role(s) in the BattleTech universe (e.g. "MechWarrior", "Noble", "Diplomat", "Doctor").
- parents =
- The character's parents.
- siblings =
- The character's siblings, if any. Not applicable for trueborn sibkin except under unusual circumstances, in which case trueborn sibkin can be noted in parantheses and must be explained in the article text.
- spouse =
- The character's spouse(s), if any.
- children =
- The character's offspring, if any. Trueborn, cloned or otherwise bio-engineered offspring should be noted in parantheses and explained in the article text.