Template:Character Navigation: Difference between revisions

From Baten Kaitos Wiki
mNo edit summary
(Added option for blank fields)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="roundy" style="background: #1E90FF; width: 100%; margin: 5px;"
<noinclude>
To use, paste:
{| class="wikitable"
|+ |
! {{[[Template:Character Navigation|Character Navigation|1|2|3|4]]}}
|-
|-
| class="roundy{{#if: {{{prev-a|}}}|tl|left}}" width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{prev-a|}}}|1|2}}" |  
|}
{| class="roundy" style="background: #A6D4FF; width: 100%;"
Replace numbers accordingly:<br>
| width="50%" |[[Gibari|<-- Gibari]] [[File:Use Item Gibari.png|link=Gibari]]
1 = Previous Character Name<br>
2 = Image Filename<br>
3 = Next Character Name<br>
4 = Image Filename</noinclude>
{|style="background: #1E90FF; width: 100%; margin: 5px;"
|-
| {{#if: {{{prev-a|}}}|tl|left}}" width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{prev-a|}}}|1|2}}" |  
{|style="background: #A6D4FF; width: 100%;"
| width="50%" |{{#if:{{{1}}}|[[{{{1}}}{{!}}<-- {{{1}}}]] [[File:{{{2}}}{{!}}link={{{1}}}]]|}}


|}
|}
| style="text-align:center; background: #A6D4FF;" rowspan="2" | [[:Category:Characters|Characters]]
| style="text-align:center; background: #A6D4FF;" rowspan="2" | [[:Category:Characters|Characters]]
| class="roundy{{#if: {{{next-a|}}}|tr|right}}" width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{next-a|}}}|1|2}}" |  
|width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{next-a|}}}|1|2}}" |  
{| class="roundy" style="background: #A6D4FF; width: 100%;"
{|style="background: #A6D4FF; width: 100%;"
| style="text-align:right;" width="50%" | [[File:Use Item Kalas.png|link=Kalas]] [[Kalas|Kalas -->]]
| style="text-align:right;" width="50%" | {{#if:{{{3}}}|[[File:{{{4}}}{{!}}link={{{3}}}]] [[{{{3}}}{{!}}{{{3}}} -->]]|}}
|}
|}
|-
|-
<noinclude>[[Category:Navigation 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}}} -->]]