⧼social-icons-mobile-buttons⧽

Template:SiteTile: Difference between revisions

From Tsadra Commons
(Shared copy of the collection-site card, for Template:ColTilesRemote)
 
(imageurl=: a direct URL for the portrait, for the remote row)
Line 1: Line 1:
<includeonly><div class="{{{ wrapperclasses | col-md-6 col-lg-3 }}} bigtile-col"><div class="bigtile bigtile--site"><div class="bigtile__portrait bigtile__portrait--site"{{#if:{{{ imgpos | }}}| style="--bigtile-imgpos: {{{ imgpos | }}};"}}>{{#if:{{{ image | }}}|[[{{{ image | }}}|240px|link=|alt=]]|<span class="bigtile__noportrait tibetan-jomolhari">{{#if:{{{ tib | }}}|{{#sub:{{{ tib | }}}|0|1}}|{{#sub:{{{ name | }}}|0|1}}}}</span>}}</div><div class="bigtile__body">{{#if:{{{ tib | }}}|<span class="bigtile__tib tibetan-jomolhari">{{{ tib | }}}</span>}}<span class="bigtile__phon">{{{ name | }}}</span>{{#if:{{{ note | }}}|<div class="bigtile__author">{{{ note | }}}</div>}}<div class="bigtile__facts bigtile__facts--host">{{{ host | }}}</div></div>[{{{ url | }}} <span class="bigtile__cover-link"></span>]</div></div></includeonly><noinclude>
<includeonly><div class="{{{ wrapperclasses | col-md-6 col-lg-3 }}} bigtile-col"><div class="bigtile bigtile--site"><div class="bigtile__portrait bigtile__portrait--site"{{#if:{{{ imgpos | }}}| style="--bigtile-imgpos: {{{ imgpos | }}};"}}>{{#if:{{{ imageurl | }}}|<img src="{{{ imageurl | }}}" alt="" width="240" />|{{#if:{{{ image | }}}|[[{{{ image | }}}|240px|link=|alt=]]|<span class="bigtile__noportrait tibetan-jomolhari">{{#if:{{{ tib | }}}|{{#sub:{{{ tib | }}}|0|1}}|{{#sub:{{{ name | }}}|0|1}}}}</span>}}}}</div><div class="bigtile__body">{{#if:{{{ tib | }}}|<span class="bigtile__tib tibetan-jomolhari">{{{ tib | }}}</span>}}<span class="bigtile__phon">{{{ name | }}}</span>{{#if:{{{ note | }}}|<div class="bigtile__author">{{{ note | }}}</div>}}<div class="bigtile__facts bigtile__facts--host">{{{ host | }}}</div></div>[{{{ url | }}} <span class="bigtile__cover-link"></span>]</div></div></includeonly><noinclude>
A card linking to one of Tsadra's Tibetan collection wikis. ''This is the shared copy.''
A card linking to one of Tsadra's Tibetan collection wikis. ''This is the shared copy.''



Revision as of 12:08, 14 September 2026

A card linking to one of Tsadra's Tibetan collection wikis. This is the shared copy.

It is rendered on THIS wiki, by {{ColTilesRemote}}, for every collection site that asks for the row — an `#ask` with `source=commons` resolves its row template on the source wiki, so the markup and the images have to live here.

The parameters are documented on the collection wikis' local copy; they are identical. Keep the two in step: the local one still renders anything a collection hardcodes itself.