Plantilla:Risc elevat

De la Viquipèdia, l'enciclopèdia lliure
Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ modifica el codi ] [ mostra l'historial ] [ refresca ]

Aquesta és la caixa de missatge {{high-risk}}. Està destinada a ser posat a la part superior de la pàgina de documentació en les plantilles de més alt ús (d'alt risc) i els mòduls de Lua (la plantilla detecta l'espai de nom), és a dir, per a les plantilles utilitzades en 100.000 pàgines o més. Per a les plantilles utilitzades en 2.000-100.000 pàgines, es recomana utilitzar al seu lloc la plantilla {{Ús elevat}}, que té una redacció més suau.

Nota: És normal que alguns dels enllaços en el quadre de missatge són vermells.

Ús[modifica]

The template can be used as is. But it can also take some parameters:

  • First parameter is the number of pages. See Wikipedia:Database reports/Templates with the most transclusions to find out how many pages use a given template.
  • Second parameter is the name of some other talk page if you want discussion to be made there instead. But a better option might be to redirect the talkpage of your template to that other talkpage.

Exemples[modifica]

{{high-risk| 300,000+ | Wikipedia talk:High-risk templates }}
{{high-risk| 300,000+ }}
{{high-risk| | Wikipedia talk:High-risk templates }}

The full code for a /doc page top can look like this:

{{documentation subpage}}
{{high-risk| 300,000+ }}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->

Detalls tècnics[modifica]

The /sandbox and /testcases links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.

Vegeu també[modifica]