Difference between revisions of "Template:Headshot-index"

From Corruption of Champions II
Jump to navigation Jump to search
m
m
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
{{Headshot-index|name = Harpy Thief|exte=1|art=DCL}}
+
{{Headshot-index|name = Harpy Thief|exte=1|art=DCL}}{{Headshot-index|name = Harpy Thief|exte=2|art=DCL}}{{Headshot-index|name = Benny|art=DCL}}
{{Headshot-index|name = Harpy Thief|exte=2|art=DCL}}
 
{{Headshot-index|name = Benny|art=DCL}}
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Headshot-index
 
{{Headshot-index

Revision as of 14:00, 14 May 2024

Crediting

Based on the implementation of Template:WikiHeadshot-index, modified to for characters that have more than one headshot, mainly for generics. The problem is, I don't think this implementation can use DPL considering its only one character/page and there is a repeat, I may have to do this manually--Spotty McBumble Fuck (talk) 16:09, 9 May 2024 (UTC)

Usage

Harpy Thief
Harpy Thief-DCL-Headshot-1.png
Harpy Thief
Harpy Thief-DCL-Headshot-2.png
Benny
Benny-DCL-Headshot.png

{{Headshot-index
|name= 
|exte=
|art=
}}
Parameters:
- name = use the exact page name
- exte = refers to the extension number in the file name (i.e. Harpy Thief-Headshot-1.png and Harpy Thief-Headshot-2.png), for those without extensions, simply remove/exclude exte