Template:Role: Difference between revisions

From Alfred Jodocus Kwak Wiki
No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
Automatically gets the page number for further queries splitting PAGENAME by a space and getting the last item.
Automatically gets the episode number for further queries splitting PAGENAME by a space and getting the last item.<br>e.g. '1' from [[Alfred J. Kwak Episode 1]]


This template utilizes the following templates:<br>
This template utilizes the following templates:<br>
Line 9: Line 9:
Usage:
Usage:
<pre>{{Role|JPN|Henk de Mol|Main}}</pre>
<pre>{{Role|JPN|Henk de Mol|Main}}</pre>
</noinclude>


{{Card
<!--{{Role|JPN|Henk de Mol|Main}}-->
</noinclude>{{Card
|{{{2}}}
|{{{2}}}
|{{{3}}}
|{{{3}}}
|{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}
|{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}
|{{{1}}}
|{{{1}}}
|{{PAGENAME}}_{{2}}.jpg
|[[File:{{PAGENAME}}_{{{2}}}.jpg|x90px]]
|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}}}_Role.jpg
|[[File:{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}_Role.jpg|x90px]]
}}
}}

Latest revision as of 19:22, 28 November 2025

Automatically gets the episode number for further queries splitting PAGENAME by a space and getting the last item.
e.g. '1' from Alfred J. Kwak Episode 1

This template utilizes the following templates:
Template:Card - Barebones card table.
Template:Staff_Name - Stylized staff-name (TODO: delete and use User:Dougurasu's version instead(?)).
Template:CharVA - Get character voice actor by language and episode number.

Usage:

{{Role|JPN|Henk de Mol|Main}}


[[File:Role_{{{2}}}.jpg|x90px]]

{{{2}}}

{{{3}}}

N/A

{{{1}}}

[[File:

N/A_Role.jpg|x90px]]