Difference between revisions of "Template:Headshot-index"
Jump to navigation
Jump to search
(experimental testing) |
|||
Line 1: | Line 1: | ||
− | <includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-2px; border: 2px solid #929292;><b><u>{{{ | + | <includeonly><span style="display: inline-block; text-align:center; font-size:120%; font-family:Poppins; margin:-2px; border: 2px solid #929292;><b><u>{{{name|}}}</u></b><br>{{#if: {{{exte|}}}|[[File:{{{name|}}}-Headshot-{{{exte|}}}.png|125px|link={{{name|}}}]]|[[File:{{{name|}}}-Headshot.png|125px|link={{{name|}}}]]}}</span></includeonly><noinclude> |
+ | ==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--[[User:Spotty McBumble Fuck|Spotty McBumble Fuck]] ([[User talk:Spotty McBumble Fuck|talk]]) 16:09, 9 May 2024 (UTC) | ||
+ | ==Usage== | ||
+ | {{Headshot-index|name = Harpy Thief|exte=1}} | ||
+ | {{Headshot-index|name = Harpy Thief|exte=2}} | ||
+ | {{Headshot-index|name = Benny}} | ||
+ | <pre><nowiki> | ||
{{Headshot-index | {{Headshot-index | ||
− | | | + | |name= |
− | | | + | |exte= |
}} | }} | ||
− | + | 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 | |
− | + | </nowiki></pre></noinclude> | |
− | |||
− | |||
− |
Revision as of 16:09, 9 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
125px
Harpy Thief
125px
Benny
125px
{{Headshot-index |name= |exte= }} 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