Changeset 439 for aowow/templates/wowhead
- Timestamp:
- Apr 9, 2010, 12:04:59 PM (15 years ago)
- Location:
- aowow/templates/wowhead
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
aowow/templates/wowhead/item.tpl
r355 r439 1 1 {include file='header.tpl'} 2 2 3 3 <div id="main"> 4 4 5 6 5 <div id="main-precontents"></div> 6 <div id="main-contents" class="main-contents"> 7 7 8 9 10 11 12 8 <script type="text/javascript"> 9 {include file='bricks/allcomments.tpl'} 10 var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$item.name|escape:"quotes"}'{rdelim}; 11 g_initPath({$page.path}); 12 </script> 13 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 14 <table class="infobox"> 15 <tr><th>{#Quick_Facts#}</th></tr> 16 <tr><td> 17 <div class="infobox-spacer"></div> 18 <ul> 19 {* Уровень вещи *} 20 {if $item.level}<li><div>{#level#}: {$item.level}</div></li>{/if} 21 {* Стоимость вещи *} 22 {if $item.buygold or $item.buysilver or $item.buycopper} 23 <li><div> 24 {#Buy_for#}: 25 {if $item.buygold}<span class="moneygold">{$item.buygold}</span>{/if} 26 {if $item.buysilver}<span class="moneysilver">{$item.buysilver}</span>{/if} 27 {if $item.buycopper}<span class="moneycopper">{$item.buycopper}</span>{/if} 28 </div></li> 29 {/if} 30 {if $item.sellgold or $item.sellsilver or $item.sellcopper} 31 <li><div> 32 {#Sells_for#}: 33 {if $item.sellgold}<span class="moneygold">{$item.sellgold}</span>{/if} 34 {if $item.sellsilver}<span class="moneysilver">{$item.sellsilver}</span>{/if} 35 {if $item.sellcopper}<span class="moneycopper">{$item.sellcopper}</span>{/if} 36 </div></li> 37 {/if} 38 {if isset($item.disenchantskill)}<li><div>{#Disenchantable#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, LANG.tooltip_reqenchanting, 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$item.disenchantskill}</span>)</div></li>{/if} 39 {if isset($item.key)}<li><div>{#Can_be_placed_in_the_keyring#}</div></li>{/if} 40 </ul> 41 </td></tr> 42 </table> 43 43 44 44 <div class="text"> 45 45 46 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=4&action=searchentry&ID={$item.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a>47 48 46 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=4&state=0&text=&entry={$item.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 47 <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a> 48 <h1>{$item.name}</h1> 49 49 50 51 52 53 50 <div id="icon{$item.entry}-generic" style="float: left"></div> 51 <div id="tooltip{$item.entry}-generic" class="tooltip" style="float: left; padding-top: 1px"> 52 <table><tr><td>{$item.info}</td><th style="background-position: top right"></th></tr><tr><th style="background-position: bottom left"></th><th style="background-position: bottom right"></th></tr></table> 53 </div> 54 54 55 55 <div style="clear: left"></div> 56 56 57 58 59 60 57 <script type="text/javascript"> 58 ge('icon{$item.entry}-generic').appendChild(Icon.create('{$item.iconname}', 2, 0, 0, {$item.stackable})); 59 Tooltip.fix(ge('tooltip{$item.entry}-generic'), 1, 1); 60 </script> 61 61 62 62 <h2>{#Related#}</h2> 63 63 64 64 </div> 65 65 66 67 66 <div id="tabs-generic"></div> 67 <div id="listview-generic" class="listview"></div> 68 68 <script type="text/javascript"> 69 {if isset($allitems)}{include file='bricks/allitems_table.tpl'data=$allitems}{/if}70 {if isset($allspells)}{include file='bricks/allspells_table.tpl'data=$allspells}{/if}69 {if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if} 70 {if isset($allspells)}{include file='bricks/allspells_table.tpl' data=$allspells}{/if} 71 71 var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim}); 72 {if isset($item.unlocks)}{include file='bricks/object_table.tpl' id='unlocks' tabsid='tabsRelated' data=$item.unlocks name='unlocks'}{/if}73 {if isset($item.fishedin)}{include file='bricks/zone_table.tpl' id='fished-in' tabsid='tabsRelated' data=$item.fishedin name='fishedin'}{/if}74 {if isset($item.droppedby)}{include file='bricks/creature_table.tpl' id='dropped-by' tabsid='tabsRelated' data=$item.droppedby name='droppedby'}{/if}75 {if isset($item.soldby)}{include file='bricks/creature_table.tpl' id='sold-by' tabsid='tabsRelated' data=$item.soldby name='soldby'}{/if}76 {if isset($item.teaches)}{include file='bricks/spell_table.tpl' id='teaches-recipe' tabsid='tabsRelated' data=$item.teaches name='teaches'}{/if}77 {if isset($item.containedinobject)}{include file='bricks/object_table.tpl' id='contained-in-object' tabsid='tabsRelated' data=$item.containedinobject name='containedin'}{/if}78 {if isset($item.minedfromobject)}{include file='bricks/object_table.tpl' id='mined-from-object' tabsid='tabsRelated' data=$item.minedfromobject name='minedfrom'}{/if}79 {if isset($item.gatheredfromobject)}{include file='bricks/object_table.tpl' id='gathered-from-object' tabsid='tabsRelated' data=$item.gatheredfromobject name='gatheredfrom'}{/if}80 {if isset($item.containedinitem)}{include file='bricks/item_table.tpl' id='contained-in-item' tabsid='tabsRelated' data=$item.containedinitem name='containedin'}{/if}81 {if isset($item.contains)}{include file='bricks/item_table.tpl' id='contains' tabsid='tabsRelated' data=$item.contains name='contains'}{/if}82 {if isset($item.pickpocketingloot)}{include file='bricks/creature_table.tpl' id='pick-pocketed-from' tabsid='tabsRelated' data=$item.pickpocketingloot name='pickpocketedfrom'}{/if}83 {if isset($item.skinnedfrom)}{include file='bricks/creature_table.tpl' id='skinned-from' tabsid='tabsRelated' data=$item.skinnedfrom name='skinnedfrom'}{/if}84 {if isset($item.prospectingloot)}{include file='bricks/item_table.tpl' id='prospected-from' tabsid='tabsRelated' data=$item.prospectingloot name='prospectedfrom'}{/if}85 {if isset($item.canbeplacedin)}{include file='bricks/item_table.tpl' id='can-be-placed-in' tabsid='tabsRelated' data=$item.canbeplacedin name='canbeplacedin'}{/if}86 {if isset($item.objectiveof)}{include file='bricks/quest_table.tpl' id='objective-of' tabsid='tabsRelated' data=$item.objectiveof name='objectiveof'}{/if}87 {if isset($item.starts)}{include file='bricks/quest_table.tpl' id='starts' tabsid='tabsRelated' data=$item.starts name='starts'}{/if}88 {if isset($item.rewardof)}{include file='bricks/quest_table.tpl' id='reward-of' tabsid='tabsRelated' data=$item.rewardof name='rewardfrom'}{/if}89 {if isset($item.reagentfor)}{include file='bricks/spell_table.tpl' id='reagent-for' tabsid='tabsRelated' data=$item.reagentfor name='reagentfor'}{/if}90 {if isset($item.createdfrom)}{include file='bricks/spell_table.tpl' id='created-by' tabsid='tabsRelated' data=$item.createdfrom name='createdby'}{/if}91 {if isset($item.disenchanting)}{include file='bricks/item_table.tpl' id='disenchanting' tabsid='tabsRelated' data=$item.disenchanting name='disenchanting'}{/if}92 {if isset($item.disenchantedfrom)}{include file='bricks/item_table.tpl' id='disenchanting' tabsid='tabsRelated' data=$item.disenchantedfrom name='disenchantedfrom'}{/if}72 {if isset($item.unlocks)}{include file='bricks/object_table.tpl' id='unlocks' tabsid='tabsRelated' data=$item.unlocks name='unlocks' }{/if} 73 {if isset($item.fishedin)}{include file='bricks/zone_table.tpl' id='fished-in' tabsid='tabsRelated' data=$item.fishedin name='fishedin' }{/if} 74 {if isset($item.droppedby)}{include file='bricks/creature_table.tpl' id='dropped-by' tabsid='tabsRelated' data=$item.droppedby name='droppedby' }{/if} 75 {if isset($item.soldby)}{include file='bricks/creature_table.tpl' id='sold-by' tabsid='tabsRelated' data=$item.soldby name='soldby' }{/if} 76 {if isset($item.teaches)}{include file='bricks/spell_table.tpl' id='teaches-recipe' tabsid='tabsRelated' data=$item.teaches name='teaches' }{/if} 77 {if isset($item.containedinobject)}{include file='bricks/object_table.tpl' id='contained-in-object' tabsid='tabsRelated' data=$item.containedinobject name='containedin' }{/if} 78 {if isset($item.minedfromobject)}{include file='bricks/object_table.tpl' id='mined-from-object' tabsid='tabsRelated' data=$item.minedfromobject name='minedfrom' }{/if} 79 {if isset($item.gatheredfromobject)}{include file='bricks/object_table.tpl' id='gathered-from-object' tabsid='tabsRelated' data=$item.gatheredfromobject name='gatheredfrom' }{/if} 80 {if isset($item.containedinitem)}{include file='bricks/item_table.tpl' id='contained-in-item' tabsid='tabsRelated' data=$item.containedinitem name='containedin' }{/if} 81 {if isset($item.contains)}{include file='bricks/item_table.tpl' id='contains' tabsid='tabsRelated' data=$item.contains name='contains' }{/if} 82 {if isset($item.pickpocketingloot)}{include file='bricks/creature_table.tpl' id='pick-pocketed-from' tabsid='tabsRelated' data=$item.pickpocketingloot name='pickpocketedfrom' }{/if} 83 {if isset($item.skinnedfrom)}{include file='bricks/creature_table.tpl' id='skinned-from' tabsid='tabsRelated' data=$item.skinnedfrom name='skinnedfrom' }{/if} 84 {if isset($item.prospectingloot)}{include file='bricks/item_table.tpl' id='prospected-from' tabsid='tabsRelated' data=$item.prospectingloot name='prospectedfrom' }{/if} 85 {if isset($item.canbeplacedin)}{include file='bricks/item_table.tpl' id='can-be-placed-in' tabsid='tabsRelated' data=$item.canbeplacedin name='canbeplacedin' }{/if} 86 {if isset($item.objectiveof)}{include file='bricks/quest_table.tpl' id='objective-of' tabsid='tabsRelated' data=$item.objectiveof name='objectiveof' }{/if} 87 {if isset($item.starts)}{include file='bricks/quest_table.tpl' id='starts' tabsid='tabsRelated' data=$item.starts name='starts' }{/if} 88 {if isset($item.rewardof)}{include file='bricks/quest_table.tpl' id='reward-of' tabsid='tabsRelated' data=$item.rewardof name='rewardfrom' }{/if} 89 {if isset($item.reagentfor)}{include file='bricks/spell_table.tpl' id='reagent-for' tabsid='tabsRelated' data=$item.reagentfor name='reagentfor' }{/if} 90 {if isset($item.createdfrom)}{include file='bricks/spell_table.tpl' id='created-by' tabsid='tabsRelated' data=$item.createdfrom name='createdby' }{/if} 91 {if isset($item.disenchanting)}{include file='bricks/item_table.tpl' id='disenchanting' tabsid='tabsRelated' data=$item.disenchanting name='disenchanting' }{/if} 92 {if isset($item.disenchantedfrom)}{include file='bricks/item_table.tpl' id='disenchanting' tabsid='tabsRelated' data=$item.disenchantedfrom name='disenchantedfrom' }{/if} 93 93 new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim}); 94 94 tabsRelated.flush(); 95 95 </script> 96 96 97 98 99 97 {include file='bricks/contribute.tpl'} 98 </div> 99 </div> 100 100 101 101 {include file='footer.tpl'} -
aowow/templates/wowhead/npc.tpl
r355 r439 1 1 {include file='header.tpl'} 2 2 3 3 <div id="main"> 4 4 5 6 5 <div id="main-precontents"></div> 6 <div id="main-contents" class="main-contents"> 7 7 8 9 10 11 12 8 <script type="text/javascript"> 9 {include file='bricks/allcomments.tpl'} 10 var g_pageInfo = {ldelim}type: 1, typeId: {$npc.entry}, name: '{$npc.name|escape:"quotes"}'{rdelim}; 11 g_initPath([0,4,{$npc.type}]); 12 </script> 13 13 14 15 16 17 18 19 20 21 22 14 <table class="infobox"> 15 <tr><th>{#Quick_Facts#}</th></tr> 16 <tr><td><div class="infobox-spacer"></div> 17 <ul> 18 <li><div>{#Level#}: {if $npc.minlevel<>$npc.maxlevel}{$npc.minlevel} - {/if}{$npc.maxlevel}</div></li> 19 <li><div>{#Classification#}: {$npc.rank}</div></li> 20 <li><div>{#React#}: <span class="q{if $npc.A==-1}7{elseif $npc.A==1}2{else}{/if}">A</span> <span class="q{if $npc.H==-1}7{elseif $npc.H==1}2{else}{/if}">H</span></div></li> 21 <li><div>{#Faction#}: <a href="?faction={$npc.faction_num}">{$npc.faction}</a></div></li> 22 <li><div>{#Health#}: {if $npc.minhealth<>$npc.maxhealth}{$npc.minhealth} - {/if}{$npc.maxhealth}</div></li> 23 23 {if ($npc.minmana or $npc.maxmana)} 24 24 <li><div>{#Mana#}: {if $npc.minmana<>$npc.maxmana}{$npc.minmana} - {/if}{$npc.maxmana}</div></li> 25 25 {/if} 26 26 {if ($npc.moneysilver>0) or ($npc.moneygold>0) or ($npc.moneycopper>0)} 27 27 <li><div>{#Wealth#}:{if ($npc.moneygold>0)} 28 28 <span class="moneygold">{$npc.moneygold}</span>{/if} 29 29 {if ($npc.moneysilver>0)} … … 34 34 {/if} 35 35 {if $npc.mindmg > 0 and $npc.maxdmg > 0} 36 36 <li><div>{#Damage#}: {$npc.mindmg} - {$npc.maxdmg}</div></li> 37 37 {/if} 38 38 {if $npc.armor > 0} 39 39 <li><div>{#Armor#}: {$npc.armor}</div></li> 40 40 {/if} 41 42 43 41 </ul> 42 </td></tr> 43 </table> 44 44 45 46 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=6&action=searchentry&ID={$npc.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a>47 48 49 45 <div class="text"> 46 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=6&state=0&text=&entry={$npc.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 47 <a href="http://www.wowhead.com/?{$query}" target="_blank" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a> 48 <h1>{$npc.name}{if $npc.subname} <{$npc.subname}>{/if}</h1> 49 50 50 {if $zonedata} 51 51 {#This_NPC_can_be_found_in#} 52 52 {strip} 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 53 <span id="locations"> 54 {foreach from=$zonedata item=zone_c name=zone_f} 55 <a {if ($exdata[$smarty.foreach.zone_f.index][0].x && $exdata[$smarty.foreach.zone_f.index][0].x)} 56 href="javascript:;" onclick=" 57 myMapper.update( 58 {ldelim} 59 zone: {$zone_c.zone}, 60 coords: [ 61 {foreach from=$exdata[$smarty.foreach.zone_f.index] item=exdata_c name=exdata_f} 62 {if (isset($exdata_c.x) and isset($exdata_c.y))} 63 [{$exdata_c.x},{$exdata_c.y}, 64 {ldelim} 65 label:'$<br> 66 <div class=q0> 67 <small>{#Respawn#}: 68 {if isset($exdata_c.r.h)} {$exdata_c.r.h}{#hr#}{/if} 69 {if isset($exdata_c.r.m)} {$exdata_c.r.m}{#min#}{/if} 70 {if isset($exdata_c.r.s)} {$exdata_c.r.s}{#sec#}{/if} 71 </small> 72 </div>',type:'0' 73 {rdelim}] 74 {if $smarty.foreach.exdata_f.last}{else},{/if} 75 {/if} 76 {/foreach} 77 ] 78 {rdelim}); 79 g_setSelectedLink(this, 'mapper'); return false" onmousedown="return false"> 80 {else}href="?zone={$zone_c.zone}">{/if}{$zone_c.name}</a> 81 {if $zone_c.count>1} ({$zone_c.count}){/if}{if $smarty.foreach.zone_f.last}.{else}, {/if} 82 {/foreach} 83 </span> 84 84 {/strip} 85 86 87 88 89 90 85 <div id="mapper-generic"></div> 86 <div class="clear"></div> 87 <script type="text/javascript"> 88 var myMapper = new Mapper({ldelim}parent: 'mapper-generic', zone: '{$zonedata[0].zone}'{rdelim}); 89 gE(ge('locations'), 'a')[0].onclick(); 90 </script> 91 91 {else} 92 92 {#This_NPC_cant_be_found#} 93 93 {/if} 94 94 {$npc.article} 95 95 96 96 <h2>{#Related#}</h2> 97 97 98 98 </div> 99 99 100 100 <div id="tabs-generic"></div> 101 101 102 102 <div id="listview-generic" class="listview"></div> 103 103 <script type="text/javascript"> 104 {if isset($allitems)}{include 105 {if isset($allspells)}{include 104 {if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if} 105 {if isset($allspells)}{include file='bricks/allspells_table.tpl' data=$allspells}{/if} 106 106 var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim}); 107 {if isset($npc.sells)}{include file='bricks/item_table.tpl' id='sells' name='sells'tabsid='tabsRelated' data=$npc.sells}{/if}108 {if isset($npc.drop)}{include file='bricks/item_table.tpl' id='drop' name='drops'tabsid='tabsRelated' data=$npc.drop}{/if}109 {if isset($npc.pickpocketing)}{include file='bricks/item_table.tpl' id='pick-pocketing' name='pickpocketing'tabsid='tabsRelated' data=$npc.pickpocketing}{/if}110 {if isset($npc.skinning)}{include file='bricks/item_table.tpl' id='skinning' name='skinning'tabsid='tabsRelated' data=$npc.skinning}{/if}111 {if isset($npc.starts)}{include file='bricks/quest_table.tpl' id='starts' name='starts'tabsid='tabsRelated' data=$npc.starts}{/if}112 {if isset($npc.ends)}{include file='bricks/quest_table.tpl' id='ends' name='ends'tabsid='tabsRelated' data=$npc.ends}{/if}113 {if isset($npc.abilities)}{include file='bricks/spell_table.tpl' id='abilities' name='abilities'tabsid='tabsRelated' data=$npc.abilities}{/if}114 {if isset($npc.objectiveof)}{include file='bricks/quest_table.tpl' id='objective-of' name='objectiveof'tabsid='tabsRelated' data=$npc.objectiveof}{/if}115 {if isset($npc.teaches)}{include file='bricks/spell_table.tpl' id='teaches-ability' name='teaches'tabsid='tabsRelated' data=$npc.teaches}{/if}107 {if isset($npc.sells)}{include file='bricks/item_table.tpl' id='sells' name='sells' tabsid='tabsRelated' data=$npc.sells}{/if} 108 {if isset($npc.drop)}{include file='bricks/item_table.tpl' id='drop' name='drops' tabsid='tabsRelated' data=$npc.drop}{/if} 109 {if isset($npc.pickpocketing)}{include file='bricks/item_table.tpl' id='pick-pocketing' name='pickpocketing' tabsid='tabsRelated' data=$npc.pickpocketing}{/if} 110 {if isset($npc.skinning)}{include file='bricks/item_table.tpl' id='skinning' name='skinning' tabsid='tabsRelated' data=$npc.skinning}{/if} 111 {if isset($npc.starts)}{include file='bricks/quest_table.tpl' id='starts' name='starts' tabsid='tabsRelated' data=$npc.starts}{/if} 112 {if isset($npc.ends)}{include file='bricks/quest_table.tpl' id='ends' name='ends' tabsid='tabsRelated' data=$npc.ends}{/if} 113 {if isset($npc.abilities)}{include file='bricks/spell_table.tpl' id='abilities' name='abilities' tabsid='tabsRelated' data=$npc.abilities}{/if} 114 {if isset($npc.objectiveof)}{include file='bricks/quest_table.tpl' id='objective-of' name='objectiveof' tabsid='tabsRelated' data=$npc.objectiveof}{/if} 115 {if isset($npc.teaches)}{include file='bricks/spell_table.tpl' id='teaches-ability' name='teaches' tabsid='tabsRelated' data=$npc.teaches}{/if} 116 116 new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim}); 117 117 tabsRelated.flush(); 118 118 </script> 119 119 120 120 {include file='bricks/contribute.tpl'} 121 121 122 123 124 122 <div class="clear"></div> 123 </div> 124 </div> 125 125 126 126 {include file='footer.tpl'} -
aowow/templates/wowhead/object.tpl
r355 r439 3 3 {include file='header.tpl'} 4 4 5 5 <div id="main"> 6 6 7 8 7 <div id="main-precontents"></div> 8 <div id="main-contents" class="main-contents"> 9 9 10 11 12 13 14 10 <script type="text/javascript"> 11 {include file='bricks/allcomments.tpl'} 12 var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$object.name|escape:"quotes"}'{rdelim}; 13 g_initPath({$page.path}); 14 </script> 15 15 16 16 {if isset($object.key) or isset($object.lockpicking) or isset($object.mining) or isset($object.herbalism)} 17 18 19 20 21 22 23 24 25 26 27 17 <table class="infobox"> 18 <tr><th>{#Quick_Facts#}</th></tr> 19 <tr><td><div class="infobox-spacer"></div> 20 <ul> 21 {if isset($object.key)}<li><div>{#Key#}: <a class="q{$object.key.quality}" href="?item={$object.key.id}">[{$object.key.name}]</a></div></li>{/if} 22 {if isset($object.lockpicking)}<li><div>{#Lockpickable#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_lockpicking_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.lockpicking}</span>)</div></li>{/if} 23 {if isset($object.mining)}<li><div>{#Mining#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_mining_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.mining}</span>)</div></li>{/if} 24 {if isset($object.herbalism)}<li><div>{#Herb#} (<span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Required_herb_skill#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()">{$object.herbalism}</span>)</div></li>{/if} 25 </ul> 26 </td></tr> 27 </table> 28 28 {/if} 29 29 30 31 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=5&action=searchentry&ID={$object.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a>32 33 30 <div class="text"> 31 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=5&state=0&text=&entry={$object.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 32 <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a> 33 <h1>{$object.name}</h1> 34 34 35 35 {if $zonedata} 36 36 {#This_Object_can_be_found_in#} 37 37 {strip} 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 38 <span id="locations"> 39 {foreach from=$zonedata item=zone_c name=zone_f} 40 <a href="javascript:;" onclick=" 41 myMapper.update( 42 {ldelim} 43 zone: {$zone_c.zone}, 44 coords: [ 45 {foreach from=$exdata[$smarty.foreach.zone_f.index] item=exdata_c name=exdata_f} 46 {if ($exdata_c.x and $exdata_c.y)} 47 [{$exdata_c.x},{$exdata_c.y}, 48 {ldelim} 49 label:'$<br> 50 <div class=q0> 51 <small>{#Respawn#}: 52 {if isset($exdata_c.r.h)} {$exdata_c.r.h}{#hr#}{/if} 53 {if isset($exdata_c.r.m)} {$exdata_c.r.m}{#min#}{/if} 54 {if isset($exdata_c.r.s)} {$exdata_c.r.s}{#sec#}{/if} 55 </small> 56 </div>',type:'0' 57 {rdelim}] 58 {if $smarty.foreach.exdata_f.last}{else},{/if} 59 {/if} 60 {/foreach} 61 ] 62 {rdelim}); 63 g_setSelectedLink(this, 'mapper'); return false" onmousedown="return false"> 64 {$zone_c.name}</a>{if $zone_c.count>1} ({$zone_c.count}){/if}{if $smarty.foreach.zone_f.last}.{else}, {/if} 65 {/foreach} 66 </span> 67 67 {/strip} 68 69 68 <div id="mapper-generic"></div> 69 <div class="clear"></div> 70 70 {literal} 71 72 73 74 71 <script type="text/javascript"> 72 var myMapper = new Mapper({parent: 'mapper-generic', zone: '{$zonedata[0].zone}'}); 73 gE(ge('locations'), 'a')[0].onclick(); 74 </script> 75 75 {/literal} 76 76 77 77 {else} 78 78 {#This_Object_cant_be_found#} 79 79 {/if} 80 80 81 81 {if isset($object.pagetext)} 82 83 84 85 86 87 88 89 90 91 92 93 82 <h3>Content</h3> 83 <div id="book-generic"></div> 84 {strip} 85 <script> 86 new Book({ldelim} parent: 'book-generic', pages: [ 87 {foreach from=$object.pagetext item=pagetext name=j} 88 '{$pagetext|escape:"javascript"}' 89 {if $smarty.foreach.j.last}{else},{/if} 90 {/foreach} 91 ]{rdelim}) 92 </script> 93 {/strip} 94 94 {/if} 95 95 <h2>{#Related#}</h2> 96 96 97 97 </div> 98 98 99 100 99 <div id="tabs-generic"></div> 100 <div id="listview-generic" class="listview"></div> 101 101 <script type="text/javascript"> 102 102 {if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if} … … 111 111 {include file='bricks/contribute.tpl'} 112 112 113 114 115 113 </div> 114 </div> 115 </div> 116 116 117 117 {include file='footer.tpl'} -
aowow/templates/wowhead/quest.tpl
r355 r439 3 3 {include file='header.tpl'} 4 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 {strip} 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 {/strip} 70 {strip} 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 {/strip} 89 {strip} 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 {/strip} 108 {strip} 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 {/strip} 127 {strip} 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 {/strip} 146 {strip} 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 {/strip} 165 {strip} 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 {/strip} 188 189 190 191 192 193 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=1&action=searchentry&ID={$quest.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a>194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 5 <div id="main"> 6 7 <div id="main-precontents"></div> 8 9 <div id="main-contents" class="main-contents"> 10 <script type="text/javascript"> 11 {include file='bricks/allcomments.tpl'} 12 var g_pageInfo = {ldelim}type: 5, typeId: {$quest.entry}, name: '{$quest.Title|escape:"quotes"}'{rdelim}; 13 g_initPath([0,3,{$quest.maincat},{$quest.category}]); 14 </script> 15 16 <script type="text/javascript"> 17 {if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if} 18 {if isset($allspells)}{include file='bricks/allspells_table.tpl' data=$allspells}{/if} 19 </script> 20 21 <table class="infobox"> 22 <tr><th>{#Quick_Facts#}</th></tr> 23 <tr><td> 24 <div class="infobox-spacer"></div> 25 <ul> 26 {if $quest.QuestLevel>0}<li><div>{#Level#}: {$quest.QuestLevel}</div></li>{/if} 27 {if $quest.MinLevel>0}<li><div>{#Requires_level#}: {$quest.MinLevel}</div></li>{/if} 28 {if $quest.typename}<li><div>{#Type#}: {$quest.typename}</div></li>{/if} 29 {if isset($quest.side)}<li><div>{#Side#}: <span class="{if ($quest.side.side==1)}alliance{elseif ($quest.side.side==2)}horde{else}both{/if}-icon">{$quest.side.name}</span></div></li>{/if} 30 {if isset($quest.start)}<li><div>{#Start#}: {section loop=$quest.start name=i}{if $quest.start[i].side}<span class="{$quest.start[i].side}-icon">{/if}<a href="?{$quest.start[i].type}={$quest.start[i].entry}"{if $quest.start[i].type == 'item'} class="icontiny q{$quest.start[i].quality}" style="background-image: url(images/icons/tiny/{$quest.start[i].iconname}.gif);"{/if}>{$quest.start[i].name}</a>{if $quest.start[i].side}</span>{/if}{if $smarty.section.i.last}{else}, <br><span style="visibility: hidden;">{#Start#}: </span>{/if}{/section}</div></li>{/if} 31 {if isset($quest.end)}<li><div>{#End#}: {section loop=$quest.end name=i}{if $quest.end[i].side}<span class="{$quest.start[i].side}-icon">{/if}<a href="?{$quest.end[i].type}={$quest.end[i].entry}">{$quest.end[i].name}</a>{if $quest.end[i].side}</span>{/if}{if $smarty.section.i.last}{else}, <br><span style="visibility: hidden;">{#End#}: </span>{/if}{/section}</div></li>{/if} 32 {if isset($quest.reqskill)}<li><div>{#Skill#}: {$quest.reqskill.name} ({$quest.reqskill.value})</div></li>{/if} 33 {if isset($quest.reqclass)}<li><div>{#Class#}: {$quest.reqclass}</div></li>{/if} 34 {strip}{if isset($quest.LimitTime)} 35 <li><div> 36 {#Timer#}: 37 {if isset($quest.LimitTime.h)} {$quest.LimitTime.h} {#hr#}{/if} 38 {if isset($quest.LimitTime.m)} {$quest.LimitTime.m} {#min#}{/if} 39 {if isset($quest.LimitTime.s)} {$quest.LimitTime.s} {#sec#}{/if} 40 </div></li> 41 {/if}{/strip} 42 {if isset($quest.Sharable)}<li><div>{#Sharable#}</div></li>{/if} 43 {if isset($quest.Daily)}<li><div>{#Daily#}</div></li>{elseif isset($quest.Repeatable)}<li><div>{#Repeatable#}</div></li>{/if} 44 </ul> 45 </td></tr> 46 {strip} {* Серия квестов *} 47 {if isset($quest.series)} 48 <tr><th>{#Series#}</th></tr> 49 <tr> 50 <td> 51 <div class="infobox-spacer"></div> 52 <table class="series"> 53 {section name=i loop=$quest.series} 54 <tr> 55 <th>{$smarty.section.i.index+1}.</th> 56 <td> 57 {if ($quest.series[i].entry==$quest.entry)} 58 <b>{$quest.series[i].Title}</b> 59 {else} 60 <div><a href="?quest={$quest.series[i].entry}">{$quest.series[i].Title}</a></div> 61 {/if} 62 </td> 63 </tr> 64 {/section} 65 </table> 66 </td> 67 </tr> 68 {/if} 69 {/strip} 70 {strip} {* Требует выполнения всех этих квестов *} 71 {if isset($quest.req)} 72 <tr><th> 73 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Prev_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 74 {#Prev_Quests#} 75 </span> 76 </th></tr> 77 <tr><td> 78 <div class="infobox-spacer"></div> 79 <ul> 80 {section name=i loop=$quest.req} 81 <li> 82 <div><a href="?quest={$quest.req[i].entry}">{$quest.req[i].Title}</a></div> 83 </li> 84 {/section} 85 </ul> 86 </td></tr> 87 {/if} 88 {/strip} 89 {strip} {* Требует выполнения одного из этих квестов *} 90 {if isset($quest.reqone)} 91 <tr><th> 92 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#ReqOne_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 93 {#ReqOne_Quests#} 94 </span> 95 </th></tr> 96 <tr><td> 97 <div class="infobox-spacer"></div> 98 <ul> 99 {section name=i loop=$quest.reqone} 100 <li> 101 <div><a href="?quest={$quest.reqone[i].entry}">{$quest.reqone[i].Title}</a></div> 102 </li> 103 {/section} 104 </ul> 105 </td></tr> 106 {/if} 107 {/strip} 108 {strip} {* Требует активного квеста *} 109 {if isset($quest.enabledby)} 110 <tr><th> 111 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Enabledby_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 112 {#Enabledby_Quests#} 113 </span> 114 </th></tr> 115 <tr><td> 116 <div class="infobox-spacer"></div> 117 <ul> 118 {section name=i loop=$quest.enabledby} 119 <li> 120 <div><a href="?quest={$quest.enabledby[i].entry}">{$quest.enabledby[i].Title}</a></div> 121 </li> 122 {/section} 123 </ul> 124 </td></tr> 125 {/if} 126 {/strip} 127 {strip} {* Закрывает квесты *} 128 {if isset($quest.closes)} 129 <tr><th> 130 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Closes_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 131 {#Closes_Quests#} 132 </span> 133 </th></tr> 134 <tr><td> 135 <div class="infobox-spacer"></div> 136 <ul> 137 {section name=i loop=$quest.closes} 138 <li> 139 <div><a href="?quest={$quest.closes[i].entry}">{$quest.closes[i].Title}</a></div> 140 </li> 141 {/section} 142 </ul> 143 </td></tr> 144 {/if} 145 {/strip} 146 {strip} {* Во время выполнения квеста доступны эти квесты *} 147 {if isset($quest.enables)} 148 <tr><th> 149 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Enables_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 150 {#Enables_Quests#} 151 </span> 152 </th></tr> 153 <tr><td> 154 <div class="infobox-spacer"></div> 155 <ul> 156 {section name=i loop=$quest.enables} 157 <li> 158 <div><a href="?quest={$quest.enables[i].entry}">{$quest.enables[i].Title}</a></div> 159 </li> 160 {/section} 161 </ul> 162 </td></tr> 163 {/if} 164 {/strip} 165 {strip} {* Открывает квесты *} 166 {if isset($quest.open)} 167 <tr><th> 168 <span class="tip" onmouseover="Tooltip.showAtCursor(event, '{#Open_Quests_Desc#}', 0, 0, 'q')" onmousemove="Tooltip.cursorUpdate(event)" onmouseout="Tooltip.hide()"> 169 {#Open_Quests#} 170 </span> 171 </th></tr> 172 <tr><td> 173 <div class="infobox-spacer"></div> 174 <ul> 175 {section name=i loop=$quest.open} 176 <li> 177 {if ($quest.open[i].entry==$quest.entry)} 178 <b>{$quest.open[i].Title}</b> 179 {else} 180 <div><a href="?quest={$quest.open[i].entry}">{$quest.open[i].Title}</a></div> 181 {/if} 182 </li> 183 {/section} 184 </ul> 185 </td></tr> 186 {/if} 187 {/strip} 188 </table> 189 <script type="text/javascript">ss_appendSticky()</script> 190 191 <div class="text"> 192 193 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=1&state=0&text=&entry={$quest.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 194 <a href="http://www.wowhead.com/?{$query}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a> 195 <h1>{$quest.Title}</h1> 196 197 {if isset($quest.RequiredMinRep) or isset($quest.RequiredMaxRep)} 198 {#Additional_requirements_to_obtain_this_quest#}:<br> 199 {strip} 200 <ul> 201 {if isset($quest.RequiredMinRep)}<li><div>{#Your_reputation_with#} <a href=?faction={$quest.RequiredMinRep.entry}>{$quest.RequiredMinRep.name}</a> {#must_be#} {#higher_than#} {$quest.RequiredMinRep.value}</div></li><br>{/if} 202 {if isset($quest.RequiredMaxRep)}<li><div>{#Your_reputation_with#} <a href=?faction={$quest.RequiredMaxRep.entry}>{$quest.RequiredMaxRep.name}</a> {#must_be#} {#lower_than#} {$quest.RequiredMaxRep.value}</div></li><br>{/if} 203 </ul> 204 <div class="line"></div> 205 {/strip} 206 {/if} 207 208 {if $quest.Objectives} 209 {$quest.Objectives} 210 {else} 211 <h3>{#Progress#}</h3> 212 {$quest.RequestItemsText} 213 {/if} 214 215 {if isset($quest.SrcSpell)} 216 {#The_following_spell_will_be_cast_on_you#}: 217 <table class="icontab"> 218 <tr> 219 <th id="icontab-icon10"></th><td><a href="?spell={$quest.SrcSpell.entry}">{$quest.SrcSpell.name}</a></td> 220 <th></th><td></td> 221 </tr> 222 </table> 223 224 <script type="text/javascript"> 225 ge('icontab-icon10').appendChild(g_spells.createIcon({$quest.SrcSpell.entry}, 1, 0)); 226 </script> 227 {/if} 228 228 229 229 {if isset($quest.itemreqs) or isset($quest.coreqs) or isset($quest.factionreq) or isset($quest.splayers) or isset($quest.moneyreq)} 230 230 <table class="iconlist"> 231 231 {strip} 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 232 {* Перечень созданий, требуемых для квеста *} 233 {if isset($quest.coreqs)} 234 {foreach from=$quest.coreqs key=i item=req} 235 <tr> 236 <th><ul><li><var> </var></li></ul></th> 237 <td> 238 <a href="?{$req.req_type}={$req.entry}"> 239 {if !empty($quest.EndText)} 240 {$quest.EndText} 241 {else} 242 {if !empty($quest.ObjectiveText[$i])} 243 {$quest.ObjectiveText[$i]} 244 {else} 245 {$req.name} 246 {/if} 247 </a> 248 {if empty($quest.ObjectiveText[$i]) && $req.req_type == 'npc'} {#slain#}{/if} 249 {if $req.count>1} ({$req.count}){/if} 250 {if $req.spell}<span class='q0'> [<a href='?spell={$req.spell.entry}'>{$req.spell.name}</a>]</div>{/if} 251 {/if} 252 </td> 253 </tr> 254 {/foreach} 255 {/if} 256 256 {/strip} 257 257 258 258 {strip} 259 260 261 262 263 264 265 266 267 268 259 {if isset($quest.itemreqs)} 260 {foreach from=$quest.itemreqs key=i item=item} 261 <tr> 262 <th align="right" id="iconlist-icon{$i}"></th> 263 <td> 264 <span class="q{$item.quality}"><a href="?item={$item.entry}">{$item.name}</a></span>{if $item.count>1} ({$item.count}){/if} 265 </td> 266 </tr> 267 {/foreach} 268 {/if} 269 269 {/strip} 270 270 271 271 {strip} 272 273 274 275 276 277 278 279 280 281 282 283 284 272 {if isset($quest.objectreqs)} 273 {foreach from=$quest.objectreqs key=i item=object} 274 <tr> 275 <th><ul><li><var> </var></li></ul></th> 276 <td> 277 <a href="?object={$object.entry}"> 278 {if isset($quest.ObjectiveText[$i])}{$quest.ObjectiveText[$i]}{else}{$object.name}{/if} 279 </a> 280 {if $object.count>1}({$object.count}){/if} 281 </td> 282 </tr> 283 {/foreach} 284 {/if} 285 285 {/strip} 286 286 287 287 {strip} 288 289 290 291 292 293 294 295 288 {if isset($quest.factionreq)} 289 <tr> 290 <th><ul><li><var> </var></li></ul></th> 291 <td> 292 <a href="?faction={$quest.factionreq.entry}">{$quest.factionreq.name}</a> ({$quest.factionreq.value}) 293 </td> 294 </tr> 295 {/if} 296 296 {/strip} 297 297 298 298 {if isset($quest.splayers)}<tr><th><ul><li><var> </var></li></ul></th><td>{#Suggested_Players#} [{$quest.splayers}]</td></tr>{/if} 299 299 {if isset($quest.moneyreq)} 300 301 302 303 304 305 306 307 308 300 <tr> 301 <th><ul><li><var> </var></li></ul></th> 302 <td> 303 {#Required_Money#}: 304 {if isset($quest.moneyreq.moneygold)}<span class="moneygold">{$quest.moneyreq.moneygold}</span>{/if} 305 {if isset($quest.moneyreq.moneysilver)}<span class="moneysilver">{$quest.moneyreq.moneysilver}</span>{/if} 306 {if isset($quest.moneyreq.moneycopper)}<span class="moneycopper">{$quest.moneyreq.moneycopper}</span>{/if} 307 </td> 308 </tr> 309 309 {/if} 310 310 </table> 311 311 {if isset($quest.itemreqs)} 312 313 314 315 316 312 <script type="text/javascript"> 313 {foreach from=$quest.itemreqs key=i item=item} 314 ge('iconlist-icon{$i}').appendChild(g_items.createIcon({$item.entry}, 0, {$item.count})); 315 {/foreach} 316 </script> 317 317 {/if} 318 318 {/if} 319 319 320 320 {if $quest.Details} 321 322 321 <h3>{#Description#}</h3> 322 {$quest.Details} 323 323 {/if} 324 324 325 325 {if (isset($quest.itemchoices) or isset($quest.itemrewards) or isset($quest.moneycopper) or isset($quest.moneysilver) or isset($quest.moneygold) or isset($quest.spellreward))} 326 326 <h3>{#Rewards#}</h3> 327 327 328 328 {if isset($quest.itemchoices)} 329 330 331 332 329 {#You_will_be_able_to_choose_one_of_these_rewards#}: 330 <div class="pad"></div> 331 <table class="icontab"> 332 <tr> 333 333 {section name=j loop=$quest.itemchoices} 334 335 336 337 338 339 340 341 334 <th id="icontab-icon{$smarty.section.j.index+1}"></th> 335 <td> 336 <span class="q{$quest.itemchoices[j].quality}"> 337 <a href="?item={$quest.itemchoices[j].entry}"> 338 {$quest.itemchoices[j].name} 339 </a> 340 </span> 341 </td> 342 342 {/section} 343 344 345 346 347 348 349 343 </tr> 344 </table> 345 <script type="text/javascript"> 346 {section name=j loop=$quest.itemchoices} 347 ge('icontab-icon{$smarty.section.j.index+1}').appendChild(g_items.createIcon({$quest.itemchoices[j].entry}, 1, {$quest.itemchoices[j].count})); 348 {/section} 349 </script> 350 350 {/if} 351 351 352 352 {if isset($quest.itemrewards)} 353 354 355 356 353 {#You_will_receive#}: 354 <div class="pad"></div> 355 <table class="icontab"> 356 <tr>{strip} 357 357 {section name=j loop=$quest.itemrewards} 358 359 360 361 362 363 364 365 358 <th id="icontab-icon{$smarty.section.j.index+1}"></th> 359 <td> 360 <span class="q{$quest.itemrewards[j].quality}"> 361 <a href="?item={$quest.itemrewards[j].entry}"> 362 {$quest.itemrewards[j].name} 363 </a> 364 </span> 365 </td> 366 366 {/section} 367 368 369 370 371 372 373 367 </tr>{/strip} 368 </table> 369 <script type="text/javascript"> 370 {section name=j loop=$quest.itemrewards} 371 ge('icontab-icon{$smarty.section.j.index+1}').appendChild(g_items.createIcon({$quest.itemrewards[j].entry}, 1, {$quest.itemrewards[j].count})); 372 {/section} 373 </script> 374 374 {/if} 375 375 376 376 {if isset($quest.spellreward)} 377 378 379 380 381 382 383 384 385 386 387 377 {#The_following_spell_will_be_cast_on_you#}: 378 <table class="icontab">{strip} 379 <tr> 380 <th id="icontab-icon20"></th><td><a href="?spell={$quest.spellreward.entry}">{$quest.spellreward.name}</a></td> 381 <th></th><td></td> 382 </tr> 383 </table>{/strip} 384 385 <script type="text/javascript"> 386 ge('icontab-icon20').appendChild(g_spells.createIcon({$quest.spellreward.entry}, 1, 0)); 387 </script> 388 388 {/if} 389 389 390 390 {if isset($quest.moneycopper) or isset($quest.moneysilver) or isset($quest.moneygold)} 391 392 393 394 395 396 391 {strip} 392 {#You_will_also_receive#}: 393 {if isset($quest.moneygold)}<span class="moneygold">{$quest.moneygold}</span>{/if} 394 {if isset($quest.moneysilver)}<span class="moneysilver">{$quest.moneysilver}</span>{/if} 395 {if isset($quest.moneycopper)}<span class="moneycopper">{$quest.moneycopper}</span>{/if} 396 {/strip} 397 397 {/if} 398 398 {/if} 399 399 400 400 {if ($quest.RequestItemsText and $quest.Objectives)} 401 402 401 <h3>{#Progress#}</h3> 402 {$quest.RequestItemsText} 403 403 {/if} 404 404 405 405 {if $quest.OfferRewardText} 406 407 406 <h3>{#Completion#}</h3> 407 {$quest.OfferRewardText} 408 408 {/if} 409 409 410 410 {if isset($quest.xp) or isset($quest.reprewards) or isset($quest.titlereward)} 411 412 413 411 <h3>{#Gains#}</h3> 412 {#Upon_completion_of_this_quest_you_will_gain#}: 413 <ul>{strip} 414 414 {if isset($quest.xp)} 415 415 <li><div>{$quest.xp} {#experience#} </div></li> 416 416 {/if} 417 417 {if isset($quest.reprewards)} 418 418 {section name=j loop=$quest.reprewards} 419 419 <li><div>{$quest.reprewards[j].value} {#reputationwith#} <a href="?faction={$quest.reprewards[j].entry}">{$quest.reprewards[j].name}</a></div></li> 420 420 {/section} 421 {/if} 421 {/if} 422 422 {if isset($quest.titlereward)} 423 424 {/if} 425 426 {/if} 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 423 <li><div>{#the_title#} "{$quest.titlereward|replace:"%s":"<name>"}"</div></li> 424 {/if} 425 </ul>{/strip} 426 {/if} 427 428 <h2>{#Related#}</h2> 429 430 </div> 431 432 <div id="tabs-generic"></div> 433 <div id="listview-generic" class="listview"></div> 434 <script type="text/javascript"> 435 var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim}); 436 new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim}); 437 tabsRelated.flush(); 438 </script> 439 440 {include file='bricks/contribute.tpl'} 441 442 </div> 443 </div> 444 </div> 445 445 {include file='footer.tpl'} -
aowow/templates/wowhead/spell.tpl
r355 r439 3 3 {assign var="iconlist2" value="1"} 4 4 <div id="main"> 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=13&action=searchentry&ID={$spell.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 5 <div id="main-precontents"></div> 6 <div id="main-contents" class="main-contents"> 7 8 <script type="text/javascript"> 9 {include file='bricks/allcomments.tpl'} 10 var g_pageInfo = {ldelim}type: {$page.type}, typeId: {$page.typeid}, name: '{$spell.name|escape:"javascript"}'{rdelim}; 11 g_initPath({$page.path}); 12 </script> 13 14 <table class="infobox"> 15 <tr><th>{#Quick_Facts#}</th></tr> 16 <tr><td> 17 <div class="infobox-spacer"></div> 18 <ul> 19 <li> 20 <div>{#Level#}: {$spell.level}</div> 21 </li> 22 </ul> 23 </td></tr> 24 <tr><td><div class="infobox-spacer"></div><div id="infobox-sticky"></div></td></tr> 25 26 </table> 27 <script type="text/javascript">ss_appendSticky()</script> 28 29 <div class="text"> 30 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=13&state=0&text=&entry={$spell.entry}" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Překládat</span></div></a> 31 32 <a href="http://www.wowhead.com/?{$query}" target="_blank" class="button-red"><div><blockquote><i>Wowhead</i></blockquote><span>Wowhead</span></div></a> 33 <h1>{$spell.name}</h1> 34 35 <div id="icon{$spell.entry}-generic" style="float: left"></div> 36 <div id="tooltip{$spell.entry}-generic" class="tooltip" style="float: left; padding-top: 1px"> 37 <table><tr><td>{$spell.info}</td><th style="background-position: top right"></th></tr><tr><th style="background-position: bottom left"></th><th style="background-position: bottom right"></th></tr></table> 38 </div> 39 <div style="clear: left"></div> 40 41 <script type="text/javascript"> 42 ge('icon{$spell.entry}-generic').appendChild(Icon.create('{$spell.icon}', 2, 0, 0, 0)); 43 Tooltip.fix(ge('tooltip{$spell.entry}-generic'), 1, 1); 44 </script> 45 46 {if isset($spell.btt)} 47 <h3>Buff</h3> 48 <div id="btt{$spell.entry}" class="tooltip"> 49 <table><tr><td>{$spell.btt}</td><th style="background-position: top right"></th></tr><tr><th style="background-position: bottom left"></th><th style="background-position: bottom right"></th></tr></table> 50 </div> 51 <script type="text/javascript"> 52 Tooltip.fixSafe(ge('btt{$spell.entry}'), 1, 1) 53 </script> 54 {/if} 55 56 {* Информация о спеллах для тултипов *} 57 <script type="text/javascript"> 58 58 {if $allspells} 59 59 {include file='bricks/allspells_table.tpl' data=$allspells} 60 60 {/if} 61 61 {if $allitems} 62 63 {/if} 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 62 {include file='bricks/allitems_table.tpl' data=$allitems} 63 {/if} 64 </script> 65 66 {if $spell.reagents} 67 {if $spell.tools}<div style="float: left; margin-right: 75px">{/if} 68 <h3>{#Reagents#}</h3> 69 <table class="iconlist"> 70 {section name=i loop=$spell.reagents} 71 <tr><th align="right" id="iconlist-icon{$iconlist1++}"></th><td><span class="q{$spell.reagents[i].quality}"><a href="?item={$spell.reagents[i].entry}">{$spell.reagents[i].name}</a></span></td></tr> 72 {/section} 73 </table> 74 <script type="text/javascript"> 75 {section name=i loop=$spell.reagents} 76 ge('iconlist-icon{$iconlist2++}').appendChild(g_items.createIcon({$spell.reagents[i].entry}, 0, {$spell.reagents[i].count})); 77 {/section} 78 </script> 79 {if $spell.tools}</div>{/if} 80 {/if} 81 {if $spell.tools} 82 {if $spell.reagents}<div style="float: left">{/if} 83 <h3>{#Tools#}</h3> 84 <table class="iconlist"> 85 {section name=i loop=$spell.tools} 86 <tr><th align="right" id="iconlist-icon{$iconlist1++}"></th><td><span class="q1"><a href="?item={$spell.tools[i].entry}">{$spell.tools[i].name}</a></span></td></tr> 87 {/section} 88 </table> 89 <script type="text/javascript"> 90 {section name=i loop=$spell.tools} 91 ge('iconlist-icon{$iconlist2++}').appendChild(g_items.createIcon({$spell.tools[i].entry}, 0, 1)); 92 {/section} 93 </script> 94 {if $spell.reagents}</div>{/if} 95 {/if} 96 97 <div class="clear"></div> 98 <h3>{#Spell_Details#}</h3> 99 100 <table class="grid" id="spelldetails"> 101 <colgroup> 102 <col width="8%" /> 103 <col width="42%" /> 104 <col width="50%" /> 105 </colgroup> 106 <tr> 107 <td colspan="2" style="padding: 0; border: 0; height: 1px"></td> 108 <td rowspan="5" style="padding: 0; border-left: 3px solid #404040"> 109 <table class="grid" style="border: 0"> 110 <tr> 111 <td style="height: 0; padding: 0; border: 0" colspan="2"></td> 112 </tr> 113 <tr> 114 <th style="border-left: 0; border-top: 0">{#Duration#}</th> 115 <td width="100%" style="border-top: 0">{$spell.duration}</td> 116 </tr> 117 <tr> 118 <th style="border-left: 0">{#school#}</th> 119 <td>{$spell.school}</td> 120 </tr> 121 <tr> 122 <th style="border-left: 0">{#Mechanic#}</th> 123 <td>{if isset($spell.mechanic)}{$spell.mechanic}{else}<span class="q0">n/a</span>{/if}</td> 124 </tr> 125 <tr> 126 <th style="border-bottom: 0; border-left: 0">{#Dispel_type#}</th> 127 <td>{if isset($spell.dispel)}{$spell.dispel}{else}<span class="q0">n/a</span>{/if}</td> 128 </tr> 129 </table> 130 </td> 131 </tr> 132 <tr> 133 <th style="border-top: 0">{#cost#}</th> 134 <td style="border-top: 0">{if isset($spell.manacost)}{$spell.manacost} {#manas#}{else}{#None#}{/if}</td> 135 </tr> 136 <tr> 137 <th>{#range#}</th> 138 <td>{$spell.range} {#yards#} <small>({$spell.rangename})</small></td> 139 </tr> 140 <tr> 141 <th>{#Cast_time#}</th> 142 <td>{$spell.casttime}</td> 143 </tr> 144 <tr> 145 <th>{#Cooldown#}</th> 146 <td>{if isset($spell.cooldown)}{$spell.cooldown} {#seconds#}{else}<span class="q0">n/a</span>{/if}</td> 147 </tr> 148 148 {section name=i loop=$spell.effect} 149 150 151 152 153 154 155 156 157 158 159 149 <tr> 150 <th>{#Effect#} #{$smarty.section.i.index+1}</th> 151 <td colspan="3" style="line-height: 17px"> 152 {$spell.effect[i].name} 153 154 <small> 155 {if isset($spell.effect[i].object)}<br>{#Object#}: <a href=?object={$spell.effect[i].object.entry}>{$spell.effect[i].object.name}</a>{/if} 156 {if isset($spell.effect[i].value)}<br>{#Value#}: {$spell.effect[i].value}{/if} 157 {if isset($spell.effect[i].radius)}<br>{#Radius#}: {$spell.effect[i].radius} {#yards#}{/if} 158 {if isset($spell.effect[i].interval)}<br>{#Interval#}: {$spell.effect[i].interval} {#seconds#}{/if} 159 </small> 160 160 {if isset($spell.effect[i].spell)} 161 162 163 164 165 166 167 168 169 170 161 <table class="icontab"> 162 <tr> 163 <th id="icontab-icon1"></th> 164 <td><a href="?spell={$spell.effect[i].spell.entry}">{$spell.effect[i].spell.name}</a></td> 165 <th></th><td></td> 166 </tr> 167 </table> 168 <script type="text/javascript"> 169 ge('icontab-icon1').appendChild(g_spells.createIcon({$spell.effect[i].spell.entry}, 1, 0)); 170 </script> 171 171 {/if} 172 172 {if isset($spell.effect[i].item)} 173 174 175 176 177 178 179 180 181 182 {/if} 183 184 173 <table class="icontab"> 174 <tr> 175 <th id="icontab-icon1"></th><td><span class="q{$spell.effect[i].item.quality}"><a href="?item={$spell.effect[i].item.entry}">{$spell.effect[i].item.name}</a></span></td> 176 <th></th><td></td> 177 </tr> 178 </table> 179 <script type="text/javascript"> 180 ge('icontab-icon1').appendChild(g_items.createIcon({$spell.effect[i].item.entry}, 1, {$spell.effect[i].item.count})); 181 </script> 182 {/if} 183 </td> 184 </tr> 185 185 {/section} 186 187 188 189 190 191 192 193 194 195 196 197 198 199 186 </table> 187 188 {* Для ослика *} 189 <script type="text/javascript"> 190 if(Browser.ie6) 191 array_walk(gE(ge('spelldetails'), 'tr'), function(x) {ldelim} if(x.parentNode.parentNode.className != 'icontab') {ldelim} x.onmouseover = Listview.itemOver; x.onmouseout = Listview.itemOut {rdelim}{rdelim}); 192 </script> 193 194 <h2>{#Related#}</h2> 195 196 </div> 197 198 <div id="tabs-generic"></div> 199 <div id="listview-generic" class="listview"></div> 200 200 <script type="text/javascript"> 201 201 {if $allitems}{include file='bricks/allitems_table.tpl' data=$allitems}{/if} 202 202 {if $allspells}{include file='bricks/allspells_table.tpl' data=$allspells}{/if} 203 203 var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim}); 204 {if isset($spell.taughtbynpc)}{include file='bricks/creature_table.tpl' id='taught-by-npc' tabsid='tabsRelated' data=$spell.taughtbynpc name='taughtby'}{/if}205 {if isset($spell.taughtbyitem)}{include file='bricks/item_table.tpl' id='taught-by-item' tabsid='tabsRelated' data=$spell.taughtbyitem name='taughtby'}{/if}206 {if isset($spell.taughtbyquest)}{include file='bricks/quest_table.tpl' id='taught-by-quest' tabsid='tabsRelated' data=$spell.taughtbyquest name='taughtby'}{/if}207 {if isset($spell.questreward)}{include file='bricks/quest_table.tpl' id='reward-for-quest' tabsid='tabsRelated' data=$spell.questreward name='rewardfrom'}{/if}208 {if isset($spell.usedbynpc)}{include file='bricks/creature_table.tpl' id='used-by-npc' tabsid='tabsRelated' data=$spell.usedbynpc name='usedby'}{/if}209 {if isset($spell.usedbyitem)}{include file='bricks/item_table.tpl' id='used-by-item' tabsid='tabsRelated' data=$spell.usedbyitem name='usedby'}{/if}210 {if isset($spell.usedbyitemset)}{include file='bricks/itemset_table.tpl' id='itemsets' tabsid='tabsRelated' data=$spell.usedbyitemset name='usedby'}{/if}211 {if isset($spell.seealso)}{include file='bricks/spell_table.tpl' id='see-also-ability' tabsid='tabsRelated' data=$spell.seealso name='seealso'}{/if}204 {if isset($spell.taughtbynpc)}{include file='bricks/creature_table.tpl' id='taught-by-npc' tabsid='tabsRelated' data=$spell.taughtbynpc name='taughtby' }{/if} 205 {if isset($spell.taughtbyitem)}{include file='bricks/item_table.tpl' id='taught-by-item' tabsid='tabsRelated' data=$spell.taughtbyitem name='taughtby' }{/if} 206 {if isset($spell.taughtbyquest)}{include file='bricks/quest_table.tpl' id='taught-by-quest' tabsid='tabsRelated' data=$spell.taughtbyquest name='taughtby' }{/if} 207 {if isset($spell.questreward)}{include file='bricks/quest_table.tpl' id='reward-for-quest' tabsid='tabsRelated' data=$spell.questreward name='rewardfrom' }{/if} 208 {if isset($spell.usedbynpc)}{include file='bricks/creature_table.tpl' id='used-by-npc' tabsid='tabsRelated' data=$spell.usedbynpc name='usedby' }{/if} 209 {if isset($spell.usedbyitem)}{include file='bricks/item_table.tpl' id='used-by-item' tabsid='tabsRelated' data=$spell.usedbyitem name='usedby' }{/if} 210 {if isset($spell.usedbyitemset)}{include file='bricks/itemset_table.tpl' id='itemsets' tabsid='tabsRelated' data=$spell.usedbyitemset name='usedby' }{/if} 211 {if isset($spell.seealso)}{include file='bricks/spell_table.tpl' id='see-also-ability' tabsid='tabsRelated' data=$spell.seealso name='seealso' }{/if} 212 212 new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim}); 213 213 tabsRelated.flush(); 214 214 </script> 215 216 217 215 {include file='bricks/contribute.tpl'} 216 <div class="clear"></div> 217 </div> 218 218 </div> 219 219
Note:
See TracChangeset
for help on using the changeset viewer.