@@ -42,14 +42,19 @@ <h1>{{ page.name }}</h1>
4242 {% endif %}
4343 < table >
4444 < thead >
45- < tr >
46- {% case page.style %}
47- {% when 0 %}
45+ {% case page.style %}
46+ {% when 0 %}
47+ < tr >
4848 < th colspan ="2 "> Attributes</ th >
49- {% when 1 %}
49+ </ tr >
50+ {% when 1 %}
51+ < tr class ="full-body-big ">
5052 < th colspan ="4 "> Attributes</ th >
51- {% endcase %}
52- </ tr >
53+ </ tr >
54+ < tr class ="full-body-small ">
55+ < th colspan ="2 "> Attributes</ th >
56+ </ tr >
57+ {% endcase %}
5358 </ thead >
5459 < tbody >
5560 {% case page.style %}
@@ -64,7 +69,7 @@ <h1>{{ page.name }}</h1>
6469 {% for part in page.attributes %}
6570 {% capture even %}{{ forloop.index | modulo: 2 }}{% endcapture %}
6671 {% if even == "1" %}
67- < tr >
72+ < tr class =" full-body-big " >
6873 < th > {{ part[0] }}</ th >
6974 < td > {{ part[1] }}</ td >
7075 {% else %}
@@ -73,6 +78,12 @@ <h1>{{ page.name }}</h1>
7378 </ tr >
7479 {% endif %}
7580 {% endfor %}
81+ {% for part in page.attributes %}
82+ < tr class ="full-body-small ">
83+ < th > {{ part[0] }}</ th >
84+ < td > {{ part[1] }}</ td >
85+ </ tr >
86+ {% endfor %}
7687 {% endcase %}
7788
7889 </ tbody >
@@ -81,14 +92,19 @@ <h1>{{ page.name }}</h1>
8192 {% if page.relation_type == 0 %}
8293 < table >
8394 < thead >
84- < tr >
85- {% case page.style %}
86- {% when 0 %}
95+ {% case page.style %}
96+ {% when 0 %}
97+ < tr >
8798 < th colspan ="2 "> Relationships</ th >
88- {% when 1 %}
99+ </ tr >
100+ {% when 1 %}
101+ < tr class ="full-body-big ">
89102 < th colspan ="4 "> Relationships</ th >
90- {% endcase %}
91- </ tr >
103+ </ tr >
104+ < tr class ="full-body-small ">
105+ < th colspan ="2 "> Relationships</ th >
106+ </ tr >
107+ {% endcase %}
92108 </ thead >
93109 < tbody >
94110 {% case page.style %}
@@ -111,7 +127,7 @@ <h1>{{ page.name }}</h1>
111127 {% for relation in page.relationships %}
112128 {% capture even %}{{ forloop.index | modulo: 2 }}{% endcapture %}
113129 {% if even == "1" %}
114- < tr >
130+ < tr class =" full-body-big " >
115131 {% endif %}
116132 < th > {{ relation[0] }}</ th >
117133 {% if relation[1].url %}
@@ -127,6 +143,20 @@ <h1>{{ page.name }}</h1>
127143 </ tr >
128144 {% endif %}
129145 {% endfor %}
146+ {% for relation in page.relationships %}
147+ < tr class ="full-body-small ">
148+ < th > {{ relation[0] }}</ th >
149+ {% if relation[1].url %}
150+ < td >
151+ {% capture name %}{{ relation[1].name }}{% endcapture %}
152+ {% capture url %}{{ relation[1].url }}{% endcapture %}
153+ {% include character_link.html name=name url=url %}
154+ </ td >
155+ {% else %}
156+ < td > {{ relation[1].name }}</ td >
157+ {% endif %}
158+ </ tr >
159+ {% endfor %}
130160 {% endcase %}
131161 </ tbody >
132162 </ table >
0 commit comments