Template:PI character/doc
From Anthrodia Atlas
| This is a documentation subpage for Template:PI character. It contains usage information, categories and other content that is not part of the original page. |
Description
This infobox template is built with the PortableInfobox (PI) extension. It should be used in articles about fictional characters.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the character which will appear as main header of the infobox; optional, by default uses page name. | Content | optional |
| Image | image | Image file which represent the character, to be used in infobox; should be just name of the file with file extension. Can support several images with the use of <gallery> tag. | File | optional |
| Image caption | caption | Caption text for image; optional. If <gallery> is used in image parameter, caption will be ignored. | Content | optional |
| Full name | fullname | Full name of the character is available. | Content | optional |
| Nickname | nickname | Nicknames used by or applied to the character; can be formatted inline with commas, separate lines with <br> or as bullet list with *. | Content | optional |
| Species | species | Species to which the character belongs to. | Content | optional |
| Nationality | nationality | Nationality to which the character belongs to. | Content | optional |
| Gender | gender | Gender of the character. | Content | optional |
| Age | age | Age of the character. | Number | optional |
| Origin | origin | Place of origin of the character. | Content | optional |
| Title | title | Titles the character is known by. | Content | optional |
| Occupation | occupation | The character's job or role. | Content | optional |
| Affiliation | affiliation | The groups or teams the character belongs to. | Content | optional |
| Alignment | alignment | The character's alignment (good, evil, etc). | Content | optional |
| Power | power | The types of powers the character uses. | Content | optional |
| Weapon | weapon | The types of weapons the character uses. | Content | optional |
| Relationships | relationships | List of other characters and what type of relationships they have with character that is subject of the article. | Content | optional |
| Status | status | Possible status of the character. | Content | optional |
| Series | series | Name of the series (franchise) which the character belongs to. | Content | optional |
| First appearance | debut | First appearance (debut) of the character in media. | Content | optional |
| Creator | creator | Name of or link to article about character's creator. | Content | optional |
| Designer | design | Name of or link to article about character's designer. | Content | optional |
| Actor | actor | Name of or link to article about individual(s) (such as live action actors) who portrayed the character. | Content | optional |
| Voice actor | voiceactor | Name of or link to article about voice actor(s) who portrayed the character. | Content | optional |
| Disambiguation page link | disambig | Optional parameter to provide a link to corresponding disambiguation page; requires only name without link brackets ([[]]). | Content | optional |
Syntax
Bellow is a boilerplate of infobox which can be copied and filled up in source editor:
{{PI character
|name =
|image =
|caption =
|fullname =
|nickname =
|species =
|nationality =
|gender =
|age =
|origin =
|title =
|occupation =
|affiliation =
|alignment =
|power =
|weapon =
|relationships =
|status =
|series =
|debut =
|creator =
|design =
|actor =
|voiceactor =
|disambig =
}}
Usage example
Bellow is an example of template's code with filled up parameters:
{{PI character
|name = Akira Fudo
|image = De Alice's Abenteuer im Wunderland Carroll pic 15.jpg
|caption = Akira Fudo in ''Devilman'' manga
|nickname = Devilman
|species = [[Devilmen|Devilman]]
|nationality = Japanese
|gender = Male
|age = Teenager
|occupation = Student
|affiliation = Devilmen
|alignment = Good
|power = super strength, super speed, high agility, flight, sharp teeth and claws, tail whip, regeneration, energy beam, fire breath
|relationships = Miki Makimura (love interest) <br>Ryo Asuka (friend)
|series = [[Devilman (franshise)|Devilman]]
|debut = [[Devilman (TV)|Devilman]] (TV series)
|creator = [[Go Nagai]]
|design = Go Nagai
|voiceactor = [[w:Sho Hayami|Sho Hayami]] {{country flag|Japan}} (OVA)
|disambig = Akira Fudo}}
See the result on the right (links are omitted).
Notes
These are notes provided by Miraheze Developers Wiki (they can be removed after import):
- When importing this template to another wiki, you should enable extension PortableInfobox at Special:ManageWiki/extensions#mw-section-parserhooks, and might need to make an empty or small edit in newly created template for it to start working.
- To change visual appearance of portable infobox, modify its CSS at wiki's
MediaWiki:Common.csspage or by using TemplateStyles extension. - Upon import to another wiki the title can be changed to just "character" or whatever user prefers, so use that title instead of "PI character" in the beginning of the boilerplate code.
- This documentation contains TemplateData to provide parameters in visual editor.