Template:ChapterBar: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 51: Line 51:
     border-top-right-radius: 2rem;
     border-top-right-radius: 2rem;
     border-bottom-right-radius: 2rem;
     border-bottom-right-radius: 2rem;
     padding: .2rem .5rem;"><!--
     padding: .2rem .5rem;">
       -->{{#forargs: NextCh
       {{#forargs: NextCh
         | key
         | key
         | value
         | value
Line 58: Line 58:
         <div style="display: flex;">
         <div style="display: flex;">
           <div style="flex: auto; text-align: left;">
           <div style="flex: auto; text-align: left;">
             ''{{#if:{{{NextChLink{{{key|}}}|}}}
             ''{{#if:{{{NextChLink{{{key|}}}|}}} | [[{{{NextChLink{{{key|}}}|}}}|{{{value|}}} | {{{value|}}} }}''
              | [[{{{NextChLink{{{key|}}}|}}}|{{{value|}}}
              | {{{value|}}}
            }}''
             </div>
             </div>
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: right;">→</div>
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: right;">→</div>
         </div>
         </div>
      }}
   </div>
   </div>
</div>
</div>

Revision as of 18:55, 15 October 2021

     {{#forargs: PrevCh
       | key
       | value
       | 
           {{#if:
             | [[|
             | 
           }}
     }}
     '
     {{#forargs: NextCh
       | key
       | value
       | 
           {{#if: | [[| |  }}
     }}