Diferencia entre revisiones de «Plantilla:Gallery/Aesthetic»
De SpiralKnights-es
(Página creada con '<includeonly> This gallery contains several different examples of the same type of item. {| cellspacing ="5" style="border: 1px solid #C0C0C0; width:800px;" <!--================…') |
m (Arregle la categoria) |
||
(No se muestran 3 ediciones intermedias de un usuario) | |||
Línea 1: | Línea 1: | ||
<includeonly> | <includeonly> | ||
− | + | Esta galería contiene varios ejemplos diferentes del mismo tipo de artículo. | |
{| cellspacing ="5" style="border: 1px solid #C0C0C0; width:800px;" | {| cellspacing ="5" style="border: 1px solid #C0C0C0; width:800px;" | ||
<!--=============================== | <!--=============================== | ||
Línea 82: | Línea 82: | ||
| {{#switch:{{{news|}}} | | {{#switch:{{{news|}}} | ||
|#default = {{#switch:{{{news link|}}} | |#default = {{#switch:{{{news link|}}} | ||
− | |#default = | + | |#default = Arte relacionado a noticias.{{fn|1={{{news link|}}}}} |
− | |no news link = | + | |no news link = Este artículo solo fue anunciado visualmente en el Enlace Spiral. |
− | |variable = | + | |variable = Hay muchas versiones de este artículo. Muchos tienen noticias relacionadas. |
}} | }} | ||
− | |no news image = No | + | |no news image = No hay arte en las noticias referente a este artículo, <br>pero fue anunciado [{{{news link}}} aquí] |
− | |no news = | + | |no news = Este artículo no se anunció específicamente. |
|recolor = | |recolor = | ||
|rose regalia = | |rose regalia = | ||
Línea 94: | Línea 94: | ||
| {{#switch:{{{panel 2 caption|}}} | | {{#switch:{{{panel 2 caption|}}} | ||
− | |#default= | + | |#default=Otra vista emergente.{{#switch:{{{panel 2 animated|yes}}} |
− | |yes=<br/>( | + | |yes=<br/>(Animación - clic para ver)|no= |
}} | }} | ||
|panel 2 caption = {{{panel 2 caption|}}} | |panel 2 caption = {{{panel 2 caption|}}} | ||
Línea 101: | Línea 101: | ||
| {{#switch:{{{panel 3 caption|set}}} | | {{#switch:{{{panel 3 caption|set}}} | ||
− | |#default={{#if:{{{set|}}}| | + | |#default={{#if:{{{set|}}}|Una vista de este artículo en su [[Lista de sets|set]].|Vista para inspeccionar. {{#switch:{{{panel 3 animated|no}}} |
− | |yes=<br/>( | + | |yes=<br/>(Animación - clic para ver)|no= |
}}}} | }}}} | ||
|panel 3 caption={{{panel 3 caption|}}} | |panel 3 caption={{{panel 3 caption|}}} | ||
Línea 108: | Línea 108: | ||
| {{#switch:{{{panel 4 caption|}}} | | {{#switch:{{{panel 4 caption|}}} | ||
− | |#default= | + | |#default=Una vista en el mundo. {{#switch:{{{panel 4 animated|yes}}} |
− | |yes=<br/>( | + | |yes=<br/>(Animación - clic para ver)|no= |
}} | }} | ||
|panel 4 caption = {{{panel 4 caption}}} | |panel 4 caption = {{{panel 4 caption}}} | ||
Línea 115: | Línea 115: | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
− | {{documentation}} [[Category: | + | {{documentation}} [[Category:Plantillas de Galería]]</noinclude> |
Última revisión de 01:39 29 ago 2015
Contenido
Usage
Puts a template that closely mimics the appearance of a <gallery> on a page. It should force consistent file naming and provides users with a faster loading time and the ability to easily access animations of items they might wish to see in detail.
It should be used on individual costume and accessory pages - hence "aesthetic." Other gallery mimic templates used for other items can be found here.
Code
The simplest form of the template takes advantage of many defaults:
{{Gallery/Aesthetic |news = |news link = }}
Parameters
Required
None, though many defaults will not make sense when used in junction. Most items have one or more unique conditions that should be considered.
Optional
- name
- defaults to PAGENAME
- Use sparingly, usually only if there are disambiguation issues
News Panel
- news
Enter the filename of the news image, minus the filetype at the end (forces png - try to upload actual pngs whenever possible). Please use the "big" version (like File:SpiralKnights News 103-big.png vs File:SpiralKnights News 103.png) whenever possible. Watch the hyphen and capital letters. "big" news images should be full versions of visuals used on the news page.
- no news link
- Use if there is no news link
- variable
- use if there are many different items with different release dates, like with recolors
- news image
- defaults through news parameter but can be adjusted for wording with:
- no news image
- Use if there is no news link
- variable
- if more than one variation of the item has been released over time. There are a few specific "variable" options:
- recolor (if the item has been recolored)
- rose regalia
- if more than one variation of the item has been released over time. There are a few specific "variable" options:
- news link
- defaults to a uniform phrase. Same conditions as news.
- enter the full address of the location of the news - usually an admin forum post, like so: http://forums.spiralknights.com/en/node/107935
Panel 2,3,4 Visuals
Use these only if:
- images have already been uploaded to decent filenames
- the items seem to be extra special
- the items have an unusual naming convention that doesn't work with PAGENAME
- if there are disambiguation issues (another PAGENAME issue)
Pick an item that you feel best represents the type of item. It would be best if that item's coloration were different from the others in the gallery per image.
Image filetype is .png
An example of usage can be found here.
- panel 2 image
- Defaults through name to PAGENAME
- Use the full name of the item as seen in-game that you wish to specify
- Panel 2 images for this gallery are tooltip animations
- panel 3 image
- Defaults through name to PAGENAME
- Use the full name of the item as seen in-game that you wish to specify
- panel 3 images for this gallery are preview images for accessories and costumes, unless costumes are in a set, then the image is of the item in its set. See below for details.
- panel 4 image
- Defaults through name to PAGENAME
- Use the full name of the item as seen in-game that you wish to specify
- panel 4 images for this gallery are overworld animations
Panel 3: Sets
This only pertains to several costume items. If the item is in a set, sharing a similar name and coloration to either a helmet or armor costume, then simply add "set" to the code like so:
{{Gallery/Aesthetic |news = blah |news link = blah |set = FILENAME }}
This will take care of the panel 3 image field with ease. Make sure to name the file properly. Pick a set you feel is a good representative of the rest of the sets if the costumes have several recolored sets. Not all costumes do - the Plasmatech items are unique, while the Warden items have several colors.
this is always a .png, so don't include ".png" (or "File:" in the filename - just use the file's name.
Examples
{{Gallery/Aesthetic |news = variable |panel 2 image = Anti-Hazard Spikes |panel 3 image = Anti-Personnel Spikes |panel 4 image = Anti-Hazard Spikes }}
- Produces
Esta galería contiene varios ejemplos diferentes del mismo tipo de artículo.
More than one version of this item has been released. Many have their own related news art. | |||
Otra vista emergente. (Animación - clic para ver) |
Vista para inspeccionar. | Una vista en el mundo. (Animación - clic para ver) |
If used on the relevant page (notice the editor has chosen to not upload the same file twice for both helmet and suit, and chooses to use "suit" file for both overworld pics - not usually something you should do but it is possibly desired if uniform changes occur to a set):
{{Gallery/Aesthetic |news = SpiralKnights News 142-big |news link = http://forums.spiralknights.com/en/node/107935 |set = Voltaic Radical |panel 4 image = Voltaic Radical Suit }}
- Produces
Esta galería contiene varios ejemplos diferentes del mismo tipo de artículo.
Arte relacionado a noticias.[1] | Otra vista emergente. (Animación - clic para ver) |
Una vista de este artículo en su set. | Una vista en el mundo. (Animación - clic para ver) |
Notes
This template uses many switches and will likely explode if you try to touch it. Be especially careful when uploading new images. If you know an image you want to use exists already, do not upload that image to another name - tweak your data entries until the image shows up, take a good look at the code, or ask for help on the Wiki Editors' Forums if it refuses to work.
There are several animation and caption options in the template code in case we ever need to tweak certain things regarding APNGs - they are used very sparingly, if at all.
La documentación anterior es una transclusión de Plantilla:Gallery/Aesthetic/doc. (editar | historia) Los editores pueden experimentar en la zona de pruebas de esta plantilla sandbox (crear) y en las páginas de prueba testcases (crear). Por favor añade las categorías y los interwikis a la subpágina /doc. Subpáginas de esta plantilla. |