Difference between revisions of "Help:Layouts"

Line 1: Line 1:
+
A '''Layout''' or '''Template''' is a page where text blocks or structures can be used. These are, for example, used for [[Weapon]] or [[Armour]] sets.
  
 
== No Theme Rings ==
 
== No Theme Rings ==
Line 11: Line 11:
 
To create a simple template in an article to use, there are three possibilities:
 
To create a simple template in an article to use, there are three possibilities:
  
     1. In the main application, you add a template with {{title}} them. When viewing the page replaces the MediaWiki software that then by the content of the presentation of title. Changes anyone submitting changes to the presentation.
+
     1. In the main application, you add a template with {{title}} them. When viewing the page replaces the MediaWiki software that then by the content of the presentation of "title". Changes anyone submitting changes to the presentation.
 
     2. {{subst: title}} also adds the contents of the template, replacing the text directly, but when you save the template. In this way, for example, welcomes new users, which are then on their side even when you edit the text to find the welcome and no confusing Template: Template. Other templates are designed so that they, along with {{ubst: title}} tag, eg the template deletion request.
 
     2. {{subst: title}} also adds the contents of the template, replacing the text directly, but when you save the template. In this way, for example, welcomes new users, which are then on their side even when you edit the text to find the welcome and no confusing Template: Template. Other templates are designed so that they, along with {{ubst: title}} tag, eg the template deletion request.
 
     3. {{msgnw: title}} in the article shows the source code of the template. This feature is rarely, really only to the Declaration of artwork needed.
 
     3. {{msgnw: title}} in the article shows the source code of the template. This feature is rarely, really only to the Declaration of artwork needed.

Revision as of 18:00, 7 May 2009

A Layout or Template is a page where text blocks or structures can be used. These are, for example, used for Weapon or Armour sets.

No Theme Rings

It is forbidden in the German-speaking subjects Metin2Wiki rings, ie combinations of several articles on the same topic to create. Are permitted only navigation bars or other compilations as well as link boxes, a full list of peer elements.


Templates

To create a simple template in an article to use, there are three possibilities:

   1. In the main application, you add a template with Template:Title them. When viewing the page replaces the MediaWiki software that then by the content of the presentation of "title". Changes anyone submitting changes to the presentation.
   2. {{subst: title}} also adds the contents of the template, replacing the text directly, but when you save the template. In this way, for example, welcomes new users, which are then on their side even when you edit the text to find the welcome and no confusing Template: Template. Other templates are designed so that they, along with Template:Ubst: title tag, eg the template deletion request.
   3. [[:Template:Title]] in the article shows the source code of the template. This feature is rarely, really only to the Declaration of artwork needed.

Pages that are not in the template namespace is, you can still be considered a template, if one room with the name indicates. For example, Template:Metin2Wiki Guide the page Metin2Wiki Guide mount as a template. If a page from the article namespace mount, you have to have a colon before the name: This would Template:Test, for example, the test article as a template mount.


Conditional inclusion of code blocks

The following tags should only be used by the process as a template:


    If the template is considered directly, and have  </ onlyinclude> no effect on everything that stands in between. If the template but on the other side is involved, will only appear between what  and </ onlyinclude> stands. With  can documentation, categories and interwiki links in templates are inserted without the need for this to appear in the articles. There may be two or more non-nested  blocks are available in a template.