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

Материал из Энциклопедия EverQuest II
Перейти к: навигация, поиск
Строка 1: Строка 1:
 
<includeonly>{{#if: {{{1|}}}|{{{1}}}<nowiki> </nowiki>|[[Category:{{{caller|Articles}}} needing location]]}}{{#if: {{{2|}}}|
 
<includeonly>{{#if: {{{1|}}}|{{{1}}}<nowiki> </nowiki>|[[Category:{{{caller|Articles}}} needing location]]}}{{#if: {{{2|}}}|
{{#ifeq: {{uc:{{{2}}}}}|X||{{#ifeq: {{{2}}}|*|(see below)|{{Loc|{{#explode:,{{{2}}},|,|1}}|{{#explode:,{{{2}}},|,|2}}|{{#explode:,{{{2}}},|,|3}}|uid={{{3|}}}}}}}}}|[[Category:{{{caller|Articles}}} needing mapref]]}}{{#if: {{{3|}}}||[[Category:{{{caller|}}} pages that need EQ2MAP uid|{{PAGENAME}}]]}}</includeonly><noinclude>
+
{{#ifeq: {{uc:{{{2}}}}}|X||{{#ifeq: {{{2}}}|*|(see below)|{{Loc|{{#explode:,{{{2}}},|,|1}}|{{#explode:,{{{2}}},|,|2}}|{{#explode:,{{{2}}},|,|3}}|uid={{{3|}}}}}}}}}|[[Category:{{{caller|Articles}}} needing mapref]]}}{{#if: {{{3|}}}||[[Category:Статьи о {{{caller|}}} - отсуствует EQ2MAP uid|{{PAGENAME}}]]}}</includeonly><noinclude>
  
 
Use this to generate the Location line in any Information Box template.
 
Use this to generate the Location line in any Information Box template.

Версия 12:37, 16 июня 2008


Use this to generate the Location line in any Information Box template.

usage: ((LocationInformation|<location>|<mapref>|<uid>|caller=}}

Note about mapref: Just as with the {{Loc}} tag, if mapref=X, no output will be made for mapref, and if mapref=* the message (see below) will be displayed.

Caller is optional. If not included, pages without uid will be in Category:Pages that need EQ2MAP info, else they will be in [[:Category:<caller> pages that need EQ2MAP UID]]

This is a sub-template, used by other templates, and is NOT intended for use by users!
Полезные ссылки: Все шаблоны Information Templates Class Templates


Use this to generate the Location line in any Information Box template.

usage: ((LocationInformation|<location>|<mapref>|<uid>|caller=}}

Note about mapref: Just as with the {{Loc}} tag, if mapref=X, no output will be made for mapref, and if mapref=* the message (see below) will be displayed.

Caller is optional. If not included, pages without uid will be in Category:Pages that need EQ2MAP info, else they will be in [[:Category:<caller> pages that need EQ2MAP UID]]

This is a sub-template, used by other templates, and is NOT intended for use by users!
Полезные ссылки: Все шаблоны Information Templates Class Templates