Template:Text: Difference between revisions
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}} | ||
| Tibetan Text=Text-tile.png | |||
| Sanskrit Text=Sutra.jpg | |||
| Chinese Text=Handwritten_diamond_sutra_zhang_jizhi_song_dynasty_1253.jpg | |||
| {{#if: {{#external_value:AuthorRaw}} | |||
| {{#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#}}}}}} | |||
| | |||
}} | |||
}} | }} | ||
}} | }} |