Diferencia entre revisiones de «Plantilla:Character»

De La Coppermind
Ir a la navegación Ir a la búsqueda
m
m
 
(No se muestran 14 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
 
{{infobox|id=Character
 
{{infobox|id=Character
|title={{#if:{{{unnamed|}}}|''Desconocido'' [[Categoría:Personajes sin nombre]]|{{{name|{{translated title}}}}}|}}<!--
+
|title={{#if:{{{unnamed|}}}|''Desconocido'' {{cat ns|Personajes sin nombre|only=0}}|{{{name|{{PAGENAME}}}}}|}}<!--
   
 
-->|1=
 
-->|1=
Línea 15: Línea 15:
 
{{character/family
 
{{character/family
 
|merge = {{{merge-family|}}}
 
|merge = {{{merge-family|}}}
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Family}}|}}}
+
|family = {{{family|{{#if:{{{merge-family|}}}|<!-- -->|Familia}}|}}}
 
|spouse = {{{spouse|}}}
 
|spouse = {{{spouse|}}}
 
|children = {{{children|}}}
 
|children = {{{children|}}}
Línea 24: Línea 24:
 
|descendants = {{{descendants|}}}
 
|descendants = {{{descendants|}}}
 
}}<!-- make family-only a row -->
 
}}<!-- make family-only a row -->
|{{#if:{{{family|}}} |{{row/kv|Familia |{{{family}}} }}|}}
+
|{{#if:{{{family|}}} |{{row/kv|Family |{{{family}}} }}|}}
 
}}
 
}}
   
 
<!-- life -->
 
<!-- life -->
{{#if:{{{born|}}} |{{row/kv|Nacido en |{{{born}}} }}|}}
+
{{#if:{{{born|}}} |{{row/kv|Nacido en |{{{born}}} }}|}}
{{#if:{{{died|}}} |{{row/kv|Fallecido |{{{died}}} [[categoría: personajes fallecidos]] }}|}}
+
{{#if:{{{died|}}} |{{row/kv|Fallecido |{{{died}}} {{cat ns|personajes fallecidos|only=0}} }}|}}
   
 
<!--about -->
 
<!--about -->
Línea 49: Línea 49:
 
{{#if:{{{species|}}} |{{row/kv|Especie |{{species tag|{{{species}}}|}}<!-- -->{{{species-ref|}}} }}|}}
 
{{#if:{{{species|}}} |{{row/kv|Especie |{{species tag|{{{species}}}|}}<!-- -->{{{species-ref|}}} }}|}}
   
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}}{{era/{{{era}}}|}} }}|}}
+
{{#if:{{{era|}}} |{{row/kv|Era |[[{{{era}}}]]{{era/{{{era}}}|}} }}|}}
   
 
<!-- location -->
 
<!-- location -->
Línea 57: Línea 57:
 
{{#if:{{{'residence|}}} |{{row/kv|Residencia |{{{'residence}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{'residence|}}} |{{row/kv|Residencia |{{{'residence}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residencia |{{{residence-raw}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
 
{{#if:{{{residence-raw|}}} |{{row/kv|Residencia |{{{residence-raw}}}<!-- -->{{{residence-ref|}}} {{raw/residence}} }}|}}
{{#if:{{{residence|}}} |{{row/kv|Residencia |{{toponym tag|{{{residence}}}|Habitantes de}}<!-- -->{{{residence-ref|}}} }}|}}
+
{{#if:{{{residence|}}} |{{row/kv|Residencia |{{toponym link|{{{residence}}}}}{{cat ns|Habitantes de {{#if:{{toponym|{{{residence}}}}}|{{toponym|{{{residence}}}}}|{{{residence}}}}}}}<!-- -->{{{residence-ref|}}} }}|}}
 
{{#if:{{{'ethnicity|}}} |{{row/kv|Etnia |{{{'ethnicity}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{'ethnicity|}}} |{{row/kv|Etnia |{{{'ethnicity}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Etnia |{{{ethnicity-raw}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
 
{{#if:{{{ethnicity-raw|}}} |{{row/kv|Etnia |{{{ethnicity-raw}}}<!-- -->{{{ethnicity-ref|}}} {{raw/ethnicity}} }}|}}
Línea 63: Línea 63:
 
{{#if:{{{'nation|}}} |{{row/kv|Nacionalidad |{{{'nation}}}<!-- -->{{{nationality-ref|}}} {{raw/nation}} }}|}}
 
{{#if:{{{'nation|}}} |{{row/kv|Nacionalidad |{{{'nation}}}<!-- -->{{{nationality-ref|}}} {{raw/nation}} }}|}}
 
{{#if:{{{nation-raw|}}} |{{row/kv|Nacionalidad |{{{nation-raw}}}<!-- -->{{{nationality-ref|}}} {{raw/nation}} }}|}}
 
{{#if:{{{nation-raw|}}} |{{row/kv|Nacionalidad |{{{nation-raw}}}<!-- -->{{{nationality-ref|}}} {{raw/nation}} }}|}}
{{#if:{{{nation|}}} |{{row/kv|Nacionalidad |{{demonym tag|{{{nation}}}|}}<!-- -->{{{nationality-ref|}}} }}|}}
+
{{#if:{{{nation|}}} |{{row/kv|Nacionalidad |{{demonym tag|{{{nation}}}|}}<!-- -->{{{nationality-ref|}}} }} |}}
 
{{#if:{{{nationality|}}} |{{row/kv|Nacionalidad |{{demonym tag|{{{nationality}}}|}}<!-- -->{{{nationality-ref|}}} }}|}}
 
{{#if:{{{nationality|}}} |{{row/kv|Nacionalidad |{{demonym tag|{{{nationality}}}|}}<!-- -->{{{nationality-ref|}}} }}|}}
   
{{#if:{{{earth|}}} |{{row/kv|Mundo |{{earth tag|earth={{{earth}}}|cat=Personajes de {{{earth}}}}}<!-- -->{{{earth-ref|{{{world-ref|}}}|}}} }}
+
{{#if:{{{earth|}}} |{{row/kv|Mundo natal|{{earth tag|earth={{{earth}}}|cat=Personajes de {{{earth}}}}}<!-- -->{{{earth-ref|{{{world-ref|}}}|}}} }}
|{{#if:{{{'world|}}} |{{row/kv|Mundo |{{{'world}}}<!-- -->{{{world-ref|}}} {{raw/world}} }}
+
|{{#if:{{{'world|}}} |{{row/kv|Mundo natal|{{{'world}}}<!-- -->{{{world-ref|}}} {{raw/world}} }}
|{{#if:{{{world|}}} |{{row/kv|Mundo |{{toponym tag|{{{world}}}|}}<!-- -->{{{world-ref|}}} }}
+
|{{#if:{{{world|}}} |{{row/kv|Mundo natal|{{toponym tag|{{{world}}}|}}<!-- -->{{{world-ref|}}} }}
 
|{{#if:{{{hide-world|}}} |<!-- don't show a world row -->
 
|{{#if:{{{hide-world|}}} |<!-- don't show a world row -->
<!-- ELSE -->|{{row/kv|Mundo |''Desconocido'' }}<!--
+
<!-- ELSE -->|{{row/kv|Mundo natal|''Desconocido'' }}<!--
 
END IFs-->}}|}}|}}|}}
 
END IFs-->}}|}}|}}|}}
   
 
{{#if:{{{universe|}}} |{{row/kv| Universo | {{{universe}}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universo | {{{universe}}}<!-- -->}}|}}
  +
<!-- featured in -->{{row/kv|Aparece en |''{{{books}}}'' }}
 
  +
{{#if:{{{first appeared|}}} |{{row/kv| Primera aparición| ''{{{first appeared}}}''<!-- -->}}|{{missing/first-appeared}}}}
   
 
}}<includeonly><!--
 
}}<includeonly><!--
Línea 105: Línea 106:
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
   
-->[[Categoría: Personajes]]<!--
+
-->{{cat ns|Personajes|only=0}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
This template allows you to describe the many attributes of a character. The {{{world}}} and {{{books}}} parameters are required. The other parameters are optional and can be described in groups:
+
This template allows you to describe the many attributes of a character. The {{{world}}} and {{{first appeared}}} parameters are required. The other parameters are optional and can be described in groups:
 
; Location
 
; Location
 
: {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
 
: {{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
Línea 171: Línea 172:
 
|hide-world=y
 
|hide-world=y
 
|universe=
 
|universe=
  +
|first appeared=
|books=
 
 
}}
 
}}
 
</pre>
 
</pre>

Revisión actual del 11:34 24 abr 2024

Character
Mundo natal Desconocido

This template allows you to describe the many attributes of a character. The {{{world}}} and {{{first appeared}}} parameters are required. The other parameters are optional and can be described in groups:

Location
{{{ethnicity}}} or {{{nation}}} or {{{nationality}}} can be used to identify the ethnicity of the character.
{{{birthplace}}} or {{{residence}}} link to places.
for characters not set on earth {{{world}}} should be used
for those set on alternative earths {{{earth}}} should be used
for those not set on any particular earth {{{universe}}} can be used to indicate their setting
Family
{{{parents}}}, {{{siblings}}}, {{{spouse}}}, {{{children}}} and the more generic {{{relatives}}}, {{{ancestors}}} and {{{descendants}}}. The family options are grouped into a section, which can be renamed with {{{family}}}. If {{{hide-family}}} is present, the family section will be shown by default. (Uses {{character/family}} template).
Life
For major dates in a characters life, {{{born}}} and {{{died}}} are available, and should use the {{date}} template.
{{{titles}}}, {{{abilities}}}, {{{skills}}}, {{{achievements}}}}, {{{{profession}}}, {{{aliases}}}, {{{religion}}}, {{{powers}}}, and {{{species}}} (if non-human) are available to describe the character in more detail.

Many of the properties have an alternative '-prefixed version which has no automatic linking and categorization. The advanced properties {{{'ethnicity}}}, {{{'nation}}}, stop the corresponding properties from automatically linking and categorizing.

In addition to the ' prefixes, there are -ref suffixes for adding references to the magic fields. {{{ethnicity-ref}}}, {{{nationality-ref}}}

It automatically adds pages to Category: Characters.

{{character
|unnamed=y
|image=
|merge-family=y
|parents=
|spouse=
|siblings=
|children=
|ancestors=
|relatives=
|descendants=
|born=
|died=
|abilities=
|bonded=
|titles=
|aliases=
|skills=
|achievements=
|powers=
|#profession=
|profession=
|occupation=
|religion=
|groups=
|species=
|'species=
|era=
|birthplace=
|'birthplace=
|residence=
|'residence=
|ethnicity=
|'ethnicity=
|nation=
|'nation=
|nationality=
|world= / earth=
|'world=
|hide-world=y
|universe=
|first appeared=
}}

Articles using Template