Template:ChapterBar: Difference between revisions

From Elwiki
(Created page with "<div style=" display: flex; background-color: #0091cb; border: 3px solid #005ca7; padding: 3px; border-radius: 2rem; align-items: stretch;"> <div style=" dis...")
 
mNo edit summary
Line 15: Line 15:
     border-bottom-left-radius: 2rem;
     border-bottom-left-radius: 2rem;
     padding: .2rem .5rem;
     padding: .2rem .5rem;
     text-align: left;"><!--
     text-align: left;">
       -->{{#forargs: PrevCh|
       {{#forargs: PrevCh
         | key
         | key
         | value
         | value
Line 22: Line 22:
         <div style="display: flex;">
         <div style="display: flex;">
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: left;">←</div>
           <div style="flex: none; min-width: 2rem; max-width: 2rem; text-align: left;">←</div>
           <div style="flex: auto; text-align: right;"><!--
           <div style="flex: auto; text-align: right;">
             -->''{{#if:{{{PrevChLink{{{key|}}}|}}}
             ''{{#if:{{{PrevChLink{{{key|}}}|}}}
               | [[{{{PrevChLink{{{key|}}}|}}}|{{{value|}}}
               | [[{{{PrevChLink{{{key|}}}|}}}|{{{value|}}}
               | {{{value|}}}
               | {{{value|}}}
             }}''<!--
             }}''
           --></div>
           </div>
         </div>
         </div>
       }}<!--
       }}
   --></div>
   </div>
   <div style="
   <div style="
     display: flex;
     display: flex;
Line 52: Line 52:
     border-bottom-right-radius: 2rem;
     border-bottom-right-radius: 2rem;
     padding: .2rem .5rem;"><!--
     padding: .2rem .5rem;"><!--
       -->{{#forargs: NextCh|
       -->{{#forargs: NextCh
         | key
         | key
         | value
         | value
         | <nowiki />
         | <nowiki />
         <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|}}}
               | [[{{{NextChLink{{{key|}}}|}}}|{{{value|}}}
               | {{{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:47, 15 October 2021

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