Template:ChapterBar: Difference between revisions
From Elwiki
mNo edit summary |
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 29: | Line 29: | ||
--></div> | --></div> | ||
</div> | </div> | ||
}} | }}<!-- | ||
</div> | --></div> | ||
<div style=" | <div style=" | ||
display: flex; | display: flex; | ||
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 | ||
| <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|}}}|}}} | |||
| [[{{{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> |