Template:ChapterBar: Difference between revisions

m
no edit summary
m (Boxsnake moved page User:IceSoulMOG/Test5 to Template:ChapterBar without leaving a redirect)
mNo edit summary
Line 39: Line 39:
           --></div>
           --></div>
           <div style="flex: auto; text-align: right;"><!--
           <div style="flex: auto; text-align: right;"><!--
             --><i>{{{PrevNum{{#var:key}}|}}}:{{#if:{{{PrevLink{{#var:key}}|}}}
             --><i>{{{PrevNum{{#var:key}}|}}}{{{TextColon|}}}{{#if:{{{PrevLink{{#var:key}}|}}}
               | [[{{{PrevLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#FFFFFF}}}">{{#var:value}}</font>]]
               | [[{{{PrevLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#FFFFFF}}}">{{#var:value}}</font>]]
               | {{#var:value}}
               | {{#var:value}}
Line 55: Line 55:
     padding: .2rem .5rem;
     padding: .2rem .5rem;
     text-align: center;
     text-align: center;
     color: {{{ColorBgText|#FFFFFF}}};"><!--
     color: {{{ColorBgText|#fff}}};"><!--
       --><b>{{{CurNum|}}}:{{{CurName|}}}</b><!--
       --><b>{{#if:{{{CurLink|}}}
        | [[{{{CurLink|}}}|<font color="{{{ColorBgText|#fff}}}">{{{CurName|}}}</font>]]
        | {{{CurNum|}}}{{{TextColon|}}}{{{CurName|}}}
      }}</b><!--
   --></div>
   --></div>
   <div style="
   <div style="
Line 68: Line 71:
     border-bottom-right-radius: 10px;
     border-bottom-right-radius: 10px;
     padding: .2rem .5rem;
     padding: .2rem .5rem;
     color: {{{ColorFgText|#FFFFFF}}};"><!--
     color: {{{ColorFgText|#fff}}};"><!--
       -->{{#forargs: NextName
       -->{{#forargs: NextName
         | key
         | key
Line 75: Line 78:
         <div style="display: flex;">
         <div style="display: flex;">
           <div style="flex: auto; text-align: left;"><!--
           <div style="flex: auto; text-align: left;"><!--
             --><i>{{{NextNum{{#var:key}}|}}}:{{#if:{{{NextLink{{#var:key}}|}}}
             --><i>{{{NextNum{{#var:key}}|}}}{{{TextColon|}}}{{#if:{{{NextLink{{#var:key}}|}}}
               | [[{{{NextLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#FFFFFF}}}">{{#var:value}}</font>]]
               | [[{{{NextLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#fff}}}">{{#var:value}}</font>]]
               | {{#var:value}}
               | {{#var:value}}
             }}</i><!--
             }}</i><!--
Line 82: Line 85:
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: right;"><!--
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: right;"><!--
             -->{{#if:{{{NextLink{{#var:key}}|}}}
             -->{{#if:{{{NextLink{{#var:key}}|}}}
               | [[{{{NextLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#FFFFFF}}}">→</font>]]
               | [[{{{NextLink{{#var:key}}|}}}|<font color="{{{ColorFgText|#fff}}}">→</font>]]
               | →
               | →
             }}<!--
             }}<!--