|
|
| (One intermediate revision by the same user not shown) |
| Line 1: |
Line 1: |
| <includeonly><!--
| | {{delete|temporary test page, no longer needed}} |
| One row of cards, one per Tibetan collection wiki, rendered here and shown
| |
| on every collection site. It lives on commons so the list is written ONCE:
| |
| a new collection going live is one edit here, not one edit per wiki.
| |
| | |
| It is fetched with an #ask carrying source=commons, and a remote #ask
| |
| resolves its row template on the SOURCE wiki -- so both this page and
| |
| Template:SiteTile have to be here, and so do the images.
| |
| | |
| The calling site passes its own hostname as userparam. It arrives under the
| |
| HASH-PREFIXED name -- see the documentation below; the plain name and the
| |
| numbered slots are never set. Each card compares it against its own host=
| |
| and renders nothing when they match, so a site never advertises itself. A
| |
| caller that passes nothing gets all four.
| |
| | |
| No braces in this comment: the preprocessor counts them even inside one, so
| |
| a triple-brace parameter named here leaves an unbalanced opener and
| |
| swallows the rest of the template. That is exactly what happened when this
| |
| page was first written -- it rendered four tiles as raw text and zero when
| |
| transcluded.
| |
| | |
| Add a collection by adding a SiteTile call. |image= is optional: upload the
| |
| file HERE, on commons, and name it; with none the card shows the title's
| |
| first letter.
| |
| -->{{#ifeq: {{{#userparam|}}} | rtz.tsadra.org ||{{SiteTile
| |
| |url=https://rtz.tsadra.org
| |
| |name=Rinchen Terdzö
| |
| |tib=རིན་ཆེན་གཏེར་མཛོད།
| |
| |note=The Great Treasury of Rediscovered Teachings
| |
| |host=rtz.tsadra.org
| |
| |image=File:Jamgon kongtrul.jpg
| |
| |imgpos=50% 35%
| |
| }}}}{{#ifeq: {{{#userparam|}}} | dnz.tsadra.org ||{{SiteTile
| |
| |url=https://dnz.tsadra.org
| |
| |name=Damngak Dzö
| |
| |tib=གདམས་ངག་མཛོད།
| |
| |note=The Treasury of Precious Instructions
| |
| |host=dnz.tsadra.org
| |
| |image=File:Shing rta brgyad-01-Nyingma.jpg
| |
| |imgpos=50% 45%
| |
| }}}}{{#ifeq: {{{#userparam|}}} | khyentselineage.tsadra.org ||{{SiteTile
| |
| |url=https://khyentselineage.tsadra.org
| |
| |name=Khyentse Lineage
| |
| |tib=མཁྱེན་བརྩེ་སྐུ་ཕྲེང་།
| |
| |note=Collected Works of the Masters
| |
| |host=khyentselineage.tsadra.org
| |
| |image=File:Jamyang Khyentse Wangpo cropped.jpg
| |
| |imgpos=50% 35%
| |
| }}}}{{#ifeq: {{{#userparam|}}} | dudjom.tsadra.org ||{{SiteTile
| |
| |url=https://dudjom.tsadra.org
| |
| |name=Dudjom Tersar
| |
| |tib=བདུད་འཇོམས་གཏེར་གསར།
| |
| |note=The New Treasures of Dudjom
| |
| |host=dudjom.tsadra.org
| |
| |image=File:Dudjom portrait.jpg
| |
| }}}}</includeonly>
| |