Difference between revisions of "Template:Article"

From Buddha-Nature
(Undo revision 60857 by JeremiP (talk))
Tag: Undo
((by SublimeText.Mediawiker))
 
(7 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: {{DrlValue|abstract}}  
+
{{!}}}{{#if: {{DrlValue|EncodedAbstract}}
 
| <div><h3> Abstract </h3>
 
| <div><h3> Abstract </h3>
<div>{{DrlValue|abstract}}</div></div>
+
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div></div>
 
| {{#if: {{{ ArticleSummary | }}}  
 
| {{#if: {{{ ArticleSummary | }}}  
 
| <h3>Article Summary</h3>
 
| <h3>Article Summary</h3>
Line 103: Line 103:
 
</div>
 
</div>
 
</div>
 
</div>
| Original Content={{#if: {{DrlValue|abstract}} |
+
| 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 110: Line 110:
 
</div> | }}
 
</div> | }}
 
<h3> Abstract </h3>
 
<h3> Abstract </h3>
<div>{{DrlValue|abstract}}</div>
+
<div>{{#urldecode:{{DrlValue|EncodedAbstract}}}}</div>
 
</div> | }}
 
</div> | }}
 
}}{{#ifeq: {{{ ArticleLayout | }}}  
 
}}{{#ifeq: {{{ ArticleLayout | }}}  
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}}
|abstract={{DrlValue|abstract}}
+
|abstract={{#urldecode:{{DrlValue|EncodedAbstract}}}}
 
|RelatedContent=
 
|RelatedContent=
 
{{SidebarTopicsList
 
{{SidebarTopicsList
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 213: Line 213:
 
|ArticleReferences={{{ ArticleReferences | }}}
 
|ArticleReferences={{{ ArticleReferences | }}}
 
|PostStatus={{{ PostStatus | }}}|+sep=;
 
|PostStatus={{{ PostStatus | }}}|+sep=;
|ArticleAbstract={{DrlValue|abstract}}
+
|ArticleAbstract={{#urldecode:{{DrlValue|EncodedAbstract}}}}
 
|citation={{DrlValue|citation}}
 
|citation={{DrlValue|citation}}
 
|subclass={{DrlValue|subclass}}
 
|subclass={{DrlValue|subclass}}
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 270: Line 273:
 
}}|+sep=;
 
}}|+sep=;
 
|Titles={{Uniquify|{{{ ArticleTitle | }}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTitle}}|;}}
 
|Titles={{Uniquify|{{{ ArticleTitle | }}}; {{DrlValue|fulltitle}}; {{DrlValue|BuNayTitle}}|;}}
|BuNayTopicTags={{DrlValue|BuNayTopicTags}}|+sep=;
+
|BuNayTopicTags={{#arraymap:{{DrlValue|BuNayTopicTags}}|;|@@@|@@@|;}}|+sep=;
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
|TileDescription={{#if: {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
 
| {{{ TileDescription | }}}
Line 277: Line 280:
 
| {{#if: {{{ ArticleSummary | }}}
 
| {{#if: {{{ ArticleSummary | }}}
 
| {{{ ArticleSummary | }}}
 
| {{{ ArticleSummary | }}}
| {{#if: {{DrlValue|abstract}}
+
| {{#if: {{#urldecode:{{DrlValue|EncodedAbstract}}}}
| {{DrlValue|abstract}}
+
| {{#urldecode:{{DrlValue|EncodedAbstract}}}}
 
| ''{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}''
 
| ''{{#if: {{{ CitationOverride | }}} | {{{ CitationOverride | }}} | {{DrlValue|citation}} }}''
 
}}  
 
}}  
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