Difference between revisions of "Template:Text"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 386: Line 386:
 
|PageTilePhoto={{#if: {{{ CoverFile | }}}
 
|PageTilePhoto={{#if: {{{ CoverFile | }}}
 
| {{#titleparts:{{PAGENAME:{{{ CoverFile | }}}}}}}
 
| {{#titleparts:{{PAGENAME:{{{ CoverFile | }}}}}}}
| {{#if: {{#external_value:AuthorRaw}}
+
| {{#switch: {{#external_value:BuNayPageType}}
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:AuthorRaw}}|;}}|?FirstImage#}}}}}}
+
| Tibetan Text=Text-tile.png
| {{#if: {{#external_value:AuthorTibRaw}}
+
| Sanskrit Text=Sutra.jpg
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:AuthorTibRaw}}|;}}|?FirstImage#}}}}}}
+
| Chinese Text=Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg
| {{#if: {{#external_value:TranslatorRaw}}
+
| {{#if: {{#external_value:AuthorRaw}}
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:TranslatorRaw}}|;}}|?FirstImage#}}}}}}
+
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:AuthorRaw}}|;}}|?FirstImage#}}}}}}
|
+
| {{#if: {{#external_value:AuthorTibRaw}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:AuthorTibRaw}}|;}}|?FirstImage#}}}}}}
 +
| {{#if: {{#external_value:TranslatorRaw}}
 +
| {{#titleparts:{{PAGENAME:{{#show:{{FirstValueOfArray|{{#external_value:TranslatorRaw}}|;}}|?FirstImage#}}}}}}
 +
|
 +
}}
 
}}
 
}}
 
}}
 
}}

Revision as of 10:24, 10 July 2020