Шаблон:Zone — различия между версиями

Материал из Энциклопедия EverQuest II
Перейти к: навигация, поиск
 
(не показаны 2 промежуточные версии этого же участника)
Строка 1: Строка 1:
 
<includeonly>[[{{{1|}}}|{{#if: {{{2|}}}|{{{2|}}}|{{{1|Invalid Zone call!}}}}}]]{{#ifexist: {{{1|}}}||[[Category:Статьи с несуществующими ссылками на зону]]}}</includeonly><noinclude>
 
<includeonly>[[{{{1|}}}|{{#if: {{{2|}}}|{{{2|}}}|{{{1|Invalid Zone call!}}}}}]]{{#ifexist: {{{1|}}}||[[Category:Статьи с несуществующими ссылками на зону]]}}</includeonly><noinclude>
Use this template when imbedding a link to a Zone in your article. If the Zone does not exist (is redlinked) a link to [[:Category:Статьи с несуществующими ссылками на зону]] will be created.
+
Используйте этот шаблон, когда вам необходимо сделать ссылку на зону в вашей статье. Если зона не существует, статья будет добавлена в категорию [[:Категория:Статьи с несуществующими ссылками на зону]], и внизу страницы будет добавлена ссылка на данную категорию.
  
==Parameters==
+
==Параметры==
This template uses numerical parameters, thus simplifying the call.
+
<code><nowiki>{{Zone|ZoneName(1)|ZoneFullName(2)}}</nowiki></code><br>
# Name of the Zone as it appears at the top of the Map screen, but excluding any [[Project:Policy/Naming#Quest articles|preceeding insignificant words]].
+
Этот шаблон использует numerical parameters, thus simplifying the call.
# (Optional) Complete name of the Zone, or whatever text flows with your sentence. Defaults to the value of the first parameter.  
+
# Название зоны - его можно найти наверху окна карты, but excluding any [[Project:Policy/Naming#Quest articles|preceeding insignificant words]].
 +
# (Необязательно) Полное название зоны, или текст по Вашему усмотрению. Главным остается первый параметр (использоватлось в оригинальной вики для отсечение артиклей от названий)
  
==Calling Format==
+
==Формат вызова==
 
<code><nowiki>{{Zone|ZoneName|ZoneFullName}}</nowiki></code>
 
<code><nowiki>{{Zone|ZoneName|ZoneFullName}}</nowiki></code>
  
==Examples==
+
==Например==
*<code><nowiki>Go to {{Zone|Commonlands|The Commonlands}}.</nowiki></code>
+
*<code><nowiki>Go to {{Zone|Свободные Земли|}}.</nowiki></code>
*<code><nowiki>This is a random ground spawn in {{Zone|Fallen Gate|}}.</nowiki></code>
+
*<code><nowiki>Появляется на земле в случайном месте {{Zone|Павшие Врата|Павших Врат}}.</nowiki></code>
 
**NOTE: The ending | in the last example is REQUIRED or the template will return an error.
 
**NOTE: The ending | in the last example is REQUIRED or the template will return an error.
  
 
==Exceptions==
 
==Exceptions==
You CANNOT use this template inside of the call to another template! In this case, use the direct Wikicode:
+
Вы НЕ МОЖЕТЕ использовать данный шаблон внутри другого шаблона, используйте обычные вики ссылки:
*<code><nowiki>{{QuestInformation-v2|szone=[[Commonlands|The Commonlands]].}}</nowiki></code>
+
*<code><nowiki>{{QuestInformation-v2|szone=[[Свободные земли]].}}</nowiki></code>
  
 
{{TemplateHelper|Zone}}
 
{{TemplateHelper|Zone}}
 
</noinclude>
 
</noinclude>

Текущая версия на 17:56, 30 июня 2008

Используйте этот шаблон, когда вам необходимо сделать ссылку на зону в вашей статье. Если зона не существует, статья будет добавлена в категорию Категория:Статьи с несуществующими ссылками на зону, и внизу страницы будет добавлена ссылка на данную категорию.

Параметры

{{Zone|ZoneName(1)|ZoneFullName(2)}}
Этот шаблон использует numerical parameters, thus simplifying the call.

  1. Название зоны - его можно найти наверху окна карты, but excluding any preceeding insignificant words.
  2. (Необязательно) Полное название зоны, или текст по Вашему усмотрению. Главным остается первый параметр (использоватлось в оригинальной вики для отсечение артиклей от названий)

Формат вызова

{{Zone|ZoneName|ZoneFullName}}

Например

  • Go to {{Zone|Свободные Земли|}}.
  • Появляется на земле в случайном месте {{Zone|Павшие Врата|Павших Врат}}.
    • NOTE: The ending | in the last example is REQUIRED or the template will return an error.

Exceptions

Вы НЕ МОЖЕТЕ использовать данный шаблон внутри другого шаблона, используйте обычные вики ссылки:

  • {{QuestInformation-v2|szone=[[Свободные земли]].}}

Полезные ссылки по шаблонам: Все шаблоны Информация о шаблонах
Связанные шаблоны: Zone Help:ZoneInformation ZoneInformation ZoneInformationEx P/ZoneInformation


Use this template when imbedding a link to a Zone in your article. If the Zone does not exist (is redlinked) a link to Category:Статьи с несуществующими ссылками на зону will be created.

Parameters

This template uses numerical parameters, thus simplifying the call.

  1. Name of the Zone as it appears at the top of the Map screen, but excluding any preceeding insignificant words.
  2. (Optional) Complete name of the Zone, or whatever text flows with your sentence. Defaults to the value of the first parameter.

Calling Format

{{Zone|ZoneName|ZoneFullName}}

Examples

  • Go to {{Zone|Commonlands|The Commonlands}}.
  • This is a random ground spawn in {{Zone|Fallen Gate|}}.
    • NOTE: The ending | in the last example is REQUIRED or the template will return an error.

Exceptions

You CANNOT use this template inside of the call to another template! In this case, use the direct Wikicode:

  • {{QuestInformation-v2|szone=[[Commonlands|The Commonlands]].}}

Полезные ссылки по шаблонам: Все шаблоны Информация о шаблонах
Связанные шаблоны: Zone Help:ZoneInformation ZoneInformation ZoneInformationEx P/ZoneInformation