Template:Character infobox: Difference between revisions

From Fanonpedia
Jump to navigationJump to search
Content added Content deleted
(Adding some extra parameters so that this can double as an infobox for groups)
(shhhh, it's so hewbert doesn't get in trouble)
 
(4 intermediate revisions by one other user not shown)
Line 19: Line 19:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{latest_portrayal|}}}|
{{#if:{{{last_appearance|}}}|
{{!}} '''Latest portrayal'''
{{!}} '''Last appearance'''
{{!}} {{{latest_portrayal}}}
{{!}} {{{last_appearance}}}
{{!}}-
}}
{{#if:{{{other_appearances|}}}|
{{!}} '''Other appearances'''
{{!}} {{{other_appearances}}}
{{!}}-
}}
{{#if:{{{created_by|}}}|
{{!}} '''Created by'''
{{!}} {{{created_by}}}
{{!}}-
{{!}}-
}}
}}
Line 27: Line 37:
{{!}} '''Portrayed by'''
{{!}} '''Portrayed by'''
{{!}} {{{portrayed_by}}}
{{!}} {{{portrayed_by}}}
{{!}}-
}}
{{#if:{{{latest_portrayal|}}}|
{{!}} '''Latest portrayal'''
{{!}} {{{latest_portrayal}}}
{{!}}-
{{!}}-
}}
}}
Line 32: Line 47:
{{!}} '''Full name'''
{{!}} '''Full name'''
{{!}} {{{full_name|}}}
{{!}} {{{full_name|}}}
{{!}}-
}}
{{#if:{{{other_names|}}}|
{{!}} '''Other names'''
{{!}} {{{other_names|}}}
{{!}}-
{{!}}-
}}
}}
Line 72: Line 92:
{{!}} '''Zodiac sign'''
{{!}} '''Zodiac sign'''
{{!}} {{{zodiac_sign}}}
{{!}} {{{zodiac_sign}}}
{{!}}-
}}
{{#if:{{{hair_color|}}}|
{{!}} '''Hair color'''
{{!}} {{{hair_color}}}
{{!}}-
}}
{{#if:{{{eye_color|}}}|
{{!}} '''Eye color'''
{{!}} {{{eye_color}}}
{{!}}-
{{!}}-
}}
}}
Line 92: Line 122:
{{!}} '''Affiliation(s)'''
{{!}} '''Affiliation(s)'''
{{!}} {{{affiliation}}}
{{!}} {{{affiliation}}}
{{!}}-
}}
{{#if:{{{relatives|}}}|
{{!}} '''Relatives'''
{{!}} {{{relatives}}}
{{!}}-
{{!}}-
}}
}}
Line 97: Line 132:
{{!}} '''Friends'''
{{!}} '''Friends'''
{{!}} {{{friends}}}
{{!}} {{{friends}}}
{{!}}-
}}
{{#if:{{{acquaintances|}}}|
{{!}} '''Acquaintances'''
{{!}} {{{acquaintances}}}
{{!}}-
}}
{{#if:{{{allies|}}}|
{{!}} '''Allies'''
{{!}} {{{allies}}}
{{!}}-
{{!}}-
}}
}}
Line 122: Line 167:
{{!}} '''Weapon of choice'''
{{!}} '''Weapon of choice'''
{{!}} {{{weapon}}}
{{!}} {{{weapon}}}
}}
{{#if:{{{weapons|}}}|
{{!}} '''Weapons'''
{{!}} {{{weapons}}}
}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
Line 127: Line 176:
{{!}} {{{status}}}
{{!}} {{{status}}}
{{!}}-
{{!}}-
{{#if:{{{location|}}}|
{{!}} '''Current location'''
{{!}} {{{location}}}
}}
}}
}}
|}<noinclude>
|}<noinclude>
==Parameters==
==Parameters==
All parameters are optional (except style and name, which are automatically set by default).
*<tt>style:</tt> What class you want to use for the infobox (default: <tt>character</tt>, which consists of a blue header, black background, blue border, and sky blue for every two rows).
*<tt>style:</tt> What class you want to use for the infobox (default: <tt>character</tt>, which consists of a blue header, black background, blue border, and sky blue for every two rows).
*<tt>name:</tt> By default this is the same as the page, but it can be changed if the page title differs from the page name.
*<tt>name:</tt> By default this is the same as the page, but it can be changed if the page title differs from the page name.
Line 136: Line 190:
*<tt>first_appearance:</tt> The first appearance of the character (can be both officially and within fanon media).
*<tt>first_appearance:</tt> The first appearance of the character (can be both officially and within fanon media).
*<tt>latest_appearance:</tt> The latest appearance of the character (can be both officially and within fanon media).
*<tt>latest_appearance:</tt> The latest appearance of the character (can be both officially and within fanon media).
*<tt>latest_portrayal:</tt> The person who most recently portrayed the character (use if the character has been portrayed by several other people prior).
*<tt>last_appearance:</tt> The final appearance of the character, if applicable.
*<tt>full_name:</tt> Add the character's full name here.
*<tt>other_appearances:</tt> Other appearances of the character.
*<tt>gender:</tt> List the character's gender here.
*<tt>created_by:</tt> The person or people who created the character.
*<tt>portrayed_by:</tt> The person or people who have portrayed the character.
*<tt>latest_portrayal:</tt> The person who most recently portrayed the character (can be used instead of "portrayed_by" if the character has been portrayed by multiple people).
*<tt>full_name:</tt> The character's full name.
*<tt>other_names:</tt> Any other names the character has gone by.
*<tt>gender:</tt> The character's gender.
*<tt>leader:</tt> If it is a group of characters, list their leader here.
*<tt>leader:</tt> If it is a group of characters, list their leader here.
*<tt>members:</tt> If it is a group of characters, list the members here.
*<tt>members:</tt> If it is a group of characters, list the members here.
*<tt>species:</tt> A character's species.
*<tt>species:</tt> The character's species.
*<tt>species_origin:</tt> Use this to list the real-world species that the character is based on if they are a fictional species.
*<tt>species_origin:</tt> The real-world species that the character is based on if they are a fictional species.
*<tt>age:</tt> Add the character's age here.
*<tt>age:</tt> The character's age.
*<tt>date_of_birth:</tt> The day when the character was born.
*<tt>date_of_birth:</tt> The day when the character was born.
*<tt>zodiac_sign:</tt> The zodiac sign of the character.
*<tt>zodiac_sign:</tt> The zodiac sign of the character.
*<tt>hair_color:</tt> The color of the character's hair.
*<tt>eye_color:</tt> The color of the character's eyes.
*<tt>hometown:</tt> The hometown of the character.
*<tt>hometown:</tt> The hometown of the character.
*<tt>nationality:</tt> The nationality of the character.
*<tt>nationality:</tt> The nationality of the character.
*<tt>occupation:</tt> This is for any jobs that the character has.
*<tt>occupation:</tt> Any jobs that the character does.
*<tt>affiliation:</tt> Any groups or parties the character is affiliated with.
*<tt>affiliation:</tt> Any groups or parties the character is affiliated with.
*<tt>friends:</tt> These are the character's friends.
*<tt>relatives:</tt> Any relatives that the character has.
*<tt>enemies:</tt> These are the character's enemies.
*<tt>friends:</tt> The character's friends.
*<tt>acquaintances:</tt> The character's acquaintances.
*<tt>allies:</tt> The character's allies.
*<tt>enemies:</tt> The character's enemies.
*<tt>likes:</tt> Things that the character is known to like.
*<tt>likes:</tt> Things that the character is known to like.
*<tt>dislikes:</tt> Things that the character is known to dislike.
*<tt>dislikes:</tt> Things that the character is known to dislike.
*<tt>abilities:</tt> The abilities used by a character.
*<tt>abilities:</tt> The abilities used by the character.
*<tt>weapon:</tt> The main or favorite weapon used by a character.
*<tt>weapon:</tt> The main or favorite weapon used by the character.
*<tt>weapons:</tt> Weapons used by the character (can be used instead of "weapon" if the character uses multiple weapons).
*<tt>status:</tt> Can be used to note the status of a character (e.g. alive or dead) or group (e.g. active or inactive).
*<tt>status:</tt> Can be used to note the status of a character (e.g. alive or dead) or group (e.g. active or inactive).
*<tt>location:</tt> The current location of the character.


==Blank template==
==Blank template==
Line 167: Line 233:
|first_appearance=
|first_appearance=
|latest_appearance=
|latest_appearance=
|last_appearance=
|other_appearances=
|created_by=
|portrayed_by=
|latest_portrayal=
|latest_portrayal=
|full_name=
|full_name=
|other_names=
|gender=
|gender=
|leader=
|leader=
Line 177: Line 248:
|date_of_birth=
|date_of_birth=
|zodiac_sign=
|zodiac_sign=
|hair_color=
|eye_color=
|hometown=
|hometown=
|nationality=
|nationality=
|occupation=
|occupation=
|affiliation=
|affiliation=
|relatives=
|friends=
|friends=
|acquaintances=
|allies=
|enemies=
|enemies=
|likes=
|likes=
Line 187: Line 263:
|abilities=
|abilities=
|weapon=
|weapon=
|weapons=
|status=
|status=
|location=
}}
}}
</pre>
</pre>

Latest revision as of 13:54, June 16, 2024

Character infobox

Parameters[edit]

All parameters are optional (except style and name, which are automatically set by default).

  • style: What class you want to use for the infobox (default: character, which consists of a blue header, black background, blue border, and sky blue for every two rows).
  • name: By default this is the same as the page, but it can be changed if the page title differs from the page name.
  • image: A depiction of the character.
  • franchise: The character's franchise of origin (whether official or fanon).
  • first_appearance: The first appearance of the character (can be both officially and within fanon media).
  • latest_appearance: The latest appearance of the character (can be both officially and within fanon media).
  • last_appearance: The final appearance of the character, if applicable.
  • other_appearances: Other appearances of the character.
  • created_by: The person or people who created the character.
  • portrayed_by: The person or people who have portrayed the character.
  • latest_portrayal: The person who most recently portrayed the character (can be used instead of "portrayed_by" if the character has been portrayed by multiple people).
  • full_name: The character's full name.
  • other_names: Any other names the character has gone by.
  • gender: The character's gender.
  • leader: If it is a group of characters, list their leader here.
  • members: If it is a group of characters, list the members here.
  • species: The character's species.
  • species_origin: The real-world species that the character is based on if they are a fictional species.
  • age: The character's age.
  • date_of_birth: The day when the character was born.
  • zodiac_sign: The zodiac sign of the character.
  • hair_color: The color of the character's hair.
  • eye_color: The color of the character's eyes.
  • hometown: The hometown of the character.
  • nationality: The nationality of the character.
  • occupation: Any jobs that the character does.
  • affiliation: Any groups or parties the character is affiliated with.
  • relatives: Any relatives that the character has.
  • friends: The character's friends.
  • acquaintances: The character's acquaintances.
  • allies: The character's allies.
  • enemies: The character's enemies.
  • likes: Things that the character is known to like.
  • dislikes: Things that the character is known to dislike.
  • abilities: The abilities used by the character.
  • weapon: The main or favorite weapon used by the character.
  • weapons: Weapons used by the character (can be used instead of "weapon" if the character uses multiple weapons).
  • status: Can be used to note the status of a character (e.g. alive or dead) or group (e.g. active or inactive).
  • location: The current location of the character.

Blank template[edit]

{{character infobox
|style=
|name=
|image=
|franchise=
|first_appearance=
|latest_appearance=
|last_appearance=
|other_appearances=
|created_by=
|portrayed_by=
|latest_portrayal=
|full_name=
|other_names=
|gender=
|leader=
|members=
|species=
|species_origin=
|age=
|date_of_birth=
|zodiac_sign=
|hair_color=
|eye_color=
|hometown=
|nationality=
|occupation=
|affiliation=
|relatives=
|friends=
|acquaintances=
|allies=
|enemies=
|likes=
|dislikes=
|abilities=
|weapon=
|weapons=
|status=
|location=
}}