Difference between revisions of "Template:Book"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 59: Line 59:
 
|AddQuotesTab={{{ AddQuotesTab | }}}
 
|AddQuotesTab={{{ AddQuotesTab | }}}
 
|QuotesTabContent={{{ QuotesTabContent | }}}
 
|QuotesTabContent={{{ QuotesTabContent | }}}
 +
|AddRelatedTab={{{ AddRelatedTab | }}}
 
}}{{#switch: {{{ PostStatus | }}}
 
}}{{#switch: {{{ PostStatus | }}}
 
|Needs Copy Editing={{Needs Copywriting}}
 
|Needs Copy Editing={{Needs Copywriting}}
Line 103: Line 104:
 
<div class="bnw-tabs-label">About the book</div> | }}{{#if: {{{ BookToc | }}} |
 
<div class="bnw-tabs-label">About the book</div> | }}{{#if: {{{ BookToc | }}} |
 
<div class="bnw-tabs-label">Table of Contents</div> | }}{{#if: {{#external_value:citationofsourcetexts}} |  
 
<div class="bnw-tabs-label">Table of Contents</div> | }}{{#if: {{#external_value:citationofsourcetexts}} |  
<div class="bnw-tabs-label">Texts Translated</div> | }}
+
<div class="bnw-tabs-label">Texts Translated</div> | }}{{#ifeq: {{{ AddRelatedTab | }}} | Yes |
<div class="bnw-tabs-label">Related Content</div>{{#ifeq: {{{ AddQuotesTab | }}} | Yes |
+
<div class="bnw-tabs-label">Related Content</div> | }}{{#ifeq: {{{ AddQuotesTab | }}} | Yes |
 
<div class="bnw-tabs-label">Quotes</div> | }}
 
<div class="bnw-tabs-label">Quotes</div> | }}
 
</div>
 
</div>

Revision as of 13:59, 25 April 2018