Actions

Template

Template:PI character group/doc

From Anthrodia Atlas

Description

This infobox template is built with the PortableInfobox (PI) extension. It should be used in articles about groups of fictional characters within a franchise (series).

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title (main header) of infobox; optional, by default uses page name.

Contentoptional
Imageimage

Image file which represent the group, 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.

Fileoptional
Image captioncaption

Caption text for image; optional. If <gallery> is used in image parameter, caption will be ignored.

Contentoptional
Affiliationaffiliation

The main (larger) group or major character the group described in the article belongs to.

Contentoptional
Alignmentalignment

The group's alignment (good, evil, etc).

Contentoptional
Notable membersmembers

Notable members of the group; can be formatted inline with commas, separate lines with <br> or as bullet list with *.

Contentoptional
Statusstatus

Possible status of the group.

Contentoptional
First appearancedebut

First appearance (debut) of the group in media.

Contentoptional
Other articlesmore

Links to related to the group articles.

Contentoptional

Syntax

Bellow is a boilerplate of infobox which can be copied and filled up in source editor:

{{PI character group
|title = 
|image = 
|caption = 
|affiliation = 
|alignment = 
|members = 
|status = 
|debut = 
|more = 
}}

Usage example

Bellow is an example of template's code with filled up parameters:

{{PI character group
|title = Demons
|image = De Alice's Abenteuer im Wunderland Carroll pic 15.jpg
|caption = Demons in ''Devilman Grimoire'' manga
|affiliation = [[Satan]]
|alignment = Evil
|members = 
* [[Amon]]
* [[Sirene]]
* [[Jinmen]]
* [[Zennon]]
* [[Psycho Jenny]]
|debut = [[Devilman (TV)|Devilman]] (TV series)
|more = [[Demons (Dante)]]
}}

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.css page or by using TemplateStyles extension.
  • Upon import to another wiki the title can be changed to just "group" or whatever user prefers, so use that title instead of "PI character group" in the beginning of the boilerplate code.
  • This documentation contains TemplateData to provide parameters in visual editor.