Jump to content

Manual:Small padlock icon/es

From mediawiki.org
This page is a translated version of the page Manual:Small padlock icon and the translation is 54% complete.

If you want to use the small padlock icons which are used on protected pages on wikipedia, here is how to make them. You first must download the icons and upload them to your wiki.

Prueba

Primero probémoslo.

Agrega el código siguiente a cualquier página.

<div style="position:absolute; z-index:50; right:25px; top:5px;" class="metadata topicon"  id="featured-star">
[[file:Padlock-red.svg|25px]]
</div>

Cambiarlo

<div style="position:absolute; z-index:50; right:25px; top:5px;" class="metadata topicon" id="featured-star">

Esto cambia dónde aparece el icono en la página.

[[file:Padlock-red.svg|25px]]

Esto cambia la imagen.

[[file:Padlock-red.svg|25px]]

Esto cambia el tamaño de la imagen. Se recomienda 25px ya que es el mismo tamaño que wikipedia.

[[file:Padlock-red.svg|25px|Mouse over message]]

Esto hace aparecer un mensaje cuando el mouse está sobre el icono.

Automatically appearing when a template is on the page

To make the small icon appear when a template is placed on the page, put the code for the small icon at the top of the template, and it will be added to a page when the template is placed on the page.

Only showing the icon when a template is on a page

To do this, make a template, for example, lets call it {{protectsmall}}. When making this template, only add the code to the template and save. Now, when you add {{protectsmall}} it will only make a small icon appear.

Nota

By adding a small icon or a protected template to a page does not mean its protected. Only users with the protect permission can protect pages.

Demostración

Código de la demostración:

<div style="position:absolute; z-index:50; right:25px; top:5px;" class="metadata topicon"  id="featured-star">
[[file:Padlock-red.svg|25px|Este es el icono de demostración]]
</div>