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

Материал из Энциклопедия EverQuest II
Перейти к: навигация, поиск
м (Исправил на рабочую ссылку)
м
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
<onlyinclude>[http://www.lootdb.com/eq2/mob/{{{type|item}}} LootDB]</onlyinclude>
+
<onlyinclude>{{#switch:{{{type|item}}}
 +
|item
 +
|#default=[http://www.lootdb.com/?t=item&q={{#replace:{{#replace:{{{1|}}}| |%20}}|_|%20}} LootDB]
 +
|mob=[http://www.lootdb.com/eq2/mob/{{{1|}}} LootDB]
 +
|zone=[http://www.lootdb.com/eq2/zone/{{{1|}}} LootDB]
 +
<!-- end -->}}</onlyinclude>
  
 
will build an inline external link to LootDB.com
 
will build an inline external link to LootDB.com

Текущая версия на 14:23, 10 июля 2009

LootDB

will build an inline external link to LootDB.com

parameters

type
t= part of the url
choice [item | mob | zone]
1
name of the searched page
REMEMBER TO URLENCODE YOUR OWN INPUT
This is a sub-template, used by other templates, and is NOT intended for use by users!
Полезные ссылки: Все шаблоны Information Templates Class Templates

LootDB

will build an inline external link to LootDB.com

parameters

type
t= part of the url
choice [item | mob | zone]
1
name of the searched page
REMEMBER TO URLENCODE YOUR OWN INPUT
This is a sub-template, used by other templates, and is NOT intended for use by users!
Полезные ссылки: Все шаблоны Information Templates Class Templates