Template:Character Navigation: Difference between revisions
From Baten Kaitos Wiki
ChronosAbyss (talk | contribs) (Navigation Template is now modular) |
ChronosAbyss (talk | contribs) (Added option for blank fields) |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
| {{#if: {{{prev-a|}}}|tl|left}}" width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{prev-a|}}}|1|2}}" | | | {{#if: {{{prev-a|}}}|tl|left}}" width="35%" style="background: #A6D4FF;" rowspan="{{#if: {{{prev-a|}}}|1|2}}" | | ||
{|style="background: #A6D4FF; width: 100%;" | {|style="background: #A6D4FF; width: 100%;" | ||
| width="50%" |[[{{{1}}} | | width="50%" |{{#if:{{{1}}}|[[{{{1}}}{{!}}<-- {{{1}}}]] [[File:{{{2}}}{{!}}link={{{1}}}]]|}} | ||
|} | |} | ||
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}}} | | style="text-align:right;" width="50%" | {{#if:{{{3}}}|[[File:{{{4}}}{{!}}link={{{3}}}]] [[{{{3}}}{{!}}{{{3}}} -->]]|}} | ||
|} | |} | ||
|- | |- | ||
<noinclude>[[Category: | <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
|
Characters |
|