Help:Layouts

Revision as of 18:10, 7 May 2009 by Vlad (talk | contribs)

A 'layout, ortemplate', is a site which is a text block to be used, ie as a pre-text in another text inserted. These are, for example, weapon or armor used.

No Topics == == 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. The main application, you add a template with ' <nowiki> Template:Title </ nowiki> </ code>' a. 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. <nowiki> {{Subst: Title}} </ nowiki> </ tt> also adds the contents of the template, replacing the text directly, but when you save the template. In this way, for example, new users welcome, which are then on their side even when you edit the text to find the welcome and no confusing Template:Template </ tt>. Other templates are designed so that they <nowiki> with {{subst: Title}} </ nowiki> </ tt> tag, eg the template deletion request.
  3. <nowiki> Msgnw Template:Title </ nowiki> </ tt> 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, {{<nowiki> Metin2Wiki Guide}} </ nowiki> the page Metin2Wiki: Guide as a template mount. If a page from the article namespace mount, you have to have a colon before the name: How would <nowiki> Template:Test </ nowiki>, for example, the article Test as a template mount.

Conditional inclusion of code blocks

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

<nowiki> </ Nowiki> </ tt>

If the submission is considered directly, have <nowiki> </ nowiki> </ tt> and <nowiki> </ onlyinclude> </ nowiki> </ tt> no effect at all what stands between them. If the template but on the other side is involved,onlyis displayed, which between <nowiki> </ nowiki> </ tt> and <nowiki> </ onlyinclude> < / nowiki> </ tt> stands. With <nowiki> </ nowiki> </ tt> to Documentation Category and Interwiki links in templates to be inserted without the need for this to appear in the articles. There may be two or more non-nested' <nowiki> </ nowiki> </ tt> blocks in a template are available.

<nowiki>