Diferencia entre revisiones de «Plantilla:Navbox/doc»

De WikiMinecraft
Saltar a: navegación, buscar
(Example)
 
m (Protegió «Plantilla:Navbox/doc» ([Editar=Solo permitir administradores] (indefinido) [Pueden trasladar=Solo permitir administradores] (indefinido)))
 
(No se muestran 3 ediciones intermedias de 3 usuarios)
Línea 1: Línea 1:
{{doc/start|baddoc=1}}
+
{{doc/start}}
{{lua}}
 
 
This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.
 
This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.
  
Línea 18: Línea 17:
 
| {{{title}}}
 
| {{{title}}}
 
|-
 
|-
| {{{class}}}
+
| {{{state}}}
 
| Allows you to change the collapsing state of the table. [[mw:Manual:Collapsible elements#Common.js script (Before 1.18)|More info]]. Collapsed is removed while on pages in the Template namespace, to make editing easier.
 
| Allows you to change the collapsing state of the table. [[mw:Manual:Collapsible elements#Common.js script (Before 1.18)|More info]]. Collapsed is removed while on pages in the Template namespace, to make editing easier.
 
| collapsible collapsed
 
| collapsible collapsed
Línea 44: Línea 43:
 
| ''None''
 
| ''None''
 
|-
 
|-
| {{{group''n''}}}
+
| {{{group1-20}}}
 
| Adds the heading for the group number specified
 
| Adds the heading for the group number specified
| {{{group1}}} = {{{group1}}}<br>{{{group2+}}} = ''None''
+
| {{{group1}}} = {{{group1}}}<br>{{{group2-20}}} = ''None''
 
|-
 
|-
| {{{list''n''}}}
+
| {{{list1-20}}}
 
| Adds text for the list number specified
 
| Adds text for the list number specified
| {{{list1}}} = {{{list1}}}<br>{{{list2+}}} = ''None''
+
| {{{list1}}} = {{{list1}}}<br>{{{list2-20}}} = ''None''
 
|}
 
|}
  
Línea 75: Línea 74:
 
* Under a child navbox
 
* Under a child navbox
 
}}
 
}}
 +
{{doc/end}}<noinclude>
  
== See also ==
 
* {{tl|SimpleNavbox}}
 
 
{{doc/end}}<noinclude>
 
[[fr:Modèle:Navbox/doc]]
 
[[ru:Шаблон:Navbox/doc]]
 
 
</noinclude>
 
</noinclude>

Revisión actual del 17:06 20 abr 2014

Template-info.png Documentación

This template should be used to in navbox templates, which should then be included at the bottom of each page that is linked in the template.

Usage

Parameter(s) Usage Default value(s)
{{{name}}} Should be identical to the template's name without namespace. Does nothing unless {{{1}}} is set to navbar or navbar-mini. {{{name}}}
{{{title}}} Sets the title used at the top of the navbox. {{{title}}}
{{{state}}} Allows you to change the collapsing state of the table. More info. Collapsed is removed while on pages in the Template namespace, to make editing easier. collapsible collapsed
{{{1}}} navbar: Will add a navigation bar giving links to view, discuss, and edit the template. Requires {{{name}}} to be set. Note: This will only correctly link to templates that are actually in the Template: namespace.

navbar-mini: Identical to navbar, except the titles of the links are v, d, and e instead of view, discuss, and edit.

None
{{{titlestyle}}} Allows custom styling for the title area None
{{{bodystyle}}} Allows custom styling for the body area None
{{{groupstyle}}} Allows custom styling for the group area None
{{{liststyle}}} Allows custom styling for the list area None
{{{group1-20}}} Adds the heading for the group number specified {{{group1}}} = {{{group1}}}
{{{group2-20}}} = None
{{{list1-20}}} Adds text for the list number specified {{{list1}}} = {{{list1}}}
{{{list2-20}}} = None

Example

Ésta es la página de documentación, debe situarse en la página de la plantilla principal. Véase Plantilla:Doc para más información.