~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlhelp/buildings.html

  • Committer: Holger Rapp
  • Date: 2012-09-01 16:11:57 UTC
  • mfrom: (325.1.23 development)
  • Revision ID: sirver@gmx.de-20120901161157-nm7xupfhd2jlpypg
Merged Shevonars amazing work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
 
1
{% extends "wlhelp/base.html" %}
2
2
{% comment %}
3
3
   vim:ft=htmldjango
4
4
{% endcomment %}
5
5
 
 
6
{% block title %}
 
7
Buildings - {{ tribe.displayname }} - {{ block.super }}
 
8
{% endblock %}
 
9
 
6
10
{% block content %}
7
 
 
8
 
<h1>Buildings</h1>
9
 
 
10
 
<!-- HQ -->
11
 
<h1>Headquarters</h1>
12
 
{% with buildings.headquarters as b %}
13
 
  <table class="building" width="100%" cellspacing="1">
14
 
    {% include "inlines/display_building.html" %}
15
 
{% endwith %}
16
 
  </table>
17
 
 
18
 
<!-- Small buildings -->
 
11
<h1>{{ tribe.displayname }}: Buildings</h1>
 
12
<div class="blogEntry">
 
13
        <a href="{% url wlhelp_index %}">Encyclopedia</a> &#187;
 
14
        <a href="{% url wlhelp_tribe_details tribe.name %}">{{ tribe.displayname }}</a> &#187;
 
15
        Buildings
 
16
        <br /><br />
 
17
 
 
18
{# Headquarters #}
 
19
        <h2>Headquarters</h2>
 
20
        {% with buildings.headquarters as buildings %}
 
21
                {% include "wlhelp/inlines/display_buildings.html" %}
 
22
        {% endwith %}
 
23
 
 
24
{# Small buildings #}
19
25
{% if buildings.small.count %}
20
 
<h1>Small buildings</h1>
21
 
  <table class="building" width="100%" cellspacing="1">
22
 
    {% for b in buildings.small %}
23
 
    {% include "inlines/display_building.html" %}
24
 
    {% endfor %}
25
 
  </table>
 
26
        <h2>Small Buildings</h2>
 
27
        {% with buildings.small as buildings %}
 
28
                {% include "wlhelp/inlines/display_buildings.html" %}
 
29
        {% endwith %}
26
30
{% endif %}
27
31
{% if buildings.small_enhanced.count %}
28
 
<h1>Small enhanced buildings</h1>
29
 
  <table class="building" width="100%" cellspacing="1">
30
 
    {% for b in buildings.small_enhanced %}
31
 
    {% include "inlines/display_building.html" %}
32
 
    {% endfor %}
33
 
  </table>
 
32
        <h2>Small Enhanced Buildings</h2>
 
33
        {% with buildings.small_enhanced as buildings %}
 
34
                {% include "wlhelp/inlines/display_buildings.html" %}
 
35
        {% endwith %}
34
36
{% endif %}
35
37
 
36
 
<!-- Medium buildings -->
 
38
{# Medium buildings #}
37
39
{% if buildings.medium.count %}
38
 
<h1>Medium buildings</h1>
39
 
  <table class="building" width="100%" cellspacing="1">
40
 
    {% for b in buildings.medium %}
41
 
    {% include "inlines/display_building.html" %}
42
 
    {% endfor %}
43
 
  </table>
 
40
        <h2>Medium Buildings</h2>
 
41
        {% with buildings.medium as buildings %}
 
42
                {% include "wlhelp/inlines/display_buildings.html" %}
 
43
        {% endwith %}
44
44
{% endif %}
45
45
{% if buildings.medium_enhanced.count %}
46
 
<h1>Medium enhanced buildings</h1>
47
 
  <table class="building" width="100%" cellspacing="1">
48
 
    {% for b in buildings.medium_enhanced %}
49
 
    {% include "inlines/display_building.html" %}
50
 
    {% endfor %}
51
 
  </table>
 
46
        <h2>Medium Enhanced Buildings</h2>
 
47
        {% with buildings.medium_enhanced as buildings %}
 
48
                {% include "wlhelp/inlines/display_buildings.html" %}
 
49
        {% endwith %}
52
50
{% endif %}
53
51
 
54
 
<!-- Big buildings -->
 
52
{# Big buildings #}
55
53
{% if buildings.big.count %}
56
 
<h1>Big buildings</h1>
57
 
  <table class="building" width="100%" cellspacing="1">
58
 
    {% for b in buildings.big %}
59
 
    {% include "inlines/display_building.html" %}
60
 
    {% endfor %}
61
 
  </table>
 
54
        <h2>Big Buildings</h2>
 
55
        {% with buildings.big as buildings %}
 
56
                {% include "wlhelp/inlines/display_buildings.html" %}
 
57
        {% endwith %}
62
58
{% endif %}
63
59
{% if buildings.big_enhanced.count %}
64
 
<h1>Big enhanced buildings</h1>
65
 
  <table class="building" width="100%" cellspacing="1">
66
 
    {% for b in buildings.big_enhanced %}
67
 
    {% include "inlines/display_building.html" %}
68
 
    {% endfor %}
69
 
  </table>
 
60
        <h2>Big Enhanced Buildings</h2>
 
61
        {% with buildings.big_enhanced as buildings %}
 
62
                {% include "wlhelp/inlines/display_buildings.html" %}
 
63
        {% endwith %}
70
64
{% endif %}
71
65
 
72
 
<!-- Mines -->
 
66
{# Mines #}
73
67
{% if buildings.mine.count %}
74
 
<h1>Mines</h1>
75
 
  <table class="building" width="100%" cellspacing="1">
76
 
    {% for b in buildings.mine %}
77
 
    {% include "inlines/display_building.html" %}
78
 
    {% endfor %}
79
 
  </table>
 
68
        <h2>Mines</h2>
 
69
        {% with buildings.mine as buildings %}
 
70
                {% include "wlhelp/inlines/display_buildings.html" %}
 
71
        {% endwith %}
80
72
{% endif %}
81
73
{% if buildings.mine_enhanced.count %}
82
 
<h1>Enhanced Mines</h1>
83
 
  <table class="building" width="100%" cellspacing="1">
84
 
    {% for b in buildings.mine_enhanced %}
85
 
    {% include "inlines/display_building.html" %}
86
 
    {% endfor %}
87
 
  </table>
88
 
{% endif %}
89
 
 
90
 
 
 
74
        <h2>Enhanced Mines</h2>
 
75
        {% with buildings.mine_enhanced as buildings %}
 
76
                {% include "wlhelp/inlines/display_buildings.html" %}
 
77
        {% endwith %}
 
78
{% endif %}
 
79
 
 
80
{# Ports #}
 
81
{% if buildings.port.count %}
 
82
        <h2>Ports</h2>
 
83
        {% with buildings.port as buildings %}
 
84
                {% include "wlhelp/inlines/display_buildings.html" %}
 
85
        {% endwith %}
 
86
{% endif %}
 
87
{% if buildings.port_enhanced.count %}
 
88
        <h2>Enhanced Ports</h2>
 
89
        {% with buildings.port_enhanced as buildings %}
 
90
                {% include "wlhelp/inlines/display_buildings.html" %}
 
91
        {% endwith %}
 
92
{% endif %}
 
93
 
 
94
</div>
91
95
{% endblock %}
92