Изменения

Шаблон:OtherResources

6952 байта добавлено, 09:08, 11 марта 2008
Нет описания правки
<includeonly><span class="plainlinks">{{#switch: {{lc:{{{type|}}}}}
| item = {{Link2LootDB|{{{1|}}}|type=item}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|item}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2Players|{{{1|}}}|item|items}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|item}}
| recipe = {{Link2LootDB|{{{1|}}}|type={{{type|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|item}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2Players|{{{1|}}}|item|items}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|recipe}}
| mob = {{Link2LootDB|{{{1|}}}|type=mob}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|mob}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|mob}}
| epicnamed = {{Link2LootDB|{{{1|}}}|type=mob}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|mob}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->[http://eq2.raidmobs.com/mobs.php EQ2.RaidMobs.com]{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|mob}}
| zone = {{Link2LootDB|{{{1|}}}|type={{{type|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{#if: {{{uid|}}}|{{Link2EQ2Map|zid={{{uid|}}}|verbose=y}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|zone}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|zone}}
| epiczone = {{Link2LootDB|{{{1|}}}|type={{{type|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{#if: {{{uid|}}}|{{Link2EQ2Map|zid={{{uid|}}}|verbose=y}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}}}<!--
-->{{SearchEQ2LLinks|{{{1|}}}|zone}}<br><!--
--><!--[http://www.raidwiki.org/wiki/index.php/{{{1|}}} RaidWiki]{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}|zone}}
| npc
| quest = <!--{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchAlla|{{{1|}}}|quest}}
| poi = {{#if: {{{uid|}}}|{{Link2EQ2Map|{{{uid|}}}|verbose=y}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchAlla|{{{1|}}}}}
| spell = {{Link2LootDB|{{{1|}}}|type=spell}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
-->{{SearchEQ2Players|{{{1|}}}|item|items}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchAlla|{{{1|}}}|ability}}
| guild = <!--{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->[http://eq2players.station.sony.com/items/quickSearch.action?name={{#replace:{{#replace:{{{1}}}|_|+}}| |+}}&searchType=guild EQ2Players]
| character = <!--{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
-->{{SearchEQ2Players|{{{1|}}}|character|characters}}
| chrace = <!--{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}<!--
[http://everquest2.station.sony.com/allraces.vm EQ2&nbsp;Homepage] -->
{{SearchAlla|{{{1|}}}|chrace}}
| race = <!--{{Link2EQ2DailyWiki|{{{1|}}}}}{{#if: {{{box|}}}|<br>|<nowiki> · </nowiki>}}
[http://everquest2.station.sony.com/en/main.vm#creatures{{#replace:{{{race|}}}| |}} EQ2&nbsp;Homepage] -->
{{SearchAlla|{{{1|}}}|race}}

| none applicable
}}</span></includeonly><noinclude>

If you know of a resource that we do not link to that you think we should, please leave information including URL and, hopefully, a link example, on the discussion page!

Usage: <nowiki>{{OtherResources|searchString|type=|box=}}</nowiki>

;searchString: is usually <nowiki>{{PAGENAMEE}}</nowiki> but might be something like <nowiki>{{{altlootdb}}}</nowiki> (used on NamedInformation to override PAGENAME where needed)
;type: one of: zone, mob, npc, item, spell or quest. Note that mob and npc are different. (LootDB does not list NPC's since they cannot be killed so they do not drop things, and we have no resources at this time for Spells!)
;box:if not blank, we are displaying in a small box and want the links to be vertical

All Templates (below) which use this function call it through [[Template:INameORBox]] (which calls [[Template:OtherResourcesBox]] to call this).

We currently support external links of some type) to the following resources:
{| border="1" cellspacing="0" width="40%"
!Type!!Resources!!Templates Involved
|-
|item||
*LootDB.COM
*EQ2LL
*EQ2Players
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:ItemInformation]]
*[[Template:EquipInformation]]
|-
|mob||
*LootDB.COM
*EQ2LL
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:MonsterInformation]]
*[[Template:NamedInformation]]
|-
|epicnamed||
*LootDB.COM
*EQ2LL
*EQ2.RaidMobs.com
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:NamedInformation]]
|-
|zone||
*LootDB.COM
*EQ2MAP
*EQ2LL
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:ZoneInformation]]
*[[Template:IZoneInformation]]
|-
|epiczone||
*LootDB.COM
*EQ2MAP
*EQ2LL
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:ZoneInformation]]
*[[Template:IZoneInformation]]
|-
|npc||
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:NPCInformation]]
|-
|quest||
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:QuestInformation]]
*[[Template:CQuestInformation]]
*[[Template:LnLInformation]]
|-
|poi||
*EQ2MAP
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:POIInformation]]
*[[Template:IslandInformation]]
|-
|spell||
*EQ2Daily Wiki
*EQ2Players
|
*[[Template:SpellInformation]]
|-
|recipe||
*LootDB.COM
*EQ2LL
*EQ2Players
*EQ2Daily Wiki
*Allakhazam's
|
*[[Template:RecipeBook]]
|-
|guild||
*EQ2Daily Wiki
*EQ2Players
|
*[[Template:GuildInformation]]
|-
|character||
*EQ2Daily Wiki
*EQ2Players
|
*[[Template:PCInformation]]
|-
|race||
*EQ2Daily Wiki
|
*[[Template:RaceInformation]]
|-
|chrace||
*EQ2Daily Wiki
*EQ2Players
|
*[[Template:CharacterRaceInformation]]
|}

==edits==
:2007-09-20: [[w:c:eq2:User:FlorenceSopher|Florence Sopher]] - rem'd out links for EQ2DailyWiki. If they ever get it together they can ask me to restore it.
:2007-11-14: [[w:c:eq2:User:Uberfuzzy|Uberfuzzy]]- removing race link to eq2players, mob races not available there anymore after rok launch.

{{TemplateHelper}}
</noinclude>
Анонимный участник