Difference between revisions of "Template:InfoOC"

From Drawn to Life Wiki
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|style="border:solid 3px {{{boxcolor|#F29400}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
+
{|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#F29400}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
 
|-
 
|-
 
|colspan="2" style="text-align:center; color: white; background: {{{boxcolor|#F29400}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
 
|colspan="2" style="text-align:center; color: white; background: {{{boxcolor|#F29400}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
Line 5: Line 5:
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
|-
 
|-
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff;" border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);"| '''Characteristics'''
+
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43); border-radius: 5px;"| '''Characteristics'''
 
|-
 
|-
  
Line 37: Line 37:
 
|-
 
|-
  
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff;" border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);"| '''Traits'''
+
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43); border-radius: 5px;"| '''Traits'''
 
|-
 
|-
  
Line 72: Line 72:
 
|-
 
|-
  
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff;" border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);"| '''Personal'''
+
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43); border-radius: 5px;"| '''Personal'''
 
|-
 
|-
 
|width="44%"|'''Home'''
 
|width="44%"|'''Home'''
Line 105: Line 105:
  
 
<noinclude>
 
<noinclude>
This infoOC includes an (aptly named) extra spot which can be used for whatever purpose and a minified Image slot. Images in this infobox will have a small margin (blank whitespace) between the image slot and the surrounding media. This template works best for Infoboxes using large images or those using tabbers within the Image slot. Small sprites do not work work well with this infobox. Instead see: [[Template:InfoOC]] [[Template:InfoOC/Extra]]
+
This InfoOC is intended for use on OC user-pages. For more customization, see: [[Template:InfoOC/Extra]] • [[Template:InfoOC/LowMarginExtra]]
 +
<templatedata>
 +
{
 +
"params": {
 +
"boxcolor": {
 +
"label": "InfoBox color",
 +
"description": "When a valid RGB hex is input, the box will match the color.",
 +
"example": "|boxcolor=#ff8682",
 +
"type": "content",
 +
"autovalue": "#F29400"
 +
},
 +
"name": {
 +
"label": "Character Name",
 +
"description": "The name of the character. If not specified, will default to the page name.",
 +
"example": "|name=Veila",
 +
"type": "string",
 +
"autovalue": "{{PAGENAME]]",
 +
"suggested": true,
 +
"required": true
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "An image for use in the infobox. Although an image is suggested, all media is accepted, including <tabber> tabs. For best results, it is suggested that images are centered and not exceed 290px in size.",
 +
"example": "|image=[[File:IdentityQuest_Veila.png|center|290px]]",
 +
"type": "wiki-file-name",
 +
"autovalue": "[[File:ComingSoon.png]]",
 +
"suggested": true,
 +
"required": true
 +
},
 +
"caption": {
 +
"label": "Image Caption",
 +
"description": "A caption to display under the image. If nothing is specified, this field is hidden.",
 +
"example": "|caption=Veila as she appeared in life.",
 +
"type": "content",
 +
"autovalue": ""
 +
},
 +
"species": {
 +
"label": "Species",
 +
"description": "The species of the subject character. Defaults to Raposa. Accepts any text value.",
 +
"example": "|species=Raposa",
 +
"type": "string",
 +
"autovalue": "Raposa",
 +
"suggested": true
 +
},
 +
"gender": {
 +
"label": "Gender",
 +
"description": "The gender of the subject character. Accepts any text value.",
 +
"example": "|gender=Female",
 +
"type": "string",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"orientation": {
 +
"label": "Orientation",
 +
"description": "The orientation of the subject character. Has no default. Accepts any text value.",
 +
"example": "|orientation=Straight",
 +
"type": "string",
 +
"autovalue": "",
 +
"suggested": true
 +
},
 +
"age": {
 +
"label": "Age",
 +
"description": "The age of the subject character. Accepts any text value.",
 +
"example": "|age=19",
 +
"type": "number",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"birthday": {
 +
"label": "Birthday",
 +
"description": "The birthday of the subject character. Accepts any text value.",
 +
"example": "|birthday=Spring 1, 4",
 +
"type": "content",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"hair": {
 +
"label": "Hair Color",
 +
"description": "The hair color of the subject character. Accepts any text value, but the ColorDot template is preferred.",
 +
"example": "|hair={{ColorDot|#532f02}}",
 +
"type": "wiki-template-name",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"fur": {
 +
"label": "Fur Color",
 +
"description": "The fur color of the subject character. Accepts any text value, but the ColorDot template is preferred.",
 +
"example": " |fur= {{ColorDot|#d29a54}}",
 +
"type": "wiki-template-name",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"skin": {
 +
"label": "Skin Color",
 +
"description": "The skin color of the subject character. Accepts any text value, but the ColorDot template is preferred.",
 +
"example": "|skin= {{ColorDot|#f4ce9d}}",
 +
"type": "wiki-template-name",
 +
"autovalue": "N/A"
 +
},
 +
"eyes": {
 +
"label": "Eye Color",
 +
"description": "The eye color of the subject character. Accepts any text value, but the ColorDot template is preferred.",
 +
"example": "|eyes={{ColorDot|#5d2509}}",
 +
"type": "wiki-template-name",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"other": {
 +
"label": "Other Characteristics",
 +
"description": "Other characteristics the user may wish to include. Go wild! Accepts any text value.",
 +
"example": "|other={{Tooltip|mastertext=Red soul|tooltip=Soul color determines what kind of magic is most natural to a Raposa}}",
 +
"autovalue": "N/A"
 +
},
 +
"home": {
 +
"label": "Home",
 +
"description": "The home of the subject character. Accepts any text value, but plain links are recommended.",
 +
"example": "|home= [[Raposa Village|Capital Village]]",
 +
"type": "wiki-page-name",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"relationships": {
 +
"label": "Relationships",
 +
"description": "Important relationships this character has with others. Accepts any value. To input mulitple lines, use <br> tags between lines.",
 +
"example": "|relationships = Kodir (Romantic interest)<br>Manere (Best friend)",
 +
"type": "content",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"role": {
 +
"label": "Character Role",
 +
"description": "The role of the subject character. Accepts any value. To input mulitple lines, use <br> tags between lines.",
 +
"example": "|role=Genesis Raposa<br>First magician<br>Master magician",
 +
"type": "content",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"magic": {
 +
"label": "Special Abilities",
 +
"description": "Special abilities of the subject character. Accepts any value. To input mulitple lines, use <br> tags between lines.",
 +
"example": "|magic={{Tooltip|mastertext=Master|tooltip=This character possesses absurdly high levels of magical knowledge and experience.}}",
 +
"type": "content",
 +
"autovalue": "N/A",
 +
"suggested": true
 +
},
 +
"status": {
 +
"label": "Character Status",
 +
"description": "Whether the character is alive or dead. Accepts any value. Defaults to Alive if unspecified.",
 +
"example": "|status=Alive",
 +
"type": "content",
 +
"autovalue": "Alive"
 +
}
 +
},
 +
"description": "This infobox is for use on fanon character pages and offers additional input fields compared to the standard character infobox.",
 +
"paramOrder": [
 +
"name",
 +
"image",
 +
"caption",
 +
"species",
 +
"gender",
 +
"orientation",
 +
"age",
 +
"birthday",
 +
"hair",
 +
"fur",
 +
"skin",
 +
"eyes",
 +
"other",
 +
"home",
 +
"relationships",
 +
"role",
 +
"magic",
 +
"status",
 +
"boxcolor"
 +
],
 +
"format": "block"
 +
}
 +
</templatedata>
 +
Example:
 +
<pre>
 +
{{InfoOC
 +
|name        =  Veila Rheinschild
 +
|image      = [[File:IdentityQuest_Veila.png|center|290px]]
 +
|gender    = Female
 +
|orientation= Straight
 +
|age        = 19
 +
|birthday  = Spring 1, 4
 +
|species    = [[Raposa]]
 +
 
 +
|hair      = {{ColorDot|#532f02}}
 +
|fur        = {{ColorDot|#d29a54}}
 +
|skin      = {{ColorDot|#f4ce9d}}
 +
|eyes      = {{ColorDot|#5d2509}}
 +
|other      = Red Soul
 +
 
 +
|home      = [[Raposa Village|Capital Village]] <br> [[Gearworks]] <br> Howland, ForestStream
 +
|relationships = Kodir (Romantic interest)<br>Manere (Best friend)
 +
|role      = Genesis Raposa<br>First magician<br>Master magician
 +
|magic      = Expert
 +
|status    = Alive
 +
|boxcolor  = #ff8682
 +
}}
 +
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 01:13, 18 June 2022

InfoOC
ComingSoon.png
Characteristics
Species Raposa
Gender N/A
Orientation
Age N/A
Birthday N/A
Traits
Hair N/A
Fur N/A
Skin N/A
Eyes N/A
Other N/A
Personal
Home N/A
Relationships None
Job / Role N/A
Magic / Special Abilities None
Status Alive


This InfoOC is intended for use on OC user-pages. For more customization, see: Template:InfoOC/ExtraTemplate:InfoOC/LowMarginExtra

This infobox is for use on fanon character pages and offers additional input fields compared to the standard character infobox.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Character Namename

The name of the character. If not specified, will default to the page name.

Example
|name=Veila
Auto value
{{PAGENAME]]
Stringrequired
Imageimage

An image for use in the infobox. Although an image is suggested, all media is accepted, including <tabber> tabs. For best results, it is suggested that images are centered and not exceed 290px in size.

Example
|image=[[File:IdentityQuest_Veila.png|center|290px]]
Auto value
[[File:ComingSoon.png]]
Filerequired
Image Captioncaption

A caption to display under the image. If nothing is specified, this field is hidden.

Example
|caption=Veila as she appeared in life.
Auto value
Contentoptional
Speciesspecies

The species of the subject character. Defaults to Raposa. Accepts any text value.

Example
|species=Raposa
Auto value
Raposa
Stringsuggested
Gendergender

The gender of the subject character. Accepts any text value.

Example
|gender=Female
Auto value
N/A
Stringsuggested
Orientationorientation

The orientation of the subject character. Has no default. Accepts any text value.

Example
|orientation=Straight
Auto value
Stringsuggested
Ageage

The age of the subject character. Accepts any text value.

Example
|age=19
Auto value
N/A
Numbersuggested
Birthdaybirthday

The birthday of the subject character. Accepts any text value.

Example
|birthday=Spring 1, 4
Auto value
N/A
Contentsuggested
Hair Colorhair

The hair color of the subject character. Accepts any text value, but the ColorDot template is preferred.

Example
|hair={{ColorDot|#532f02}}
Auto value
N/A
Templatesuggested
Fur Colorfur

The fur color of the subject character. Accepts any text value, but the ColorDot template is preferred.

Example
|fur= {{ColorDot|#d29a54}}
Auto value
N/A
Templatesuggested
Skin Colorskin

The skin color of the subject character. Accepts any text value, but the ColorDot template is preferred.

Example
|skin= {{ColorDot|#f4ce9d}}
Auto value
N/A
Templateoptional
Eye Coloreyes

The eye color of the subject character. Accepts any text value, but the ColorDot template is preferred.

Example
|eyes={{ColorDot|#5d2509}}
Auto value
N/A
Templatesuggested
Other Characteristicsother

Other characteristics the user may wish to include. Go wild! Accepts any text value.

Example
|other={{Tooltip|mastertext=Red soul|tooltip=Soul color determines what kind of magic is most natural to a Raposa}}
Auto value
N/A
Unknownoptional
Homehome

The home of the subject character. Accepts any text value, but plain links are recommended.

Example
|home= [[Raposa Village|Capital Village]]
Auto value
N/A
Pagesuggested
Relationshipsrelationships

Important relationships this character has with others. Accepts any value. To input mulitple lines, use <br> tags between lines.

Example
|relationships = Kodir (Romantic interest)<br>Manere (Best friend)
Auto value
N/A
Contentsuggested
Character Rolerole

The role of the subject character. Accepts any value. To input mulitple lines, use <br> tags between lines.

Example
|role=Genesis Raposa<br>First magician<br>Master magician
Auto value
N/A
Contentsuggested
Special Abilitiesmagic

Special abilities of the subject character. Accepts any value. To input mulitple lines, use <br> tags between lines.

Example
|magic={{Tooltip|mastertext=Master|tooltip=This character possesses absurdly high levels of magical knowledge and experience.}}
Auto value
N/A
Contentsuggested
Character Statusstatus

Whether the character is alive or dead. Accepts any value. Defaults to Alive if unspecified.

Example
|status=Alive
Auto value
Alive
Contentoptional
InfoBox colorboxcolor

When a valid RGB hex is input, the box will match the color.

Example
|boxcolor=#ff8682
Auto value
#F29400
Contentoptional

Example:

{{InfoOC
 |name        =  Veila Rheinschild
 |image      = [[File:IdentityQuest_Veila.png|center|290px]]
 |gender     = Female
 |orientation= Straight
 |age        = 19
 |birthday   = Spring 1, 4
 |species    = [[Raposa]]

 |hair       = {{ColorDot|#532f02}}
 |fur        = {{ColorDot|#d29a54}}
 |skin       = {{ColorDot|#f4ce9d}}
 |eyes       = {{ColorDot|#5d2509}}
 |other      = Red Soul

 |home       = [[Raposa Village|Capital Village]] <br> [[Gearworks]] <br> Howland, ForestStream 
 |relationships = Kodir (Romantic interest)<br>Manere (Best friend)
 |role       = Genesis Raposa<br>First magician<br>Master magician
 |magic      = Expert
 |status     = Alive
 |boxcolor   = #ff8682
}}