Template:Character Navigation: Difference between revisions

From Baten Kaitos Wiki
m (testing)
(Added option for blank fields)
 
Line 21: Line 21:
|width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{next-a|}}}|1|2}}" |  
|width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{next-a|}}}|1|2}}" |  
{|style="background: #A6D4FF; width: 100%;"
{|style="background: #A6D4FF; width: 100%;"
| style="text-align:right;" width="50%" | [[File:{{{4}}}|link={{{3}}}]] [[{{{3}}}|{{{3}}} -->]]
| style="text-align:right;" width="50%" | {{#if:{{{3}}}|[[File:{{{4}}}{{!}}link={{{3}}}]] [[{{{3}}}{{!}}{{{3}}} -->]]|}}
|}
|}
|-
|-
<noinclude>[[Category:Character Templates]]</noinclude>
<noinclude>[[Category:Character Templates]]</noinclude>

Latest revision as of 00:38, 24 August 2024

To use, paste:

{{Character Navigation|1|2|3|4}}

Replace numbers accordingly:
1 = Previous Character Name
2 = Image Filename
3 = Next Character Name
4 = Image Filename

[[{{{1}}}|<-- {{{1}}}]] [[File:{{{2}}}|link={{{1}}}]]
Characters
[[File:{{{4}}}|link={{{3}}}]] [[{{{3}}}|{{{3}}} -->]]