Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(3 intermediate revisions by the same user not shown)
Line 25: Line 25:
 
| {{#if: {{{ AuthorPage | }}}
 
| {{#if: {{{ AuthorPage | }}}
 
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
 
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
| {{#if: {{DrlValue|authorlibwiki}}
+
| {{#if: {{DrlValue|Authorlibwiki}}
| {{#show: {{FirstValueOfArray|{{DrlValue|authorlibwiki}}|;}} |?MainNamePhon }}
+
| {{#show: {{FirstValueOfArray|{{DrlValue|Authorlibwiki}}|;}} |?MainNamePhon }}
 
| {{#if: {{DrlValue|translatorlibwiki}}
 
| {{#if: {{DrlValue|translatorlibwiki}}
 
| {{#show: {{FirstValueOfArray|{{DrlValue|translatorlibwiki}}|;}} |?MainNamePhon }}
 
| {{#show: {{FirstValueOfArray|{{DrlValue|translatorlibwiki}}|;}} |?MainNamePhon }}
Line 64: Line 64:
 
|#default={{GooglePdfSearch
 
|#default={{GooglePdfSearch
 
|{{#switch:{{DrlValue|BuNayPageType}}
 
|{{#switch:{{DrlValue|BuNayPageType}}
|Book={{FirstValueOfArray|{{DrlValue|authorlibwiki}}|;}}
+
|Book={{FirstValueOfArray|{{DrlValue|Authorlibwiki}}|;}}
 
|Article={{{AuthorName|}}}
 
|Article={{{AuthorName|}}}
 
}}
 
}}
Line 91: Line 91:
 
! class="font-italic" {{!}} Translated texts:
 
! class="font-italic" {{!}} Translated texts:
 
{{!}} class="disabled-red-links" {{!}} {{DrlValue|citationofsourcetexts}} | }}
 
{{!}} class="disabled-red-links" {{!}} {{DrlValue|citationofsourcetexts}} | }}
{{!}}}{{#if: {{#urldecode:{{DrlValue|EncodedAbstract}}}}  
+
{{!}}}{{#if: {{DrlValue|EncodedAbstract}}
 
| <div><h3> Abstract </h3>
 
| <div><h3> Abstract </h3>
 
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div></div>
 
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div></div>
Line 103: Line 103:
 
</div>
 
</div>
 
</div>
 
</div>
| Original Content={{#if: {{#urldecode:{{DrlValue|EncodedAbstract}}}} |
+
| Original Content={{#if: {{DrlValue|EncodedAbstract}} |
 
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">{{#if: {{DrlValue|citation}} |
 
<div class="bnw-panel rounded p-4 mb-5 mr-lg-4 depth-1 text-90">{{#if: {{DrlValue|citation}} |
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
Line 177: Line 177:
 
|ArticleSource={{{ ArticleSource | }}}
 
|ArticleSource={{{ ArticleSource | }}}
 
|ArticleSummary={{{ ArticleSummary | }}}
 
|ArticleSummary={{{ ArticleSummary | }}}
|authorlibwiki={{#if: {{{ AuthorPage | }}} | | {{DrlValue|authorlibwiki}} }}
+
|authorlibwiki={{#if: {{{ AuthorPage | }}} | | {{DrlValue|Authorlibwiki}} }}
 
|translatorlibwiki={{DrlValue|translatorlibwiki}}
 
|translatorlibwiki={{DrlValue|translatorlibwiki}}
 
|DrlContributors={{DrlValue|DrlContributors}}
 
|DrlContributors={{DrlValue|DrlContributors}}
Line 203: Line 203:
 
|ImageDescription={{{ ImageDescription | }}}
 
|ImageDescription={{{ ImageDescription | }}}
 
|AuthorName={{{ AuthorName | }}}
 
|AuthorName={{{ AuthorName | }}}
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|authorlibwiki}} }}
+
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{DrlValue|Authorlibwiki}} }}
 
|AuthorImage={{{ AuthorImage | }}}
 
|AuthorImage={{{ AuthorImage | }}}
 
|AuthorAffiliation={{{ AuthorAffiliation | }}}
 
|AuthorAffiliation={{{ AuthorAffiliation | }}}
Line 263: Line 263:
 
|BuNayPublisher={{DrlValue|DrlPublisher}}
 
|BuNayPublisher={{DrlValue|DrlPublisher}}
 
|ValuesToRedirect={{Uniquify|{{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}}|;}}
 
|ValuesToRedirect={{Uniquify|{{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{DrlValue|BuNayTitle}}}};{{#titleparts:{{DrlValue|fulltitle}}}}|;}}
|People={{#arraymap:{{Uniquify|{{{ AuthorPage | }}}; {{DrlValue|authorlibwiki}}; {{DrlValue|translatorlibwiki}}; {{DrlValue|DrlContributors}}; {{{ AuthorName | }}}|;}}
+
|People={{#arraymap:{{Uniquify
 +
|{{{ AuthorPage | }}};{{DrlValue|Authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}};{{{ AuthorName | }}}
 +
|;
 +
}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 300: Line 303:
 
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
 
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
 
}}
 
}}
| {{#if: {{DrlValue|authorlibwiki}}
+
| {{#if: {{DrlValue|Authorlibwiki}}
 
| {{PersonFirstImage
 
| {{PersonFirstImage
| {{DrlValue|authorlibwiki}}
+
| {{DrlValue|Authorlibwiki}}
 
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
 
| Rishabh-sharma-R-js25Pv1LQ-unsplash.jpg
 
}}
 
}}
Line 317: Line 320:
 
}}
 
}}
 
|translator={{DrlValue|translatorlibwiki}}|+sep=;
 
|translator={{DrlValue|translatorlibwiki}}|+sep=;
|InvisibleFilterContent={{#arraymap:{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}; {{DrlValue|BuNayTitle}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTopicTags}}; {{PeopleNames|{{DrlValue|authorlibwiki}}; {{{ AuthorPage | }}}; {{DrlValue|translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{DrlValue|BuNayTopicTags}}}}
+
|InvisibleFilterContent={{#arraymap:{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}; {{DrlValue|BuNayTitle}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTopicTags}}; {{PeopleNames|{{DrlValue|Authorlibwiki}}; {{{ AuthorPage | }}}; {{DrlValue|translatorlibwiki}}}}; {{PeopleTopicsOtherNames|{{DrlValue|BuNayTopicTags}}}}
 
|;
 
|;
 
|@@@
 
|@@@
Line 333: Line 336:
 
|Article=
 
|Article=
 
|{{DrlValue|BuNayPageType}}
 
|{{DrlValue|BuNayPageType}}
}};{{DrlValue|periodical}};{{DrlValue|DrlPublisher}};{{#ifeq: {{{ ArticleLayout | }}}  
+
}};{{DrlValue|periodical}};{{#arraymap:{{Uniquify
 +
|{{{ AuthorPage | }}};{{DrlValue|Authorlibwiki}};{{DrlValue|translatorlibwiki}};{{DrlValue|DrlContributors}};{{{ AuthorName | }}}
 +
|;
 +
}}
 +
|;
 +
|@@@
 +
|@@@
 +
|;
 +
}};{{DrlValue|DrlPublisher}};{{#ifeq: {{{ ArticleLayout | }}}  
 
| Original Content  
 
| Original Content  
 
| Editorial Content
 
| Editorial Content
Line 341: Line 352:
 
|[[Category:@@@]]
 
|[[Category:@@@]]
 
|
 
|
}}
+
}}</includeonly>
</includeonly>
 

Latest revision as of 10:12, 1 February 2024