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

Template:Navigation Wikimedia infrastructure/doc

From Wikitech-static
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Navigation Wikimedia infrastructure

<templatedata> { "params": { "expand": { "label": "Expanded section", "description": "By default all sections are expanded. Set this to the name of the section to only expand that one. May be one of clusters, dc, network, traffic, mw, media, db, logging, or search.", "type": "string", "suggested": true }, "layout": { "label": "Layout", "description": "Which layout to use. One of \"sidebar\" (default), or \"portal\".", "type": "string", "suggestedvalues": [ "portal" ] } }, "description": "Navigation sidebar for pages about Wikimedia Foundation infrastructure.", "paramOrder": [ "expand", "layout" ] } </templatedata>

Example

Show all sections, in multiple columns for use on a portal page.

{{Navigation Wikimedia infrastructure|layout=portal}}
Wikimedia infrastructure

[edit]

Show just one section expanded. One of: clusters, dc, network, traffic, mw, media, db, logging, search.

{{Navigation Wikimedia infrastructure|expand=traffic}}
Wikimedia infrastructure

[edit]

Show all sections expanded

{{Navigation Wikimedia infrastructure}}