User:Altotn

From Cantr II Wiki
Revision as of 23:02, 16 May 2010 by EchoMan (talk | contribs)

Jump to: navigation, search
Español
Por favor, dejen sus opiniones sobre cualquier tema mencionado en esta página en mi página de discusión. De ser posible, en español. Si no, en inglés está bien, pero tengan presente que les voy a responder usando programas traductores.
English
Please leave your views of any matter listed on this page in my talk page. If possible, in Spanish. If not, English is fine, but keep in mind that I will respond you using software translators (such as Google). The same software that generated this text.

Nueva plantilla para recursos / New template for resources

Español

Acabo de terminar una plantilla nueva para los artículos de recursos. Considero que aporta muchas cosas buenas a la Wiki, sobretodo a su aspecto. Yo no tengo muy en claro si hay que pedir aprobación para este tipo de cosas o no, y dado que tampoco vi mucha actividad en torno a la Wiki es que decidí simplemente hacer la nueva plantilla y dejar el resto a consideración de quien corresponda.

Es importante destacar que la cuestión de fondo aquí es el aspecto general de la Wiki, y no el de usar o no la nueva plantilla.

La plantilla en cuestión es: Template:Recurso. Se puede ver la descripción en su página de discusión; al final de todo hay algunos ejemplos de su utilización.

English

I just finished a new template for resource articles. I believe it brings many good things to the Wiki, mostly to their appearance. I am not very clear whether to seek approval for these things or not, and since I did not see much activity around the Wiki, I decided to just make the new template and leave the rest to the attention of appropriate persons.

Importantly, the fundamental issue here is the general appearance of the Wiki, not whether to use the new template.

The template in question is Template:Recurso. You can see the description in his talk page, at the bottom there are some examples of his use.

Meta-plantilla / Meta-template

Español

Actualmente estoy trabajando en una serie de meta-plantillas, es decir plantillas para crear plantillas. Mi idea con esto es generar una forma fácil y práctica de construir las plantillas que se utilizan en los diferentes tipos de artículo (edificios, vehículos, recursos, etc.) para detallar su información en forma de tabla.

La forma de lograrlo sería tener una plantilla base que sea una tabla, junto con un par de plantillas adicionales que sirvan para darle forma a una tabla estándar. Luego, tener otras plantillas específicas que utilicen la plantilla base y las plantillas adicionales para construir diferentes tablas específicas (una tabla específica sería, por ejemplo, una tabla para edificios).

En resumen:

  • Una tabla/plantilla base única.
    • Un conjunto de tablas/plantillas adicionales (2, o 3 como máximo) para dar forma a la tabla base.
      • Un conjunto de plantillas específicas para cada tipo de artículo (una para edificios, una para vehículos, una para recursos, etc.) que utilicen la plantilla base y una combinación arbitraria de las plantillas adicionales para generar una tabla específica.
        • Adicionalmente, un grupo de plantillas finales (una para cada lenguaje) que sirvan para traducir las tablas específicas a diferentes idiomas y lograr así tablas específicas finales.

Realmente, esto es mucho más fácil de lo que parece a simple vista. Puesto que, si bien son muchas las plantillas implicadas, la mayoría de ellas son muy sencillas. Además, a fin de cuentas, desde el punto de vista de un editor de artículos, sólo hay que preocuparse por una plantilla sola: la plantilla específica final del idioma deseado para el tipo de artículo que se está editando. Dicha plantilla se utilizaría de la misma forma en que se utilizan las plantillas actuales.

Usar una plantilla que está basada en otras plantillas tiene como ventajas:

  • Cada plantilla específica tiene sus características individuales, y a su vez,
  • todas las plantillas tienen un aspecto similar, dado que se basan en las mismas plantillas.
  • Además, al modificar una plantilla de nivel superior, todas las plantillas que dependen de ella se ven afectadas. Esto puede servir para:
    • que los artículos de diferentes idiomas se parezcan entre sí;
    • que todos los artículos tengan un estilo coherente con el resto de la Wiki;
    • que las modificaciones generales que haya que hacer se vean reflejadas en todos los artículos de todos los lenguajes implicados.

English

I am currently working on a series of meta-templates, ie templates to create templates. My idea with this is create an easy and practical way to build the templates that are used in the different types of articles (buildings, vehicles, resources, etc.) to detail his information in form of a table.

The way to achieve this would have a base template that is a table, along with a couple of additional templates that serve to shape a standard table. Then, have other specific templates using the template base and the additional templates to build different specific tables (a specific table would be, for example, a table for buildings).

In summary:

  • A single base table/template.
    • A set of additional tables/templates (2 or 3 maximum) to shape the base table.
      • A set of specific templates for each type of article (one for buildings, one for vehicles, one for resources, etc.) that use the base template and an arbitrary combination of the additional templates to generate a specific table.
        • In addition, a set of final templates (one for each language) that serve to translate the specific tables to different languages, thereby achieving the final specific tables.

Actually, this is much easier than it seems at first glance. Because, while there are many templates involved, most of them are very simple. Moreover, after all, from the standpoint of an editor of articles, you only have to worry about a single template: the final specific template of the desired language for the type of article being edited. This template would be used in the same way that you use the current templates.

Using a template that is based on other templates has the advantages:

  • Each specific template has individual characteristics, and in turn,
  • all templates look similar, because they are being based on the same templates.
  • Moreover, by modifying a higher template, all templates that depend on them are affected. This may help to:
    • that articles in different languages look similar to each other;
    • that all articles have a consistent style with the rest of the Wiki;
    • that the general changes to be made will be reflected in all articles of all languages involved.