source: aowow/templates/wowhead/item.tpl

Last change on this file was 439, checked in by george, 15 years ago
  • Opraveno: Odkazy z AoWoW na vyhledání textů.
  • Property svn:executable set to *
File size: 7.5 KB
Line 
1{include file='header.tpl'}
2
3 <div id="main">
4
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: '{$item.name|escape:"quotes"}'{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 {* Уровень вещи *}
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
44 <div class="text">
45
46 <a href="http://wowpreklad.zdechov.net/TranslationList.php?group=4&amp;state=0&amp;text=&amp;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
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
55 <div style="clear: left"></div>
56
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
62 <h2>{#Related#}</h2>
63
64 </div>
65
66 <div id="tabs-generic"></div>
67 <div id="listview-generic" class="listview"></div>
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}
71var 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}
93new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim});
94tabsRelated.flush();
95</script>
96
97 {include file='bricks/contribute.tpl'}
98 </div>
99 </div>
100
101{include file='footer.tpl'}
Note: See TracBrowser for help on using the repository browser.