You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Difference between revisions of "Template:ClusterMap"

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
(add info link to the non-thumbnail mode as well)
imported>Krinkle
Line 2: Line 2:
{{#ifeq:{{{thumb|}}}|1
{{#ifeq:{{{thumb|}}}|1
|<div class="thumb tnone" style="display: inline-block;"><div class="thumbinner">
|<div class="thumb tnone" style="display: inline-block;"><div class="thumbinner">
|<div style="display: inline-block; text-align: center; vertical-align: top; margin: 1em 0;">[[File:Breezeicons-status-16-dialog-information.svg|16px|right|link=Template:ClusterMap|alt=|Open the Template:ClusterMap page.]]{{{caption|Map of Wikimedia Foundation [[clusters]]}}}
|<div style="display: inline-block; text-align: center; vertical-align: top; margin: 1em 0;">[[File:Breezeicons-status-16-dialog-information.svg|16px|right|class=noviewer|link=Template:ClusterMap|alt=|Open the Template:ClusterMap page.]]{{{caption|Map of Wikimedia Foundation [[clusters]]}}}
}}<!--
}}<!--


Line 25: Line 25:
  top: 45.7%; left: 77.8%;
  top: 45.7%; left: 77.8%;
">[[Eqsin cluster|<strong title="Singapore" class="tpl-clustermap-label tpl-clustermap-label--bottom tpl-clustermap-label--right">eqsin</strong>]]</div>
">[[Eqsin cluster|<strong title="Singapore" class="tpl-clustermap-label tpl-clustermap-label--bottom tpl-clustermap-label--right">eqsin</strong>]]</div>
<div class="tpl-clustermap-dc tpl-clustermap-dc--drmrs" style="
<div class="tpl-clustermap-dc /*tpl-clustermap-dc--drmrs*/" style="
  top: 18.4%; left: 51.1%;
  top: 18.4%; left: 51.1%;
">[[Drmrs cluster|<strong title="Marseille, France" class="tpl-clustermap-label tpl-clustermap-label--bottom tpl-clustermap-label--right">drmrs</strong>]]</div>
">[[Drmrs cluster|<strong title="Marseille, France" class="tpl-clustermap-label tpl-clustermap-label--bottom tpl-clustermap-label--right">drmrs</strong>]]</div>
</div>{{#ifeq:{{{thumb|}}}|1|<div class="thumbcaption">[[File:Breezeicons-status-16-dialog-information.svg|16px|right|link=Template:ClusterMap|alt=|Open the Template:ClusterMap page.]]{{{caption|Map of Wikimedia Foundation [[clusters]]}}}</div></div></div>|</div>}}<noinclude>
</div>{{#ifeq:{{{thumb|}}}|1|<div class="thumbcaption">[[File:Breezeicons-status-16-dialog-information.svg|16px|right|class=noviewer|link=Template:ClusterMap|alt=|Open the Template:ClusterMap page.]]{{{caption|Map of Wikimedia Foundation [[clusters]]}}}</div></div></div>|</div>}}<noinclude>
== Usage ==
== Usage ==
<pre>{{ClusterMap}}</pre>
<pre>{{ClusterMap}}</pre>

Revision as of 00:43, 23 October 2021

Map of Wikimedia Foundation clusters

Usage

{{ClusterMap}}

<templatedata> { "params": { "thumb": { "type": "boolean" }, "width": { "type": "number", "default": "700" }, "caption": { "type": "content" } }, "format": "inline", "description": " Map of Wikimedia Foundation clusters.", "paramOrder": [ "thumb", "width", "caption" ] } </templatedata>

Example

{{ClusterMap|thumb=1|caption=Hello world.}}

See also