Шаблон:LocationInformation — различия между версиями
Fuego (обсуждение | вклад) |
Fuego (обсуждение | вклад) |
||
(не показано 8 промежуточных версий этого же участника) | |||
Строка 2: | Строка 2: | ||
-->{{#if:{{{1|}}}<!-- | -->{{#if:{{{1|}}}<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->{{{1}}} | + | -->{{{1}}}<!-- |
-->|<!-- | -->|<!-- | ||
− | -->[[Category: | + | -->[[Category:{{#if:{{{caller|}}}|Статьи о {{{caller}}}|Статьи}} - не указана локация]]<!-- |
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{{2|}}}<!-- | -->{{#if:{{{2|}}}<!-- | ||
Строка 13: | Строка 13: | ||
-->{{#ifeq:{{{2}}}|*<!-- | -->{{#ifeq:{{{2}}}|*<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->(смотрите ниже)<!-- | + | --><nowiki> </nowiki>(смотрите ниже)<!-- |
-->|<!-- | -->|<!-- | ||
− | -->{{Loc|{{#explode:,{{{2}}},|,|1}}|{{#explode:,{{{2}}},|,|2}}|{{#explode:,{{{2}}},|,|3}}|uid={{{3|}}}}}<!-- | + | --><nowiki> </nowiki>{{Loc|{{#explode:,{{{2}}},|,|1}}|{{#explode:,{{{2}}},|,|2}}|{{#explode:,{{{2}}},|,|3}}|uid={{{3|}}}}}<!-- |
-->}}<!-- | -->}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->[[Category: | + | -->[[Category:{{#if:{{{caller|}}}|Статьи о {{{caller}}}|Статьи}} - не указаны координаты]]<!-- |
− | + | -->}}<!-- | |
− | + | -->{{#if:{{{3|}}}<!-- | |
− | + | -->|<!-- | |
− | + | -->|<!-- | |
− | + | -->[[Category:{{#if:{{{caller|}}}|Статьи о {{{caller}}}|Статьи}} - не указан EQ2MAP uid|{{PAGENAME}}]]<!-- | |
-->}}</includeonly><noinclude> | -->}}</includeonly><noinclude> | ||
Используйте данный шаблон, для генерации информациио местонахождении в любом информационном блоке. | Используйте данный шаблон, для генерации информациио местонахождении в любом информационном блоке. | ||
− | <pre>usage: {{LocationInformation|< | + | <pre>usage: {{LocationInformation|<название локации>|<координаты>|<uid>|caller=}}</pre> |
О mapref: Just as with the <nowiki>{{Loc}}</nowiki> tag, if mapref=X, no output will be made for mapref, and if mapref=* the message (see below) will be displayed. | О mapref: Just as with the <nowiki>{{Loc}}</nowiki> tag, if mapref=X, no output will be made for mapref, and if mapref=* the message (see below) will be displayed. |
Текущая версия на 14:32, 30 сентября 2008
Используйте данный шаблон, для генерации информациио местонахождении в любом информационном блоке.
usage: {{LocationInformation|<название локации>|<координаты>|<uid>|caller=}}
О 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 Категория:Страницы с отсутствующей EQ2MAP информацией, else they will be in [[:Category:<caller> pages that need EQ2MAP UID]]
Полезные ссылки: | Все шаблоны | Information Templates | Class Templates |
---|