Template:WikiHeadshot-index

From Corruption of Champions II
Revision as of 03:00, 21 June 2024 by Spotty McBumble Fuck (talk | contribs) (added exte)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Crediting

Inspiration for this index style and dpl usage is from the T-Doll Index page in the IOP Wiki. Special thanks to canyada/canada on the MediaWiki discord for the dpl format parameter.

Addition of a text parameter in the event a character needs one, mainly to do with races and distinguishing special traits, although I'm not sure how to deal with the extra header in solo cases, might be a problem that can be fixed is placed in a table.--Spotty McBumble Fuck (talk) 10:20, 14 May 2024 (UTC)

Usage

Hethia
(Boreal Elf)
Hethia-WikiHeadshot.png
Hana
Hana-WikiHeadshot.png
Mistress Matiha
Mistress Matiha-WikiHeadshot-Eldritch.png

Standard Solo Usage:
{{WikiHeadshot-index|name=|text=}}
Parameters:
 - name = Character page name
 - text = Additional text if necessary, if unused, simply remove the entire "text =" 
 - exte = in the event an alternate image is used

Hethia
Hethia-WikiHeadshot.png
Cait
Cait-WikiHeadshot.png

                                                             
Integration with DynamicPageList:
{{#dpl: 
|category= Characters & Art-Moira
|notcategory = Groups
|format=,{{WikiHeadshot-index|name=%TITLE%}},
}}
This template can be used under dpl, supposedly creating an automatic and seamless wikiheadshot list. Images should be reformatted to include specific art categories.