source: aowow/templates/wowhead/faction.tpl

Last change on this file was 170, checked in by maron, 16 years ago
  • Property svn:executable set to *
File size: 2.4 KB
Line 
1{config_load file="$conf_file"}
2
3{include file='header.tpl'}
4
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: {$page.type}, typeId: {$page.typeid}, name: '{$faction.name|escape:"quotes"}'{rdelim};
13 g_initPath({$page.path});
14 </script>
15 <table class="infobox">
16 <tr><th>{#Quick_Facts#}</th></tr>
17 <tr><td>
18 <div class="infobox-spacer"></div>
19 <ul>
20 {if isset($faction.group)}<li><div>{#Group#}: {$faction.group}</div></li>{/if}
21 {if isset($faction.side)}<li><div>{#Side#}: {if $faction.side==1}<span class="alliance-icon">{#Alliance#}</span>{elseif $faction.side==2}<span class="horde-icon">{#Horde#}</span>{/if}</div></li>{/if}
22 </ul>
23 </td></tr>
24 </table>
25 <script type="text/javascript">ss_appendSticky()</script>
26 <div class="text">
27 <h1>{$faction.name}</h1>
28 {$faction.description1}
29 {if $faction.description1}<h1></h1>{/if}
30 {$faction.description2}
31 <div class="article-footer">Article ported from <a href="http://www.wowwiki.com/" target="_blank" class="q0">WoWWiki</a>&ndash; <a href="http://www.wowwiki.com/{$faction.name}" target="_blank" class="q0">Read more</a><br />Licensed under <a href="http://www.gnu.org/copyleft/fdl.html" target="_blank" class="q0">GFDL</a></div>
32 <h2>{#Related#}</h2>
33 </div>
34 <div id="tabs-generic"></div>
35 <div id="listview-generic" class="listview"></div>
36<script type="text/javascript">
37{if isset($allitems)}{include file='bricks/allitems_table.tpl' data=$allitems}{/if}
38var tabsRelated = new Tabs({ldelim}parent: ge('tabs-generic'){rdelim});
39{if isset($faction.items)}{include file='bricks/item_table.tpl' id='items' name='items' tabsid='tabsRelated' data=$faction.items}{/if}
40{if isset($faction.npcs)}{include file='bricks/creature_table.tpl' id='npcs' name='members' tabsid='tabsRelated' data=$faction.npcs}{/if}
41{if isset($faction.quests)}{include file='bricks/quest_table.tpl' id='quests' name='quests' tabsid='tabsRelated' data=$faction.quests}{/if}
42new Listview({ldelim}template: 'comment', id: 'comments', name: LANG.tab_comments, tabs: tabsRelated, parent: 'listview-generic', data: lv_comments{rdelim});
43tabsRelated.flush();
44</script>
45
46 {include file='bricks/contribute.tpl'}
47
48 </div>
49 </div>
50 </div>
51{include file='footer.tpl'}
Note: See TracBrowser for help on using the repository browser.