Template:StoryBar: Difference between revisions

From Elwiki
No edit summary
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: {{{colordark|}}}; margin:5px auto;width:100%"
{| style="border:2px solid {{ColorSel}};background: {{{color|}}}; margin:5px auto;width:100%"
|-
|-
| width="40%"|  
| width="40%"|  
{| style="{{#if:{{{PrevCh|}}}||display:none;}} background: {{{color|}}}; width:100%"
{| 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: {{{color|}}}" width="20%" align=center | [[Story/{{{CurCh|}}}|<font color=white><font color=white>{{{CurNum}}}:'''{{{CurName|}}}'''</font>]]
| 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: {{{color|}}}; width:100%"
{| 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>]]}}

Revision as of 19:01, 21 September 2021