Template:Character: Difference between revisions

From PikloDex
Jump to navigationJump to search
Gstar (talk | contribs)
Fixing this
Gstar (talk | contribs)
whoops
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq: {{NAMESPACE}} | {{ns:User}} | <div style="border:5px solid #ffa200; margin-bottom:10px; background-color: #feff9f; font-size: 16pt; overflow: hidden; line-height: 150%;">
{{#ifeq: {{NAMESPACE}} | {{ns:User}} | <div style="border:5px solid #ffa200; margin-bottom:10px; background-color: #feff9f; font-size: 18pt; overflow: hidden; line-height: 150%;">
[[File:Warning.svg|100px|left|Warning]] The character template '''SHOULD NOT''' be used on user page. Instead, you should use [[Template:Profile]].
[[File:Red warning.png|100px|left|Warning]] The character template '''SHOULD NOT''' be used on your user page. Instead, you should use [[Template:Profile]].
</div> }}<div class="vnav" style="width:275px; border: 1px solid #913A3A; border-right-width:2px; border-bottom-width:2px; padding: 3px; margin: 0 0 1em 1em; font-size:95%; font-family: Trebuchet MS, Arial, Helvetica, sans-serif; box-sizing: border-box;">
</div> }}<div class="vnav" style="width:275px; border: 1px solid #913A3A; border-right-width:2px; border-bottom-width:2px; padding: 3px; margin: 0 0 1em 1em; font-size:95%; font-family: Trebuchet MS, Arial, Helvetica, sans-serif; box-sizing: border-box;">
<div class="title" style="background:#CD5C5C; color: white; font-size: 1.5em; padding-top: 3px; padding-bottom: 1px;">{{{name|Character}}}</div>{{#if:{{{quote|}}}|<div style="background:#CD5C5C; color: white; font-size: 100%;">“''{{{quote}}}''”</div>}}<!--  
<div class="title" style="background:#CD5C5C; color: white; font-size: 1.5em; padding-top: 3px; padding-bottom: 1px;">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{quote|}}}|<div style="background:#CD5C5C; color: white; font-size: 100%;">“''{{{quote}}}''”</div>}}<!--
  --><div style="border-top: 2px solid #913A3A; border-bottom: 2px solid #913A3A; color:white; background:#CD5C5C; padding:1px">'''Information'''</div>
  -->
{| class="data" style="vertical-align: top;"
|- style="border-top: none;"
| colspan="2" align="center" | [[File:{{{image}}}|{{#if:{{{width|}}}|{{{width}}}|150px}}]]{{#if: {{{caption|}}} |<br><span style="font-size:90%;">{{{caption|}}}</span>}}<!--
|}
<div style="border-top: 2px solid #913A3A; border-bottom: 2px solid #913A3A; color:white; background:#CD5C5C; padding:1px">'''Information'''</div>
{| class="data hover" style="vertical-align: top;"
{| class="data hover" style="vertical-align: top;"
|- style="border-top: none;"
|- style="border-top: none;"
! {{#if:{{{hometown|}}}{{{region|}}}{{{class|}}}{{{nickname|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" | Gender
! {{#if:{{{home|}}}{{{region|}}}{{{class|}}}{{{nickname|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" | Gender
| {{{gender|Undefined}}}<!--
| {{{gender|Undefined}}}<!--


-->{{#if: {{{age|}}} | <nowiki />
-->{{#if: {{{age|}}} | <nowiki />
{{!}}-
{{!}}-
! {{#if:{{{birthday|}}}{{{hometown|}}}{{{region|}}}{{{class|}}}{{{nickname|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Age
! {{#if:{{{birthday|}}}{{{home|}}}{{{region|}}}{{{class|}}}{{{nickname|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Age
{{!}} {{{age|}}}  
{{!}} {{{age|}}}  
}}<!--
}}<!--
Line 17: Line 22:
-->{{#if: {{{birthday|}}} | <nowiki />
-->{{#if: {{{birthday|}}} | <nowiki />
{{!}}-
{{!}}-
! {{#if:{{{hometown|}}}{{{region|}}}{{{class|}}}{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Birthday
! {{#if:{{{home|}}}{{{region|}}}{{{class|}}}{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Birthday
{{!}} {{{birthday|}}}  
{{!}} {{{birthday|}}}  
}}<!--
}}<!--


-->{{#if:{{{hometown|}}} | <nowiki />
-->{{#if:{{{home|}}} | <nowiki />
{{!}}-
{{!}}-
! {{#if:{{{region|}}}{{{class|}}}{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Hometown
! {{#if:{{{region|}}}{{{class|}}}{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Home
{{!}} {{{hometown}}}
{{!}} {{{home}}}
}}<!--
}}<!--


Line 37: Line 42:
! {{#if:{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Class
! {{#if:{{{age|}}}{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Class
{{!}} {{{class}}}
{{!}} {{{class}}}
}}<!--
-->{{#if:{{{age|}}} | <nowiki />
{{!}}-
! {{#if:{{{debut|}}}{{{animation_counterpart|}}}{{{game_counterpart|}}}{{{comic_counterpart|}}}{{{images|}}}||}} style="background:#CD5C5C; color:white; border-top:1px solid white;" {{!}} Age
{{!}} {{{age}}}
}}<!--
}}<!--



Latest revision as of 22:11, February 1, 2025

Character
[[File:{{{image}}}|150px]]
How to use the template?
Below are the parameters that must be entered into the article to use the template.
{{Character
| name = Name of the character
| quote = Quote of the character, preferably their catchphrase if they have one
| image = (optional - name of the character image, must have an extension)
| width = (optional - width of the image. Number followed by the literal '''px'''. If omitted it will be 150px)
| gender = Provide the gender, usually male or female
| age = (optional - the age of the character)
| birthday = (optional - the character's birthday)
| home =  (optional - where the character lives or has a home)
| region = (optional - where the character makes their home)
| class = (optional - a classification of the character within their franchise, series, or game; e.g. ''Pokémon'' has a [[Pokémon Trainer]], [[Pokémon breeder]], and so forth.)
| debut = (optional - the first appearance of the character)
| animation_counterpart = (optional - Counterpart(s) in animated media)
| game_counterpart = (optional - Counterpart(s) in the games)
| comic_counterpart = (optional - Counterpart(s) in the comics)
| category = (optional - character category. Options: video game/anime/manga. If set to "no", it will not be included in any category)
| images = (optional - if there is a category with images of the character, put "yes," otherwise omit it; if it is an organization, put "yes, organization")
| name cat = (optional - category name in case it doesn't match the character name.)
}}

Blank code[edit]

{{Character
| name = 
| quote =  
| image = 
| width = 
| caption = 
| gender = 
| age = 
| birthday = 
| home = 
| region = 
| class = 
| debut = 
| animation_counterpart = 
| game_counterpart = 
| comic_counterpart = 
| category = 
| images = 
| name cat = 
}}
This box will not appear in the article.