Template:StoryBar: Difference between revisions
From Elwiki
Gameboy224 (talk | contribs) No edit summary |
Gameboy224 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div style="padding: 0; float: center; clear: center; position: relative;"> | <div style="padding: 0; float: center; clear: center; position: relative;"> | ||
{| style="border:2px solid {{ColorSel}};background: {{{ | {| style="border:2px solid {{ColorSel}};background: {{{color|}}}; margin:5px auto;width:100%" | ||
|- | |- | ||
| width="40%"| | | width="40%"| | ||
{| style="{{#if:{{{PrevCh|}}}||display:none;}} background: {{{ | {| style="{{#if:{{{PrevCh|}}}||display:none;}} background: {{{colordark|}}}; width:100%" | ||
|width="5%"|{{#if:{{{PrevCh|}}}|[[Story/{{{PrevCh}}}|<font color=white>←</font>]]}} | |width="5%"|{{#if:{{{PrevCh|}}}|[[Story/{{{PrevCh}}}|<font color=white>←</font>]]}} | ||
|{{#if:{{{PrevCh|}}}|<font color=white>{{{PrevNum}}}:</font>[[Story/{{{PrevCh}}}|<font color=white>{{#if:{{{PrevName|}}}|''{{{PrevName}}}''}}</font>]]}} | |{{#if:{{{PrevCh|}}}|<font color=white>{{{PrevNum}}}:</font>[[Story/{{{PrevCh}}}|<font color=white>{{#if:{{{PrevName|}}}|''{{{PrevName}}}''}}</font>]]}} | ||
|} | |} | ||
| style="background: {{{ | | style="background: {{{colordark|}}}" width="20%" align=center | [[Story/{{{CurCh|}}}|<font color=white><font color=white>{{{CurNum}}}:'''{{{CurName|}}}'''</font>]] | ||
| width="40%"| | | width="40%"| | ||
{| style="{{#if:{{{NextCh|}}}||display:none;}} background: {{{ | {| style="{{#if:{{{NextCh|}}}||display:none;}} background: {{{colordark|}}}; width:100%" | ||
|{{#if:{{{NextCh|}}}|<font color=white>{{{NextNum}}}:</font>[[Story/{{{NextCh}}}|<font color=white>{{#if:{{{NextName|}}}|''{{{NextName}}}''}}</font>]]}} | |{{#if:{{{NextCh|}}}|<font color=white>{{{NextNum}}}:</font>[[Story/{{{NextCh}}}|<font color=white>{{#if:{{{NextName|}}}|''{{{NextName}}}''}}</font>]]}} | ||
|width="5%"|{{#if:{{{NextCh|}}}|[[Story/{{{NextCh}}}|<font color=white>→</font>]]}} | |width="5%"|{{#if:{{{NextCh|}}}|[[Story/{{{NextCh}}}|<font color=white>→</font>]]}} |