1
2
3
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
47
48
49
50
51
52
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
{% extends "wlhelp/base.html" %}
{% comment %}
vim:ft=htmldjango
{% endcomment %}
{% block title %}
Buildings - {{ tribe.displayname }} - {{ block.super }}
{% endblock %}
{% block content_header %}
<h1>{{ tribe.displayname }}: Buildings</h1>
{% endblock %}
{% block content_main %}
<div class="blogEntry">
<div class="posRight">
{% include 'wlhelp/inlines/js_form_buildings.html' %}<br />
{% include 'wlhelp/inlines/js_form_scripting.html' %}
</div>
<div class="breadCrumb">
<a href="{% url 'wlhelp_index' %}">Encyclopedia Index</a> » {{ tribe.displayname }} Buildings
</div>
{# Headquarters #}
<div class="size-B">
{% with buildings.headquarters as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Headquarters" %}
{% endwith %}
</div>
<div class="size-S">
{# Small buildings #}
{% if buildings.small.count %}
{% with buildings.small as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Small Buildings" %}
{% endwith %}
{% endif %}
{% if buildings.small_enhanced.count %}
{% with buildings.small_enhanced as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Small Enhanced Buildings" %}
{% endwith %}
{% endif %}
</div>
<div class="size-M">
{# Medium buildings #}
{% if buildings.medium.count %}
{% with buildings.medium as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Medium Buildings" %}
{% endwith %}
{% endif %}
{% if buildings.medium_enhanced.count %}
{% with buildings.medium_enhanced as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Medium Enhanced Buildings" %}
{% endwith %}
{% endif %}
</div>
<div class="size-B">
{# Big buildings #}
{% if buildings.big.count %}
{% with buildings.big as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Big Buildings" %}
{% endwith %}
{% endif %}
{% if buildings.big_enhanced.count %}
{% with buildings.big_enhanced as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Big Enhanced Buildings" %}
{% endwith %}
{% endif %}
</div>
<div class="size-I">
{# Mines #}
{% if buildings.mine.count %}
{% with buildings.mine as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Mines" %}
{% endwith %}
{% endif %}
{% if buildings.mine_enhanced.count %}
{% with buildings.mine_enhanced as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Enhanced Mines" %}
{% endwith %}
{% endif %}
</div>
<div class="size-B">
{# Ports #}
{% if buildings.port.count %}
{% with buildings.port as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Ports" %}
{% endwith %}
{% endif %}
{% if buildings.port_enhanced.count %}
{% with buildings.port_enhanced as buildings %}
{% include "wlhelp/inlines/display_buildings.html" with header="Enhanced Ports" %}
{% endwith %}
{% endif %}
</div>
</div>
{% endblock %}
|