Template:Role: Difference between revisions

From Alfred Jodocus Kwak Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
Automatically gets the page number for further queries splitting PAGENAME by a space and getting the last item.
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>
</noinclude>
<div style="display:inline-block; margin-right:5px;">
 
{| class="rolecard"
{{Card
| class="img-cell" | <p>[[File:{{PAGENAME}}_{{2}}.jpg|x90px]]</p>
|{{{2}}}
| class="data-cell" style="align-items: flex-start;" |
|{{{3}}}
<p>{{{2}}}</p>
|{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}
<p>{{{3}}}</p>
|{{{1}}}
| class="data-cell" style="align-items: flex-end;" |
|{{PAGENAME}}_{{2}}.jpg
<p>{{Staff_Name|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}|{{{2}}}}}}}</p>
|{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}| |-1}}}}_Role.jpg
<p>{{{1}}}</p>
}}
| class="img-cell" | <p>[[File:{{CharVA|{{{1}}}|{{#explode:{{PAGENAME}}_Role.jpg|x90px]]</p>
|}
</div>

Revision as of 13:21, 28 November 2025

Automatically gets the page number for further queries splitting PAGENAME by a space and getting the last item.

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


Role_Template:2.jpg

{{{2}}}

{{{3}}}

N/A

{{{1}}}

N/A_Role.jpg