Template:Infobox: Difference between revisions
m (meh) |
m (please work) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><!-- Do not change the formatting of the code! It makes the infobox look weird for some reason! ---> </noinclude> | <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> | |||
<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;"> | <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;"> | ||
<div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div> | <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div> | ||
Line 12: | Line 12: | ||
<div style="{{#if: {{{name|}}} | | display: none; }}"> | <div style="{{#if: {{{name|}}} | | display: none; }}"> | ||
<div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div> | <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div> | ||
</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> | |||
</div> | </div> | ||
<div style="{{#if: {{{Knownas|}}} | | display: none; }}"> | <div style="{{#if: {{{Knownas|}}} | | display: none; }}"> | ||
Line 20: | Line 23: | ||
</div> | </div> | ||
<div style="{{#if: {{{Alignment|}}} | | display: none; }}"> | <div style="{{#if: {{{Alignment|}}} | | display: none; }}"> | ||
<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> | <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]]|}}{{#ifeq: {{{Alignment}}}|No Alignment|[[Category:No Alignment]]|}}</div> | ||
</div> | </div> | ||
<div style="{{#if: {{{DOB|}}} | | display: none; }}"> | <div style="{{#if: {{{DOB|}}} | | display: none; }}"> | ||
Line 48: | Line 51: | ||
<div style="{{#if: {{{signature|}}} | | display: none; }}"> | <div style="{{#if: {{{signature|}}} | | display: none; }}"> | ||
<div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Arcs Involved''': {{{Arcs}}}</div> | <div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Arcs Involved''': {{{Arcs}}}</div> | ||
</div> | |||
<div style="{{#if: {{{associates|}}} | | display: none; }}"> | |||
<div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Associates</b>: {{{associates}}}</div> | |||
</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> | |||
</div> | </div> | ||
</div> | </div> | ||
Line 57: | Line 66: | ||
"image": { | "image": { | ||
"description": "Image, width and height is automatically assigned", | "description": "Image, width and height is automatically assigned", | ||
"example": " | "example": "Gabriel Gage.jpeg", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true, | "suggested": true, | ||
Line 64: | Line 73: | ||
"name": { | "name": { | ||
"description": "The name of whoever this is", | "description": "The name of whoever this is", | ||
"example": " | "example": "H3xed", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
Line 72: | Line 81: | ||
"label": "Aliases/Also Known As", | "label": "Aliases/Also Known As", | ||
"description": "Other names for a person", | "description": "Other names for a person", | ||
"example": " | "example": "Novine Universe", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 92: | Line 101: | ||
"Nationality": { | "Nationality": { | ||
"description": "Place of origin", | "description": "Place of origin", | ||
"type": "string" | "type": "string", | ||
"example": "United States" | |||
}, | }, | ||
"maxwidth": { | "maxwidth": { | ||
Line 116: | Line 126: | ||
"Alignment": { | "Alignment": { | ||
"label": "Alignment", | "label": "Alignment", | ||
"description": "The alignment of this character in relation to | "description": "The alignment of this character in relation to Gabriel Gage", | ||
"example": "(You need these if you want them to be automatically categorized) Troll, Management, White Knight, Enabler", | "example": "(You need these if you want them to be automatically categorized) Troll, Management, White Knight, Enabler", | ||
"type": "unknown", | "type": "unknown", | ||
Line 123: | Line 133: | ||
"Troll", | "Troll", | ||
"White Knight", | "White Knight", | ||
"Management" | "Management", | ||
"No Alignment" | |||
], | ], | ||
"suggested": true | "suggested": true, | ||
"default": "No Alignment" | |||
}, | }, | ||
"Race": { | "Race": { | ||
Line 150: | Line 162: | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true | ||
}, | |||
"knownfor": {}, | |||
"associates": {}, | |||
"status": { | |||
"example": "\"Active\" \"Inactive\" \"Unknown\"" | |||
} | } | ||
}, | }, | ||
Line 170: | Line 187: | ||
"Siblings", | "Siblings", | ||
"signature", | "signature", | ||
"Arcs" | "Arcs", | ||
"knownfor", | |||
"associates", | |||
"status" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 10:15, 4 September 2024
The following template was borrowed from the Daniel Larson Wiki! Go check them out!
This is a template meant to easily display information about a given person/character
Parameter | Description | Type | Status | |
---|---|---|---|---|
Max Width | maxwidth | The maximum width of the infobox
| Unknown | optional |
Infobox Header | infoboxHeader | This is the header of the infobox. This is not required as it will just be the pagename if left blank | String | optional |
Image | image | Image, width and height is automatically assigned
| File | suggested |
Image Description | imageDesc | The description of the image | Unknown | suggested |
Name | name | The name of whoever this is
| String | required |
Aliases/Also Known As | Knownas | Other names for a person
| String | optional |
Time Active | timeActive | When this person was active
| Unknown | suggested |
Alignment | Alignment | The alignment of this character in relation to Gabriel Gage
| Unknown | suggested |
Date of Birth | DOB | In M-D-Y format, please | Unknown | suggested |
Weight and Weight | HeightnWeight | no description
| Unknown | optional |
Nationality | Nationality | Place of origin
| String | optional |
Race | Race | no description | Unknown | optional |
Gender | Gender | 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.
| String | optional |
Parents | Parents | If they're unconfirmed to be parents, then explain that in parenthesis after the name.
| String | optional |
Siblings | Siblings | no description | Unknown | optional |
signature | signature | no description
| File | optional |
Arcs | Arcs | 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. | String | required |
knownfor | knownfor | no description | Unknown | optional |
associates | associates | no description | Unknown | optional |
status | status | no description
| Unknown | optional |