Diferencia entre revisiones de «Plantilla:Persona»
m (Protegió «Plantilla:Persona» ([Editar=Solo permitir administradores] (indefinido) [Pueden trasladar=Solo permitir administradores] (indefinido))) |
|||
(No se muestra una edición intermedia del mismo usuario) | |||
Línea 1: | Línea 1: | ||
− | <includeonly> | + | <includeonly>{{#invoke:infobox|infobox |
− | + | | invimage = none | |
− | | | ||
| rows = | | rows = | ||
− | {{#if: {{{ | + | {{#if: {{{real_name|}}} | {{infobox row|label=Nombre real|field={{{real_name}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{date_of_birth|}}} | {{infobox row|label=Fecha de nacimiento|field={{#dateformat:{{{date_of_birth|}}}|mdy}}{{{dob_suffix|}}} }}}} |
− | {{#if: {{{ | + | {{#if: {{{occupation|}}} | {{infobox row|label=Ocupación|field={{{occupation}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{nationality|}}} | {{infobox row|label=Nacionalidad|field={{{nationality}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{languages|}}} | {{infobox row|label=Idiomas|field={{{languages}}}}} }} |
− | {{#if: {{{website|}}} | {{ | + | {{#if: {{{spouse|}}} | {{infobox row|label=Esposa|field={{{spouse}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{website|}}} | {{infobox row|label=Página web|field={{{website}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{known_for|}}} | {{infobox row|label=Conocido por|field={{{known_for}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{also_known_as|}}} | {{infobox row|label=También conocido como|field={{{also_known_as}}}}} }} |
− | {{#if: {{{ | + | {{#if: {{{wiki_name|}}} | {{infobox row|label=Nombre en WikiMinecraft|field={{#switch: {{{wiki_name}}} |
− | {{#if: {{{ | + | | Dinnerbone = [[File:Mojang logo.svg|14px]] [[User:Dinnerbone|Dinnerbone]] |
− | {{#if: {{{ | + | | Jeb = [[File:Mojang logo.svg|14px]] [[User:Jeb|Jeb]] |
− | {{#if: {{{ | + | | MarcWatson = [[File:Mojang logo.svg|14px]] [[User:MarcWatson|MarcWatson]] |
− | }} | + | | Neon Master = [[File:Mojang logo.svg|14px]] [[User:Neon Master|Neon Master]] |
− | </includeonly><noinclude>{{/doc}} | + | | [[User:{{{wiki_name}}}|{{{wiki_name}}}]] |
− | + | }}}} }} | |
− | + | {{#if: {{{reddit|}}} | {{infobox row|label=Reddit|field=[http://www.reddit.com/user/{{{reddit}}} {{{reddit}}}]}} }} | |
+ | {{#if: {{{twitter|}}} | {{infobox row|label=Twitter|field=[https://twitter.com/{{{twitter}}} @{{{twitter}}}]{{ #if: {{{twitter2|}}} | <br>[https://twitter.com/{{{twitter2}}} @{{{twitter2}}}] }}}} }} | ||
+ | {{#if: {{{minecraft_name|}}} |{{infobox row|label=Nombre en Minecraft|field={{{minecraft_name}}}}} }} | ||
+ | {{#if: {{{drops|}}} | {{infobox row|label=Otorga|field={{{drops}}}}} }} | ||
+ | {{#if: {{{pronunciation|}}} | {{infobox row|label=Pronunciación|field={{{pronunciation}}}}} }} | ||
+ | }}</includeonly><noinclude>{{/doc}} | ||
</noinclude> | </noinclude> |
Revisión actual del 18:16 19 ago 2014
Esta plantilla usa Módulo:Infobox, un script escrito en el lenguaje de programación Lua. Por favor lea mw:Lua y mw:Extension:Scribunto para saber más del lenguaje Lua. |
This template is used on pages describing people of note.
Contenido
Blank form
Copy and paste this blank template to the page you want to use it on.
{{Person |title = |image = |imagesize = |real_name = |date_of_birth = |occupation = |nationality = |languages = |spouse = |website = |known_for = |also_known_as = |wiki_name = |reddit = |twitter = |minecraft_name = }}
Parameters
Parameter | Function | Default value |
---|---|---|
title
|
Box title | Name of the page the infobox is placed on |
image
|
Image of the person (should be approx. 150x150px) | No image.svg |
imagesize
|
Adjusts the size of the image | 150px |
real_name
|
Birth/real name | Optional |
date_of_birth
|
Date of birth. Use Birth date and age template. Reference information appropriately. | Optional |
occupation
|
Occupation | Optional |
nationality
|
Nationality | Optional |
languages
|
Languages spoken | Optional |
website
|
Website address | Optional |
known_for
|
Known for | Optional |
also_known_as
|
Aliases | Optional |
wiki_name
|
Username on the wiki | Optional |
reddit
|
Username on Reddit | Optional |
twitter
|
Username on Twitter | Optional |
minecraft_name
|
Username in Minecraft | Optional |
Example
{{Person |title = Markus Persson |image = Notch3.jpg |imagesize = |real_name = Markus Alexej Persson |date_of_birth = {{Birth date and age|1979|6|1|mf=yes}} |occupation = Game developer, [[Mojang AB]] |nationality = Swedish |languages = |website = [http://mojang.com/notch/ mojang.com/notch] |known_for = Creating Minecraft, owner of Mojang AB |also_known_as = Markus Alexej |wiki_name = |reddit = xNotch |twitter = notch |minecraft_name = Notch }} |
|
See also
- {{3rd Party Tool}}
- {{Block}}
- {{Bloque}}
- {{BlockTileEntity}}
- {{Entity}}
- {{Entidad}}
- {{Food}}
- {{Comida}}
- {{Alimento}}
- {{Gamemode}}
- {{Item}}
- {{ItemEntity}}
- {{Mod}}
- {{Objeto}}
- {{ObjetoEntidad}}
- {{Person}}
- {{Persona}}
- {{Potion}}
- {{Profile}}
- {{Program}}
- {{Structure}}
- {{Estructura}}
- {{Technical Block}}
- {{Version nav}}
- Module:Infobox
La documentación anterior se transcluye de Plantilla:Persona/doc. (edit | history)