Difference between revisions of "Template:Book"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 76: | Line 76: | ||
{{#widget:BookNavTabs | {{#widget:BookNavTabs | ||
|relatedTab={{#ifeq: {{{ AddRelatedTab | }}} | Yes | d-block | d-none }} | |relatedTab={{#ifeq: {{{ AddRelatedTab | }}} | Yes | d-block | d-none }} | ||
+ | |quoteTab={{#if: {{{ QuotesTabContent | }}} | d-block | d-none }} | ||
}} | }} | ||
<div class="tab-content" id="nav-tabContent"> | <div class="tab-content" id="nav-tabContent"> | ||
Line 82: | Line 83: | ||
<div class="tab-pane fade" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab">{{{ BookEssay | }}}</div> | <div class="tab-pane fade" id="nav-about" role="tabpanel" aria-labelledby="nav-about-tab">{{{ BookEssay | }}}</div> | ||
<div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{#external_value:citationofsourcetexts}}</div> | <div class="tab-pane fade disabled-red-links" id="nav-translated" role="tabpanel" aria-labelledby="nav-translated-tab">{{#external_value:citationofsourcetexts}}</div> | ||
− | <div class="tab-pane fade" id="nav-related" role="tabpanel" aria-labelledby="nav-related-tab">Related Content</div> | + | <div class="tab-pane fade" id="nav-related" role="tabpanel" aria-labelledby="nav-related-tab">Related Content</div>{{#if: {{{ QuotesTabContent | }}} | |
− | <div class="tab-pane fade" id="nav-quotes" role="tabpanel" aria-labelledby="nav-quotes-tab">{{{ QuotesTabContent | }}}</div> | + | <div class="tab-pane fade" id="nav-quotes" role="tabpanel" aria-labelledby="nav-quotes-tab">{{{ QuotesTabContent | }}}</div> | }} |
</div> | </div> | ||
</div> | </div> |