Difference between revisions of "Template:Article"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<includeonly>{{#widget:ScrollToTopMobile}}{{#get_web_data:
+
<includeonly>{{#widget:ScrollToTopMobile}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#set:
url=http://research.tsadra.org/index.php?title=Special%3AAsk&q={{urlencode:[[{{#titleparts:{{SUBPAGENAME}}}}]]}}&po=abstract%0Acitation%0Asubclass%0ABuNayFeatured%0ABuNayTitle%0ABuNayPageType%0ABuNayRelevance%0ABuNayLevel%0ABuNayApproach%0ABuNayKarlDescription%0ABuNaySourceInfo%0ABuNayRating%0ABuNayMediaQual%0ABuNayInteractive%0ABuNayCopyright%0ABuNayNotes%0ABuNayKanoAvailable%0ABuNayKanoCitation%0Afulltitle%0APosBuNayDefProv%0APosBuNayDefProvNotes%0APosDefProv%0APosDefProvNotes%0APosAllBuddha%0APosAllBuddhaNote%0APosAllBuddhaMoreNotes%0APosWheelTurn%0APosWheelTurnNotes%0APosYogaMadhya%0APosYogaMadhyaNotes%0APosZhenRang%0APosZhenRangNotes%0APosVehicles%0APosVehiclesNotes%0APosAnalyticMedit%0APosAnalyticMeditNotes%0APosEmptyLumin%0APosEmptyLuminNotes%0APosSvataPrasa%0APosSvataPrasaNotes%0APosVajrapada%0ADrlPublisher%0ABuNayGrade%0Afrontcoverimg%0Aperiodical%0Aistranslation%0ABuNayTopicTags%0ADrlAuthor%0Aauthorlibwiki%0ADescription%0Acitationofsourcetexts%0ASourcetitle&p[format]=csv&p[sep]=,
+
istranslation=
|format=csv with header
 
|data=abstract=abstract,citation=citation,subclass=subclass,BuNayFeatured=BuNayFeatured,BuNayTitle=BuNayTitle,BuNayPageType=BuNayPageType,BuNayRelevance=BuNayRelevance,BuNayLevel=BuNayLevel,BuNayApproach=BuNayApproach,BuNayKarlDescription=BuNayKarlDescription,BuNaySourceInfo=BuNaySourceInfo,BuNayRating=BuNayRating,BuNayMediaQual=BuNayMediaQual,BuNayInteractive=BuNayInteractive,BuNayCopyright=BuNayCopyright,BuNayNotes=BuNayNotes,BuNayKanoAvailable=BuNayKanoAvailable,BuNayKanoCitation=BuNayKanoCitation,fulltitle=fulltitle,PosBuNayDefProv=PosBuNayDefProv,PosBuNayDefProvNotes=PosBuNayDefProvNotes,PosDefProv=PosDefProv,PosDefProvNotes=PosDefProvNotes,PosAllBuddha=PosAllBuddha,PosAllBuddhaNote=PosAllBuddhaNote,PosAllBuddhaMoreNotes=PosAllBuddhaMoreNotes,PosWheelTurn=PosWheelTurn,PosWheelTurnNotes=PosWheelTurnNotes,PosYogaMadhya=PosYogaMadhya,PosYogaMadhyaNotes=PosYogaMadhyaNotes,PosZhenRang=PosZhenRang,PosZhenRangNotes=PosZhenRangNotes,PosVehicles=PosVehicles,PosVehiclesNotes=PosVehiclesNotes,PosAnalyticMedit=PosAnalyticMedit,PosAnalyticMeditNotes=PosAnalyticMeditNotes,PosEmptyLumin=PosEmptyLumin,PosEmptyLuminNotes=PosEmptyLuminNotes,PosSvataPrasa=PosSvataPrasa,PosSvataPrasaNotes=PosSvataPrasaNotes,PosVajrapada=PosVajrapada,DrlPublisher=DrlPublisher,BuNayGrade=BuNayGrade,frontcoverimg=frontcoverimg,periodical=periodical,istranslation=istranslation,BuNayTopicTags=BuNayTopicTags,DrlAuthor=DrlAuthor,authorlibwiki=authorlibwiki,Description=Description,citationofsourcetexts=citationofsourcetexts,Sourcetitle=Sourcetitle
 
}}{{DEFAULTSORT:{{SUBPAGENAME}}}}{{#set:
 
istranslation={{#external_value:istranslation}}
 
 
|ArticleLayout={{{ ArticleLayout | }}}
 
|ArticleLayout={{{ ArticleLayout | }}}
 
|ArticleParentPage={{{ ArticleParentPage | }}}
 
|ArticleParentPage={{{ ArticleParentPage | }}}
|Has parent page={{#switch: {{#external_value:BuNayPageType}}
+
|Has parent page={{#switch:  
 
|Article=Articles
 
|Article=Articles
 
|Interview=Interviews
 
|Interview=Interviews
Line 13: Line 9:
 
|ArticleTitle={{{ ArticleTitle | }}}
 
|ArticleTitle={{{ ArticleTitle | }}}
 
|ArticleImage={{{ Frontcoverimg | }}}
 
|ArticleImage={{{ Frontcoverimg | }}}
|Frontcoverimg={{#external_value:frontcoverimg}}
+
|Frontcoverimg=
 
|ImageDescription={{{ ImageDescription | }}}
 
|ImageDescription={{{ ImageDescription | }}}
 
|AuthorName={{{ AuthorName | }}}
 
|AuthorName={{{ AuthorName | }}}
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | {{#external_value:authorlibwiki}} }}
+
|AuthorPage={{#if: {{{ AuthorPage | }}} | {{{ AuthorPage | }}} | }}
 
|AuthorImage={{{ AuthorImage | }}}
 
|AuthorImage={{{ AuthorImage | }}}
 
|AuthorAffiliation={{{ AuthorAffiliation | }}}
 
|AuthorAffiliation={{{ AuthorAffiliation | }}}
Line 25: Line 21:
 
|ArticleReferences={{{ ArticleReferences | }}}
 
|ArticleReferences={{{ ArticleReferences | }}}
 
|PostStatus={{{ PostStatus | }}}|+sep=;
 
|PostStatus={{{ PostStatus | }}}|+sep=;
|ArticleAbstract={{#external_value:abstract}}
+
|ArticleAbstract=
|citation={{#external_value:citation}}
+
|citation=
|subclass={{#external_value:subclass}}
+
|subclass=
 
|AlternateSourceName={{{ AlternateSourceName | }}}
 
|AlternateSourceName={{{ AlternateSourceName | }}}
 
|AlternateSourceLink={{{ AlternateSourceLink | }}}
 
|AlternateSourceLink={{{ AlternateSourceLink | }}}
Line 33: Line 29:
 
|AlternateSourceColor={{{ AlternateSourceColor | }}}
 
|AlternateSourceColor={{{ AlternateSourceColor | }}}
 
|ExtraCategories={{{ ExtraCategories | }}}
 
|ExtraCategories={{{ ExtraCategories | }}}
|Fulltitle={{#external_value:fulltitle}}
+
|Fulltitle=
|BuNayFeatured={{#external_value:BuNayFeatured}}
+
|BuNayFeatured=
|BuNayTitle={{#external_value:BuNayTitle}}
+
|BuNayTitle=
|BuNayPageType={{#external_value:BuNayPageType}}
+
|BuNayPageType=
|BuNayRelevance={{#external_value:BuNayRelevance}}
+
|BuNayRelevance=
|BuNayLevel={{#external_value:BuNayLevel}}
+
|BuNayLevel=
|BuNayGrade={{#external_value:BuNayGrade}}
+
|BuNayGrade=
|BuNayApproach={{#external_value:BuNayApproach}}|+sep=,
+
|BuNayApproach=|+sep=,
|BuNayKarlDescription={{#external_value:BuNayKarlDescription}}
+
|BuNayKarlDescription=
|BuNaySourceInfo={{#external_value:BuNaySourceInfo}}
+
|BuNaySourceInfo=
|BuNayRating={{#external_value:BuNayRating}}
+
|BuNayRating=
|BuNayMediaQual={{#external_value:BuNayMediaQual}}
+
|BuNayMediaQual=
|BuNayInteractive={{#external_value:BuNayInteractive}}
+
|BuNayInteractive=
|BuNayCopyright={{#external_value:BuNayCopyright}}
+
|BuNayCopyright=
|BuNayNotes={{#external_value:BuNayNotes}}
+
|BuNayNotes=
|BuNayKanoAvailable={{#external_value:BuNayKanoAvailable}}
+
|BuNayKanoAvailable=
|BuNayKanoCitation={{#external_value:BuNayKanoCitation}}
+
|BuNayKanoCitation=
|periodical={{#external_value:periodical}}
+
|periodical=
|PosBuNayDefProv={{#external_value:PosBuNayDefProv}}
+
|PosBuNayDefProv=
|PosBuNayDefProvNotes={{#external_value:PosBuNayDefProvNotes}}
+
|PosBuNayDefProvNotes=
|PosDefProv={{#external_value:PosDefProv}}
+
|PosDefProv=
|PosDefProvNotes={{#external_value:PosDefProvNotes}}
+
|PosDefProvNotes=
|PosAllBuddha={{#external_value:PosAllBuddha}}
+
|PosAllBuddha=
|PosAllBuddhaNote={{#external_value:PosAllBuddhaNote}}
+
|PosAllBuddhaNote=
|PosAllBuddhaMoreNotes={{#external_value:PosAllBuddhaMoreNotes}}
+
|PosAllBuddhaMoreNotes=
|PosWheelTurn={{#external_value:PosWheelTurn}}
+
|PosWheelTurn=
|PosWheelTurnNotes={{#external_value:PosWheelTurnNotes}}
+
|PosWheelTurnNotes=
|PosYogaMadhya={{#external_value:PosYogaMadhya}}
+
|PosYogaMadhya=
|PosYogaMadhyaNotes={{#external_value:PosYogaMadhyaNotes}}
+
|PosYogaMadhyaNotes=
|PosZhenRang={{#external_value:PosZhenRang}}
+
|PosZhenRang=
|PosZhenRangNotes={{#external_value:PosZhenRangNotes}}
+
|PosZhenRangNotes=
|PosVehicles={{#external_value:PosVehicles}}
+
|PosVehicles=
|PosVehiclesNotes={{#external_value:PosVehiclesNotes}}
+
|PosVehiclesNotes=
|PosAnalyticMedit={{#external_value:PosAnalyticMedit}}
+
|PosAnalyticMedit=
|PosAnalyticMeditNotes={{#external_value:PosAnalyticMeditNotes}}
+
|PosAnalyticMeditNotes=
|PosEmptyLumin={{#external_value:PosEmptyLumin}}
+
|PosEmptyLumin=
|PosEmptyLuminNotes={{#external_value:PosEmptyLuminNotes}}
+
|PosEmptyLuminNotes=
|PosSvataPrasa={{#external_value:PosSvataPrasa}}
+
|PosSvataPrasa=
|PosSvataPrasaNotes={{#external_value:PosSvataPrasaNotes}}
+
|PosSvataPrasaNotes=
|PosVajrapada={{#external_value:PosVajrapada}}
+
|PosVajrapada=
|BuNayPublisher={{#external_value:DrlPublisher}}
+
|BuNayPublisher=
|ValuesToRedirect={{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:{{#external_value:BuNayTitle}}}};{{#titleparts:{{#external_value:fulltitle}}}}
+
|ValuesToRedirect={{#titleparts:{{{ ArticleTitle | }}}}};{{#titleparts:{{SUBPAGENAME}}}};{{#titleparts:}};{{#titleparts:}}
|People={{#arraymap:{{{ AuthorName | }}}; {{{ AuthorPage | }}}; {{#external_value:authorlibwiki}}|;|@@@|@@@|;}}
+
|People={{#arraymap:{{{ AuthorName | }}}; {{{ AuthorPage | }}}; |;|@@@|@@@|;}}
|Titles={{{ ArticleTitle | }}}; {{#external_value:fulltitle}}; {{#external_value:BuNayTitle}}
+
|Titles={{{ ArticleTitle | }}}; ;  
|BuNayTopicTags={{#external_value:BuNayTopicTags}}|+sep=;
+
|BuNayTopicTags=|+sep=;
 
|TileDescription={{{ TileDescription | }}}
 
|TileDescription={{{ TileDescription | }}}
|Description={{#external_value:Description}}
+
|Description=
 
|TilePhoto={{{ TilePhoto | }}}
 
|TilePhoto={{{ TilePhoto | }}}
|Citationofsourcetexts={{#external_value:citationofsourcetexts}}
+
|Citationofsourcetexts=
|Sourcetitle={{#external_value:Sourcetitle}}
+
|Sourcetitle=
 
}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
 
}}{{#ifsysop: {{#switch: {{{ PostStatus | }}}
 
|Needs Copy Editing={{#widget:BootstrapAlert|color=danger|title=Needs Copy Editing|text=This page needs copywriting work to be done. This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
 
|Needs Copy Editing={{#widget:BootstrapAlert|color=danger|title=Needs Copy Editing|text=This page needs copywriting work to be done. This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
 
|Needs Final Review={{#widget:BootstrapAlert|color=info|title=This page needs a FINAL REVIEW|text=This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
 
|Needs Final Review={{#widget:BootstrapAlert|color=info|title=This page needs a FINAL REVIEW|text=This page was last updated on {{REVISIONMONTH}}-{{REVISIONDAY2}}-{{REVISIONYEAR}}, by {{REVISIONUSER}} }}
}}{{#if: {{#external_value:BuNayNotes}}
+
}}{{#if:
 
| {{#widget:BootstrapAlert
 
| {{#widget:BootstrapAlert
 
|color=warning
 
|color=warning
 
|title=Buddha-nature Notes
 
|title=Buddha-nature Notes
|text={{#external_value:BuNayNotes}}
+
|text=
 
}}  
 
}}  
 
|  
 
|  
}} | }}{{TopSysopLinks|research|Article}}{{TopLevelModule|{{#external_value:BuNayGrade}}}}<noglossary>
+
}} | }}{{TopSysopLinks|research|Article}}{{TopLevelModule|}}<noglossary>
 
<div class="bnw-article-heading d-flex justify-content-between align-items-end mb-1 mx-0">
 
<div class="bnw-article-heading d-flex justify-content-between align-items-end mb-1 mx-0">
 
<div>
 
<div>
Line 105: Line 101:
 
| {{#if: {{{ AuthorPage | }}}
 
| {{#if: {{{ AuthorPage | }}}
 
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
 
| {{#show: {{{ AuthorPage | }}}|?MainNamePhon }}  
| {{#show: {{#external_value:authorlibwiki}} |?MainNamePhon }}
+
| {{#show: |?MainNamePhon }}
 
}}  
 
}}  
 
}}</i>&nbsp;&nbsp;·&nbsp;&nbsp;{{#time: j F Y | {{{ PubDate | }}}}}{{#ifeq: {{{ ArticleLayout | }}}  
 
}}</i>&nbsp;&nbsp;·&nbsp;&nbsp;{{#time: j F Y | {{{ PubDate | }}}}}{{#ifeq: {{{ ArticleLayout | }}}  
Line 130: Line 126:
 
|Interview=<div class="mb-5"></div>
 
|Interview=<div class="mb-5"></div>
 
|#default={{GooglePdfSearch
 
|#default={{GooglePdfSearch
|{{#switch:{{#external_value:BuNayPageType}}
+
|{{#switch:
|Book={{FirstValueOfArray|{{#external_value:authorlibwiki}}|;}}
+
|Book={{FirstValueOfArray||;}}
 
|Article={{{AuthorName|}}}
 
|Article={{{AuthorName|}}}
 
}}
 
}}
Line 145: Line 141:
 
{{!}}-
 
{{!}}-
 
! ''Citation:''
 
! ''Citation:''
{{!}} {{#external_value:citation}} {{#if: {{#external_value:citationofsourcetexts}} | <br>
+
{{!}} {{#if: | <br>
 
{{!}}-
 
{{!}}-
 
! ''Translated texts:''
 
! ''Translated texts:''
{{!}} class="disabled-red-links" {{!}} {{#external_value:citationofsourcetexts}} | }}
+
{{!}} class="disabled-red-links" {{!}} | }}
{{!}}}{{#if: {{#external_value:abstract}}
+
{{!}}}{{#if:
 
| <div><h3> Abstract </h3>
 
| <div><h3> Abstract </h3>
{{#external_value:abstract}}</div>
+
</div>
 
| {{#if: {{{ ArticleSummary | }}}  
 
| {{#if: {{{ ArticleSummary | }}}  
 
| <h3>Article Summary</h3>
 
| <h3>Article Summary</h3>
Line 159: Line 155:
 
}}
 
}}
 
</div>
 
</div>
|Original Content={{#if: {{#external_value:abstract}} |
+
|Original Content={{#if: |
<div class="bnw-panel rounded p-4 mb-5 mr-4 depth-1 text-italic" style="font-size: .9em;">{{#if: {{#external_value:citation}} |
+
<div class="bnw-panel rounded p-4 mb-5 mr-4 depth-1 text-italic" style="font-size: .9em;">{{#if: |
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
 
<div class="bnw-book-citation mb-3 text-muted clearfix">
 
<div style="float: left; padding-right: 7px;">''Citation:''</div>
 
<div style="float: left; padding-right: 7px;">''Citation:''</div>
<div style="display: table-cell;">{{#external_value:citation}}</div>
+
<div style="display: table-cell;"></div>
 
</div> | }}
 
</div> | }}
 
<h3> Abstract </h3>
 
<h3> Abstract </h3>
{{#external_value:abstract}}
+
 
</div> | }}
 
</div> | }}
 
}}
 
}}
Line 172: Line 168:
 
| Interview  
 
| Interview  
 
|<h3 class="mt-0 p-0 no-drop-cap"> About the interview </h3>
 
|<h3 class="mt-0 p-0 no-drop-cap"> About the interview </h3>
<div class="no-drop-cap">{{#external_value:Description}}</div>
+
<div class="no-drop-cap"></div>
  
 
<h3 class="mt-0 p-0 border-0" style="height: 0px;">Clips from the interview</h3>
 
<h3 class="mt-0 p-0 border-0" style="height: 0px;">Clips from the interview</h3>
Line 209: Line 205:
 
{{StickySideBar
 
{{StickySideBar
 
|columns=3<!--
 
|columns=3<!--
|BuNayGrade={{#external_value:BuNayGrade}}-->
+
|BuNayGrade=-->
|BuNayPageType={{#external_value:BuNayPageType}}
+
|BuNayPageType=
|topics={{#ifeq: {{#external_value:BuNayPageType}}
+
|topics={{#ifeq:
 
| Interview
 
| Interview
 
|  
 
|  
| {{#external_value:BuNayTopicTags}}
+
|  
 
}}
 
}}
 
|AuthorPage={{{ AuthorPage | }}}
 
|AuthorPage={{{ AuthorPage | }}}
Line 222: Line 218:
 
|Frontcoverimg={{{ Frontcoverimg | }}}
 
|Frontcoverimg={{{ Frontcoverimg | }}}
 
|ImageDescription={{{ ImageDescription | }}}
 
|ImageDescription={{{ ImageDescription | }}}
|authorlibwiki={{#external_value:authorlibwiki}}
+
|authorlibwiki=
|abstract={{#external_value:abstract}}
+
|abstract=
 
|RelatedContent=
 
|RelatedContent=
 
{{SidebarTopicsList
 
{{SidebarTopicsList
|topics={{#external_value:BuNayTopicTags}}
+
|topics=
 
}}<!--
 
}}<!--
 
{{RelatedVideo
 
{{RelatedVideo
Line 235: Line 231:
 
{{RelatedTilesQuery
 
{{RelatedTilesQuery
 
|label=Introductory Content
 
|label=Introductory Content
|query=[[BuNayGrade::{{#external_value:BuNayGrade}}]]
+
|query=[[BuNayGrade::]]
 
}}
 
}}
 
{{RelatedTilesQuery
 
{{RelatedTilesQuery
Line 243: Line 239:
 
|TsadraLogoLink=Category:Editorial Content
 
|TsadraLogoLink=Category:Editorial Content
 
}}
 
}}
</div>{{#arraymap:Library Items;Articles;{{#external_value:periodical}};{{#external_value:DrlPublisher}};{{{ ExtraCategories | }}}|;|@@@|[[Category:@@@]]|}}
+
</div>{{#arraymap:Library Items;Articles;;;{{{ ExtraCategories | }}}|;|@@@|[[Category:@@@]]|}}
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Revision as of 15:24, 3 June 2020