Template:Role: Difference between revisions

From Alfred Jodocus Kwak Wiki
No edit summary
No edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
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>
[[Template:Card]] - Barebones card table.<br>
[[Template:Staff_Name]] - Stylized staff-name (TODO: delete and use [[User:Dougurasu]]'s version instead(?)).<br>
[[Template:CharVA]] - Get character voice actor by language and episode number.<br>
Usage:
<pre>{{Role|JPN|Henk de Mol|Main}}</pre>
<pre>{{Role|JPN|Henk de Mol|Main}}</pre>
TODO: Formatting/Images/[[Wikihelp]]
 
</noinclude>
<!--{{Role|JPN|Henk de Mol|Main}}-->
<div style="display:inline-block; margin-right:5px;">
</noinclude>{{Card
{| class="rolecard"
|{{{2}}}
| class="img-cell" | <p>[[File:{{PAGENAME}}_{{2}}.jpg|x90px]]</p>
|{{{3}}}
| class="data-cell" style="align-items: flex-start;" |
|{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}
<p>{{{2}}}</p>
|{{{1}}}
<p>{{{3}}}</p>
|[[File:{{PAGENAME}}_{{{2}}}.jpg|x90px]]
| class="data-cell" style="align-items: flex-end;" |
|[[File:{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}_Role.jpg|x90px]]
<p>{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}</p>
}}
<p>{{{1}}}</p>
| class="img-cell" | <p>[[File:{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}_Role.jpg|x90px]]</p>
|}
</div>

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]]