×
Create a new article
Write your page title here:
We currently have 23 articles on Tophiachu Wiki. Type your article name above or click on one of the titles below and start writing!



Tophiachu Wiki
23Articles

Template:Infobox: Difference between revisions

m (1 revision imported)
No edit summary
 
Line 1: Line 1:
{| class="infobox-classic" style="font-size:89%; width:300px;"
<noinclude><!-- Do not change the formatting of the code! It makes the infobox look weird for some reason! ---> </noinclude>
|-
<noinclude><b>The following template was borrowed from the [https://daniellarson.wiki Daniel Larson Wiki!] Go check them out!</b></noinclude>
! colspan="4" style="font-size:120%; padding:1em;" | {{{Box title|No Title}}}
<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
{{#if: {{{image|}}}|
    <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div>
{{!}}-
    <div style="margin: 0 5px 5px;>
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{PAGENAME:{{{image}}}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
        {{#if: {{{image|}}} |
|
            <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>
}}
        }}
|-
        <div style="{{#if: {{{imageDesc|}}} | | display: none; }}">
| style="width:30%;" |
            <small><div style="margin: 5px 0 0; padding: 0 2px 0; text-align: center; max-width:270px">''{{{imageDesc}}}''</div></small>
'''{{{Row 1 title|No Title}}}'''
        </div>
| style="width:70%;" |
        <div style="{{#if: {{{name|}}} | | display: none; }}">
{{{Row 1 info|No information}}}
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div>
{{#if: {{{Row 2 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{knownfor|}}} | | display: none; }}">
{{!}}
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Known for</b>: {{{knownfor}}}</div>
'''{{{Row 2 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{Knownas|}}} | | display: none; }}">
{{{Row 2 info|No information}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Aliases</b>: {{{Knownas}}}</div>
{{#if: {{{Row 3 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{timeActive|}}} | | display: none; }}">
{{!}}
            <div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Time Active''': {{{timeActive}}}</div>
'''{{{Row 3 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{Alignment|}}} | | display: none; }}">
{{{Row 3 info|No information}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Alignment</b>: {{{Alignment}}}{{#ifeq: {{{Alignment}}}|Management|[[Category:Management]]|}}{{#ifeq: {{{Alignment}}}|Manager|[[Category:Management]]|}}{{#ifeq: {{{Alignment}}}|Troll|[[Category:Trolls]]|}}{{#ifeq: {{{Alignment}}}|Enabler|[[Category:Enablers]]|}}{{#ifeq: {{{Alignment}}}|White Knight|[[Category:Enablers]]|}}</div>
{{#if: {{{Row 4 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{DOB|}}} | | display: none; }}">
{{!}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>DOB</b>: {{{DOB}}}</div>
'''{{{Row 4 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{Gender|}}} | | display: none; }}">
{{{Row 4 info|No information}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Gender</b>: {{{Gender}}}</div>
{{#if: {{{Row 5 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{Race|}}} | | display: none; }}">
{{!}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Race</b>: {{{Race}}}</div>
'''{{{Row 5 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{Nationality|}}} | | display: none; }}">
{{{Row 5 info|No information}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nationality</b>: {{{Nationality}}}</div>
{{#if: {{{Row 6 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{HeightnWeight|}}} | | display: none; }}">
{{!}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Height and Weight</b>: {{{HeightnWeight}}}</div>
'''{{{Row 6 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{Parents|}}} | | display: none; }}">
{{{Row 6 info|No information}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Parents</b>: {{{Parents}}}</div>
{{#if: {{{Row 7 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{Siblings|}}} | | display: none; }}">
{{!}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Siblings</b>: {{{Siblings}}}</div>
'''{{{Row 7 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{signature|}}} | | display: none; }}">
{{{Row 7 info|No information}}}
            <div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Signature''':<br>[[File:Daniel Larson Signature.png|160px]]</br></div>
{{#if: {{{Row 8 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{signature|}}} | | display: none; }}">
{{!}}
            <div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Arcs Involved''': {{{Arcs}}}</div>
'''{{{Row 8 title}}}'''
        </div>
{{!}}
        <div style="{{#if: {{{associates|}}} | | display: none; }}">
{{{Row 8 info|No information}}}
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Associates</b>: {{{associates}}}</div>
{{#if: {{{Row 9 title|}}}|
        </div>
{{!}}-
        <div style="{{#if: {{{status|}}} | | display: none; }}">
{{!}}
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Status</b>: {{{status}}}</div>
'''{{{Row 9 title}}}'''
        </div>
{{!}}
    </div>
{{{Row 9 info|No information}}}
</div>
{{#if: {{{Row 10 title|}}}|
{{!}}-
{{!}}
'''{{{Row 10 title}}}'''
{{!}}
{{{Row 10 info|No information}}}
{{#if: {{{Row 11 title|}}}|
{{!}}-
{{!}} colspan="2" style="text-align:center; background:#AAAAAA;" {{!}}
'''Too many parameters'''
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|}
<noinclude>
<noinclude>
{{documentation}}</noinclude>
<templatedata>
{
"params": {
"image": {
"description": "Image, width and height is automatically assigned",
"example": "Gabriel Gage.jpeg",
"type": "wiki-file-name",
"suggested": true,
"label": "Image"
},
"name": {
"description": "The name of whoever this is",
"example": "Tophia Slydell",
"type": "string",
"required": true,
"label": "Name"
},
"Knownas": {
"label": "Aliases/Also Known As",
"description": "Other names for a person",
"example": "Tophiachu",
"type": "string"
},
"DOB": {
"label": "Date of Birth",
"description": "In M-D-Y format, please",
"suggested": true
},
"Gender": {
"type": "string",
"description": "This is exclusively the biological gender of a given character. If a character is transgender, put their expressed gender in parenthesis formatted like the example below.",
"example": "Male (transitioned to female)"
},
"infoboxHeader": {
"label": "Infobox Header",
"description": "This is the header of the infobox. This is not required as it will just be the pagename if left blank",
"type": "string"
},
"Nationality": {
"description": "Place of origin",
"type": "string",
"example": "United States"
},
"maxwidth": {
"label": "Max Width",
"description": "The maximum width of the infobox",
"type": "unknown",
"suggestedvalues": [
"280px",
"30em"
],
"default": "280px"
},
"imageDesc": {
"label": "Image Description",
"suggested": true,
"description": "The description of the image",
"example": "\"An image of Tophia\""
},
"Parents": {
"description": "If they're unconfirmed to be parents, then explain that in parenthesis after the name.",
"example": "Melissa, Jack (claimed), Jason (unconfirmed)",
"type": "string"
},
"Alignment": {
"label": "Alignment",
"description": "The alignment of this character in relation to Tophia Slydell",
"example": "(You need these if you want them to be automatically categorized) Troll, Management, White Knight, Enabler, No Alignment",
"type": "unknown",
"suggestedvalues": [
"Enabler",
"Troll",
"White Knight",
"Management",
"No Alignment"
],
"suggested": true,
"default": "No Alignment"
},
"Race": {
"label": "Race"
},
"HeightnWeight": {
"label": "Height and Weight",
"example": "#'#\" (# cm), # lbs (# kg)"
},
"Siblings": {},
"signature": {
"example": "Signature.jpg",
"type": "wiki-file-name"
},
"timeActive": {
"label": "Time Active",
"description": "When this person was active",
"example": "April 3rd, 2023 - June 5th, 2143",
"suggested": true
},
"Arcs": {
"description": "The arcs in which this person was active during, listed in chronological order. If a person is active for the entirety of an Era, just list that Era instead of each individual arc.",
"type": "string",
"required": true,
"suggested": true
},
"knownfor": {},
"associates": {},
"status": {
"example": "\"Active\" \"Inactive\" \"Unknown\""
}
},
"description": "This is a template meant to easily display information about a given person/character",
"paramOrder": [
"maxwidth",
"infoboxHeader",
"image",
"imageDesc",
"name",
"Knownas",
"timeActive",
"Alignment",
"DOB",
"HeightnWeight",
"Nationality",
"Race",
"Gender",
"Parents",
"Siblings",
"signature",
"Arcs",
"knownfor",
"associates",
"status"
]
}
</templatedata>
</noinclude>

Latest revision as of 22:17, 3 September 2024

The following template was borrowed from the Daniel Larson Wiki! Go check them out!

Infobox
{{{imageDesc}}}
Name: {{{name}}}
Known for: {{{knownfor}}}
Aliases: {{{Knownas}}}
Time Active: {{{timeActive}}}
Alignment: {{{Alignment}}}
DOB: {{{DOB}}}
Gender: {{{Gender}}}
Race: {{{Race}}}
Nationality: {{{Nationality}}}
Height and Weight: {{{HeightnWeight}}}
Parents: {{{Parents}}}
Siblings: {{{Siblings}}}
Arcs Involved: {{{Arcs}}}
Associates: {{{associates}}}
Status: {{{status}}}

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Max Widthmaxwidth

The maximum width of the infobox

Suggested values
280px 30em
Default
280px
Unknownoptional
Infobox HeaderinfoboxHeader

This is the header of the infobox. This is not required as it will just be the pagename if left blank

Stringoptional
Imageimage

Image, width and height is automatically assigned

Example
Gabriel Gage.jpeg
Filesuggested
Image DescriptionimageDesc

The description of the image

Example
"An image of Tophia"
Unknownsuggested
Namename

The name of whoever this is

Example
Tophia Slydell
Stringrequired
Aliases/Also Known AsKnownas

Other names for a person

Example
Tophiachu
Stringoptional
Time ActivetimeActive

When this person was active

Example
April 3rd, 2023 - June 5th, 2143
Unknownsuggested
AlignmentAlignment

The alignment of this character in relation to Tophia Slydell

Suggested values
Enabler Troll White Knight Management No Alignment
Default
No Alignment
Example
(You need these if you want them to be automatically categorized) Troll, Management, White Knight, Enabler, No Alignment
Unknownsuggested
Date of BirthDOB

In M-D-Y format, please

Unknownsuggested
Height and WeightHeightnWeight

no description

Example
#'#" (# cm), # lbs (# kg)
Unknownoptional
NationalityNationality

Place of origin

Example
United States
Stringoptional
RaceRace

no description

Unknownoptional
GenderGender

This is exclusively the biological gender of a given character. If a character is transgender, put their expressed gender in parenthesis formatted like the example below.

Example
Male (transitioned to female)
Stringoptional
ParentsParents

If they're unconfirmed to be parents, then explain that in parenthesis after the name.

Example
Melissa, Jack (claimed), Jason (unconfirmed)
Stringoptional
SiblingsSiblings

no description

Unknownoptional
signaturesignature

no description

Example
Signature.jpg
Fileoptional
ArcsArcs

The arcs in which this person was active during, listed in chronological order. If a person is active for the entirety of an Era, just list that Era instead of each individual arc.

Stringrequired
knownforknownfor

no description

Unknownoptional
associatesassociates

no description

Unknownoptional
statusstatus

no description

Example
"Active" "Inactive" "Unknown"
Unknownoptional