|
|
| Line 1: |
Line 1: |
| <includeonly><!-- | | <includeonly>{{#ifeq: {{{#userparam|}}} | rtz.tsadra.org ||{{SiteTile |
| 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 | | |url=https://rtz.tsadra.org |
| |name=Rinchen Terdzö | | |name=Rinchen Terdzö |