Difference between revisions of "Template:Character infobox2"
(Added type and subtype properties) |
Infobroker (talk | contribs) |
||
| (49 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | <table style="width: 910px; background: #ffffff; margin-right: auto; margin-left: auto; border-left: 1px solid #cdd0d4;border-right: 1px solid #cdd0d4;padding: 15px;"> | ||
| + | <tr> | ||
| + | {{MastHead-slim}} | ||
| + | </tr> | ||
| + | <tr> | ||
| + | <td> | ||
| + | |||
{| class="infobox" style="border:5px; padding: 0.1em;" | {| class="infobox" style="border:5px; padding: 0.1em;" | ||
|- | |- | ||
| − | |[[image:sample.gif| | + | |[[image:sample.gif|25px]] |
| | | | ||
{| class="infobox" style="font-size:90%; color:#45434d; line-height:110%; width:360px; margin:0; border: 1px solid #a29eb4; border-radius:10px; padding: 0.2em 0.4em; background: #ebe6e3;" | {| class="infobox" style="font-size:90%; color:#45434d; line-height:110%; width:360px; margin:0; border: 1px solid #a29eb4; border-radius:10px; padding: 0.2em 0.4em; background: #ebe6e3;" | ||
| Line 24: | Line 31: | ||
|Row 2 title = {{#ifeq: {{{realname|}}}|||Real Name:}} | |Row 2 title = {{#ifeq: {{{realname|}}}|||Real Name:}} | ||
|Row 2 info = {{#ifeq: {{{realname|}}}|||{{{realname}}}}} | |Row 2 info = {{#ifeq: {{{realname|}}}|||{{{realname}}}}} | ||
| − | |Row 4 title = {{#ifeq: {{{earliest|}}}|||Earliest | + | |Row 4 title = {{#ifeq: {{{earliest|}}}|||Earliest Appearance:}} |
|Row 4 info = {{#ifeq: {{{earliest|}}}|||{{{earliest}}}}} | |Row 4 info = {{#ifeq: {{{earliest|}}}|||{{{earliest}}}}} | ||
|Row 5 title = {{#ifeq: {{{origin|}}}|||Origin:}} | |Row 5 title = {{#ifeq: {{{origin|}}}|||Origin:}} | ||
| Line 46: | Line 53: | ||
Personal Data</h3> | Personal Data</h3> | ||
{{infobox2 | {{infobox2 | ||
| − | |Row 1 title = {{#ifeq: {{{relatives|}}}||| | + | |Row 1 title = {{#ifeq: {{{relatives|}}}|||Relationships:}} |
|Row 1 info = {{#ifeq: {{{relatives|}}}|||{{{relatives}}}}} | |Row 1 info = {{#ifeq: {{{relatives|}}}|||{{{relatives}}}}} | ||
|Row 2 title = {{#ifeq: {{{aliases|}}}|||Aliases:}} | |Row 2 title = {{#ifeq: {{{aliases|}}}|||Aliases:}} | ||
| Line 54: | Line 61: | ||
|Row 4 title = {{#ifeq: {{{birthdate|}}}|||Date of Birth:}} | |Row 4 title = {{#ifeq: {{{birthdate|}}}|||Date of Birth:}} | ||
|Row 4 info = {{#ifeq: {{{birthdate|}}}|||{{{birthdate}}}}} | |Row 4 info = {{#ifeq: {{{birthdate|}}}|||{{{birthdate}}}}} | ||
| − | |Row 5 title = {{#ifeq: {{{maritalstatus|}}}||| | + | |Row 5 title = {{#ifeq: {{{maritalstatus|}}}|||Civil Status:}} |
|Row 5 info = {{#ifeq: {{{maritalstatus|}}}|||{{{maritalstatus}}}}} | |Row 5 info = {{#ifeq: {{{maritalstatus|}}}|||{{{maritalstatus}}}}} | ||
|Row 6 title = {{#ifeq: {{{height|}}}|||Height:}} | |Row 6 title = {{#ifeq: {{{height|}}}|||Height:}} | ||
| Line 91: | Line 98: | ||
|Row 17 info = {{#ifeq: {{{ID3info|}}}|||{{{ID3info}}}}} | |Row 17 info = {{#ifeq: {{{ID3info|}}}|||{{{ID3info}}}}} | ||
}} | }} | ||
| + | |||
| + | |||
| + | <h3 style="margin:0; background:#dbd6d3; color:#45434d; font-size:80%; font-weight:bold; border:1px solid #a29eb4; text-align:left; padding:0.2em 0.4em;"> | ||
| + | Event Timeline</h3> | ||
| + | <div class="mw-collapsible"> | ||
| + | <div class="mw-collapsible-content"> | ||
| + | {{PrototypeBlueCharEventList | ||
| + | |charname={{PAGENAME}}}} | ||
| + | </div> | ||
| + | </div> | ||
|} | |} | ||
| − | |}{{#set:type= | + | {| class="infobox" style="border:5px; padding: 0.1em;" |
| + | |- | ||
| + | |[[image:sample.gif|5px]] | ||
| + | |} | ||
| + | |}{{#set:type=character|subtype={{{subtype|}}}}} | ||
| + | |||
| + | |||
<!--located in::Test:Compendium | <!--located in::Test:Compendium | ||
Latest revision as of 23:59, 24 January 2022
Template documentation (for the above template, sometimes hidden or invisible) Description[edit]
Syntax[edit]{{character infobox2
|image = Image:NIA3.gif
|imagewidth = 300px
|status = Active || Inactive || Deceased || Retired
|realname =
|debut = <issue>
|earliest = <in world date>
|origin = <issue>
|affiliation =
|baseops =
|rangeops =
|relatives = <replationships>
|aliases =
|occupation =
|birthdate =
|maritalstatus = <Civil Status>
|height =
|weight =
|eyes =
|hair =
|headlines = <in world date and Headline>
|appearances = <issue list>
}}
Notes[edit]
Sample output[edit]
| ||||||||||

