Шаблон:Navbox documentation/doc: различия между версиями
w>KimKelting →Elements: : information added about the single elements |
м 1 версия импортирована |
||
(нет различий)
|
Текущая версия от 10:13, 24 ноября 2024
Файл:Edit-copy green.svg | Шаблон:Strong for Шаблон:Terminate sentence It may contain usage information, categories and other content that is not part of the original шаблон page. |
Warning | This template is used on approximately 39 000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates. See that template for further guidance. The {{Collapsible option}} template can be suppressed with |stateless=yes
.
Elements
This template uses the following single elements: {{Template display}}, {{Collapsible option}}, {{Navbox visibility}} and {{Check completeness of transclusions}}.
TemplateData
TemplateData for Navbox documentation
This is a wrapper for {{Collapsible option}} to provide a semblance of documentation for navbox templates.
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
Hatnotes | hatnotes | Hatnotes to appear above the template banners
| Содержимое (контент) | необязательный |
Top content | intro or 2 | Template shortcuts/redirects, High-use template, templatestyles, usage, etc. (put below {{Template display|nomobile}}) | Содержимое (контент) | необязательный |
Content | 3 | TemplateData, See also, etc. (below {{collapsible option}}) | Содержимое (контент) | необязательный |
State | state or 1 | The default initial state of the template. Set to either: (1) expanded, (2) collapsed, or (3) autocollapse
| Неизвестно | предложенный |
Template | template | To call the template anything other than {{PAGENAME}} within the documentation
| Строковый (без форматирования) | необязательный |
Stateless | stateless | Hides the {{Collapsible option}} transclusion for when the navbox doesn't support a state.
| Неизвестно | необязательный |
nobase | nobase | Pass through to {{Collapsible option}} to disable BASEPAGENAME detection. Use it when the template's name contains a forward slash, which can break basepage-subpage distinction. | Логическое значение | необязательный |