Template:Infobox Person: Difference between revisions

Doom (talk | contribs)
No edit summary
No edit summary
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Entity
<noinclude><!-- Do not change the formatting of the code! It makes the infobox look weird for some reason! ---> </noinclude>
| box_width  = {{{box_width|}}}
| title      = {{{title|{{{name|}}}}}}
| image      = {{{image|}}}
| size = {{{size|}}}
| imageclass = {{image class names|{{{image}}}}}
| name  = {{{name|}}}
| year = {{{year|}}}
| month = {{{month|}}}
| day = {{{day|}}}
| birthsrc = {{{birthsrc|}}}
| deathyear = {{{deathyear|}}}
| deathmonth = {{{deathmonth|}}}
| deathday = {{{deathday|}}}
| deathsrc = {{{deathsrc|}}}
| weightsrc = {{{weightsrc|}}}
| birthday      = {{{birthday|}}} <!-- Deprecated. -->
| aliases      = {{{aliases|}}}
| birthname      = {{{birthname|}}}
| gender      = {{{gender|}}}
| nationality      = {{{nationality|{{{nation|}}}}}}


| occupation      = {{{occupation|}}}
<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>
| religion      = {{{religion|}}}
    <div style="margin: 0 5px 5px;>
 
        {{#if: {{{image|}}} |
| race      = {{{race|}}}
            <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>
 
        }}
| label14    = Height
        <div style="{{#if: {{{imageDesc|}}} | | display: none; }}">
| ft      = {{{ft|{{{feet|{{{foot}}}}}}}}}
            <small><div style="margin: 5px 0 0; padding: 0 2px 0; text-align: center; max-width:270px">''{{{imageDesc}}}''</div></small>
| in      = {{{in|{{{inch|{{{inches|0}}}}}}}}}
        </div>
| lb      = {{{lb|}}}
        <div style="{{#if: {{{Nombre|}}} | | display: none; }}">
| heightsrc = {{{heightsrc|}}}
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nombre real</b>: {{{Nombre}}}</div>
| education      = {{{education|}}}
        </div>
| knownfor      = {{{knownfor|}}}
        <div style="{{#if: {{{Alias|}}} | | display: none; }}">
 
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Aliases</b>: {{{Alias}}}</div>
| relation      = {{{relation|}}}
        </div>
| organization= {{{organization|}}}
        <div style="{{#if: {{{Años activo|}}} | | display: none; }}">
 
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Años activo</b>: {{{Años activo}}}</div>
| spouse      = {{{spouse|}}}
        </div>
| children      = {{{children|}}}
        <div style="{{#if: {{{Afiliado|}}} | | display: none; }}">
| mother      = {{{mother|}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Afiliados</b>: {{{Afiliado}}}{{#ifeq: {{{Afiliaciones}}}|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>
| father      = {{{father|}}}
        </div>
| siblings      = {{{siblings|}}}
        <div style="{{#if: {{{Nacimiento|}}} | | display: none; }}">
| grandchildren      = {{{grandchildren|}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nacimiento</b>: {{{Nacimiento}}}</div>
| relatives      = {{{relatives|}}}
        </div>
| notes      = {{{notes|}}}
<div style="{{#if: {{{Fallecimiento|}}} | | display: none; }}">
| titles = {{{titles|}}}
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Fallecimiento</b>: {{{Fallecimiento}}}</div>
| location      = {{{location|}}} <!-- Deprecated. -->
        </div>
| saga      = {{{saga|}}}
<div style="{{#if: {{{Ocupación|}}} | | display: none; }}">
 
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Ocupación</b>: {{{Ocupación}}}</div>
| influenced    = {{{influenced|}}}
        </div>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infoboxes|{{PAGENAME}}]]</noinclude>
        <div style="{{#if: {{{Genero|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Genero</b>: {{{Genero}}}</div>
        </div>
        <div style="{{#if: {{{Raza|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Raza</b>: {{{Raza}}}</div>
        </div>
        <div style="{{#if: {{{Nacionalidad|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nacionalidad</b>: {{{Nacionalidad}}}</div>
        </div>
        <div style="{{#if: {{{Peso|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Peso</b>: {{{Peso}}}</div>
        </div>
                <div style="{{#if: {{{Educación|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Educación</b>: {{{Educación}}}</div>
      </div>
            <div style="{{#if: {{{Aliados|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Aliados</b>: {{{Aliados}}}</div>
        </div>
            <div style="{{#if: {{{Enemigos|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Enemigos</b>: {{{Enemigos}}}</div>
        </div>
            <div style="{{#if: {{{Sagas|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Sagas</b>: {{{Sagas}}}</div>
        </div>
        <div style="margin: 5px 0 0; text-align: center; border-top: 1px solid #aaa;">'''Redes''':<br></br>
        <div style="{{#if: {{{Youtube|}}} | | display: none; }}">
            <div style="padding: 0 0px 0; border-top: 0px solid #aaa;"><b>Youtube</b>: {{{Youtube}}}</div>
        </div>
        <div style="{{#if: {{{Twitter|}}} | | display: none; }}">
            <div style="padding: 0 0px 0; border-top: 0px solid #aaa;"><b>Twitter</b>: {{{Twitter}}}</div>
        </div>
        </div>
    </div>
</div>
<noinclude>
<templatedata>
{
"params": {
"image": {
"description": "Image, con la imagen asociada",
"example": "Doomentio.png",
"type": "wiki-file-name",
"suggested": true,
"label": "Image"
},
"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"
},
"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": "Descripcion"
},
"Nombre": {
"label": "Nombre real",
"description": "El nombre de",
"example": "Manuel Arturo",
"type": "string",
"required": true
},
"Alias": {
"label": "Alias",
"description": "Otros nombres",
"example": "MentalKillerXXll, ElPerroMuerdeCulos, Los Majes, Lawliet Wright, Nick L Wright, Ken L Parker y Joe KL Wright.",
"type": "string"
},
"Años activo": {
"label": "Años activo",
"suggested": true
},
"Afiliado": {
"label": "Afiliaciones",
"type": "unknown",
"suggestedvalues": [
"Enabler",
"Troll",
"White Knight",
"Management"
],
"suggested": true
},
"Nacimiento": {
"label": "Nacimiento",
"description": "{{age|year1|month1|day1}}",
"suggested": true
},
"Peso": {
"label": "Peso"
},
"Nacionalidad": {
"label": "Nacionalidad",
"description": "Nacionalida",
"type": "string"
},
"Raza": {
"label": "Raza",
"description": "Ario o Mestizo"
},
"Genero": {
"description": "Este es exclusivamente el género biológico de un personaje. Si un personaje es transgénero, escriba su género expresado entre paréntesis, con el formato del ejemplo a continuación.",
"example": "Male (transitioned to female)",
"type": "string"
},
"Educación": {
"label": "Educacion"
},
        "Ocupación": {
"label": "Ocupación"
},
        "Aliados": {
"label": "Aliados"
        },
        "Enemigos": {
"label": "Enemigos"
},
"Fallecimiento": {
"label": "Fallecimiento",
"description": "Fecha de muerte y edad"
        },
        "Sagas": {
"label": "Sagas"
}
},
"description": "This is a template meant to easily display information about a given person/character",
"paramOrder": [
"maxwidth",
"infoboxHeader",
"image",
"imageDesc",
"Nombre",
"Alias",
"Años activo",
"Afiliado",
"Nacimiento",
        "Ocupación",
"Peso",
"Nacionalidad",
"Raza",
"Genero",
"Educación",
"Fallecimiento",
        "Aliados",
        "Enemigos",
        "Sagas"
]
}
</templatedata>
</noinclude>