Template:PI character group/doc
From Anthrodia Atlas
| This is a documentation subpage for Template:PI character group. 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 groups of fictional characters within a franchise (series).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title (main header) of infobox; optional, by default uses page name. | Content | optional |
| Image | image | 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. | File | optional |
| Image caption | caption | Caption text for image; optional. If <gallery> is used in image parameter, caption will be ignored. | Content | optional |
| Affiliation | affiliation | The main (larger) group or major character the group described in the article belongs to. | Content | optional |
| Alignment | alignment | The group's alignment (good, evil, etc). | Content | optional |
| Notable members | members | Notable members of the group; can be formatted inline with commas, separate lines with <br> or as bullet list with *. | Content | optional |
| Status | status | Possible status of the group. | Content | optional |
| First appearance | debut | First appearance (debut) of the group in media. | Content | optional |
| Other articles | more | Links to related to the group articles. | Content | optional |
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.csspage 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.