Шаблон:TestLinks

Материал из Энциклопедия EverQuest II
Перейти к: навигация, поиск

Parameters

linktemp The name of the template that handles the linking for this category type. This can be blank (see generic)
pagename The {{PAGENAME}} of the page that called this template
link The category page type. The category page name is formed by pagename plus link
purpose used in the NPC tree. Precedes link, if defined
generic if linktemp is blank, this had better not be! Use this in place of a constructed call in LinksEdit!

Examples

from Template:ZoneInformation:

{{TestLinks|linktemp=ZoneLinks|pagename={{PAGENAME}}|link=POIs}}

from Template:NPCInformation:

{{TestLinks|linktemp=ZPNPCLinks|pagename={{{zone}}}|link={{{purpose|Quest}}}

from Template:NPCInformation:

{{TestLinks|linktemp=|
 pagename={{{purpose|Quest}}}|
 link=(NPC Type)|
 purpose={{{purpose|Quest}}}|
 generic=[[Категория:Типы НПС]]|
}}

See Also

This template is used by the following templates:

This template uses the following sub-templates:

Ultimately, I hope to expand this template to handle category redlink warnings for ALL category trees.

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