Template:Infobox: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<div class="infobox" style="float:right; width: 22em; font-size: 88%; line-height: 1.5em; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
<div class="infobox" style="float:right; width: 22em; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
     <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{PAGENAME}}</div>
     <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{PAGENAME}}</div>
     <div style="margin: 0 5px 5px;>
     <div style="margin: 0 5px 5px;>
         {{#if: {{{image|}}} |
         {{#if: {{{image|}}} |
             <div style="margin: 10px 0 10px; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div>
             <div style="margin: 10px 0 0; text-align: center; max-width:100%; height:auto;">[[{{{image|250x250px}}}]]</div>
         }}
         }}
         <div style="{{#if: {{{name|efef}}} | | display: none; }}">
         <div style="{{#if: {{{name|efef}}} | | display: none; }}">
             <div style="background: #cecece; padding: 0 3px 0"><b>Name</b>: {{{name}}}</div>
             <div style="margin: 10px 0 0; background: #cecece; padding: 0 3px 0"><b>Name</b>: {{{name}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{Knownas|efef}}} | | display: none; }}">
         <div style="{{#if: {{{Knownas|efef}}} | | display: none; }}">
             <div style="background: #fff; padding: 0 3px 0"><b>Also known as</b>: {{{Knownas}}}</div>
             <div style="background: #fff; padding: 0 3px 0"><b>Also known as</b>: {{{Knownas}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{DOB|efef}}} | | display: none; }}">
         <div style="{{#if: {{{DOB|efef}}} | | display: none; }}">
             <div style="background: #cecece; padding: 0 3px 0"><b>DOB</b>: {{{DOB}}}</div>
             <div style="background: #cecece; padding: 0 3px 0"><b>DOB</b>: {{{DOB}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label2|}}}{{{value2|}}} | | display: none; }}">
         <div style="{{#if: {{{Sex|efe}}} | | display: none; }}">
             <div><b>{{{label2}}}</b>: {{{value2}}}</div>
             <div style="background: #fff; padding: 0 3px 0"><b>Biological Gender</b>: {{{Sex}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label3|}}}{{{value3|}}} | | display: none; }}">
         <div style="{{#if: {{{Gender|efe}}} | | display: none; }}">
             <div><b>{{{label3}}}</b>: {{{value3}}}</div>
             <div style="background: #cecece; padding: 0 3px 0"><b>Gender Identity</b>: {{{Gender}}}</div>
         </div>
         </div>
         <div style="{{#if: {{{label4|}}}{{{value4|}}} | | display: none; }}">
         <div style="{{#if: {{{label4|}}}{{{value4|}}} | | display: none; }}">

Revision as of 19:27, 10 December 2023

Infobox
Name: {{{name}}}
Also known as: {{{Knownas}}}
DOB: {{{DOB}}}
Biological Gender: {{{Sex}}}
Gender Identity: {{{Gender}}}
{{{label4}}}: {{{value4}}}
{{{label5}}}: {{{value5}}}
{{{label6}}}: {{{value6}}}
{{{label7}}}: {{{value7}}}
{{{label8}}}: {{{value8}}}
{{{label9}}}: {{{value9}}}
{{{label10}}}: {{{value10}}}

This is a template meant to easily display information about a given person/character

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
imageimage

Image

Example
Tony_Chase.png
Filesuggested
namename

The name of whoever this is

Example
Tony Chase
Stringrequired
Aliases/Also Known AsKnownas

Other names for a person

Example
Prince Rockefeller Hughes
Stringoptional
Date of BirthDOB

In M-D-Y format, please

Unknownsuggested
label2label2

no description

Unknownoptional
value2value2

no description

Unknownoptional
label3label3

no description

Unknownoptional
value3value3

no description

Unknownoptional
label4label4

no description

Unknownoptional
value4value4

no description

Unknownoptional
label5label5

no description

Unknownoptional
value5value5

no description

Unknownoptional
label6label6

no description

Unknownoptional
value6value6

no description

Unknownoptional
label7label7

no description

Unknownoptional
value7value7

no description

Unknownoptional
label8label8

no description

Unknownoptional
value8value8

no description

Unknownoptional
label9label9

no description

Unknownoptional
value9value9

no description

Unknownoptional
label10label10

no description

Unknownoptional
value10value10

no description

Unknownoptional