Urkesh Ceramic Analysis
Shapes

Phases and strata: template

Laerke Recht – July 2012

Back to top: Phases and strata: template

Introduction

This page provides complete indices of the sherds, items and q-items included in the Shapes by strata section, with an overview of the number and distribution according to phase, frequency, excavation unit, ware and shape.

Back to top: Phases and strata: template

Indices

{%- for index,href,type,total,sub in indices -%}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#{{href}}">Index by {{index}}</a><br>
{% endfor -%}
{%- for index,href,type,total,units in sherds_all -%}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="#{{href}}">Index by {{index}}</a><br>
{% endfor -%}
<br><br><br>

{% for index,href,type,total,sub in indices %}

<b id="{{href}}">Index by {{index}}</b><span class="small">&nbsp; &nbsp;(click on any column header to change sort order)</span>
<div class="wrapper">
<table class="sortable index">
<thead>
    <tr>
        <th class="sorttable_sorted col1">{{type}}</th>
        <th class="col2">total</th>
        <th class="col3">percentage</th>
        <th class="col4">histogram</th>
    </tr>
</thead>
<tbody>
    {% for sub_type,sub_type_lex,sub_link,sub_total,sherds in sub -%}
    <tr>
        <td><a href="{{sub_link}}">{{sub_type}}</a></td>
        <td><a href="#" onClick="up('{{sub_type.replace(' ','')+'-menu'}}')" class="bl">{{sub_total}}</a></td>
        <td>{{"{:.0%}".format(sub_total/total)}}</td>
        <td sorttable_customkey="{{sub_total}}"><span class="meter" style="width: {{"{:.0%}".format(sub_total/total)}}"></span></td>
    </tr>
    {%- endfor %}
</tbody>
<tfoot>
    <tr>
        <td>total</td>
        <td>{{total}}</td>
        <td>100%</td>
        <td></td>
    </tr>
</tfoot>
</table>
</div>
<a href="#0"><small><small>Back to top</small></small></a><br>
<br><br><br>

{% endfor -%}
{% for index,href,type,total,units in sherds_all %}

<b id="{{href}}">Index by {{index}}</b>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Go to:
    {%- for unit,sub in units %}&nbsp; &nbsp; &nbsp;<a href="#{{unit}}">{{unit}}</a>{% endfor %}
</p>
<div class="wrapper">
<table class="index">
<thead>
    <tr>
        <th class="col1">{{type}}</th>
        <th>Plate</th>
    </tr>
</thead>
<tbody>
    {% for unit,sub in units -%}
    {% for sherd,link,phase in sub -%}
    {% if sherd==sub[0][0] %}<tr id="{{unit}}">{% else %}<tr>{% endif %}
        <td><a href="{{link}}">{{sherd}}</a></td>
        <td><a href="#">Phase {{phase}} plate</a></td>
    </tr>
    {%- endfor %}
    {%-  endfor %}
</tbody>
<tfoot>
    <tr>
        <td>Total</td>
        <td>{{total}}</td>
    </tr>
</tfoot>
</table>
</div>
<a href="#0"><small><small>Back to top</small></small></a><br>
<br><br><br>
{% endfor %}
{% for index,href,type,total,sub in indices %} {% for sub_type,sub_type_lex,sub_link,sub_total,sherds in sub -%}
{{index.capitalize()}}

{{sub_type}}{% if sub_type_lex and sub_type_lex != sub_type %} ({{sub_type_lex}}){% endif %}

{% for sherd,sherd_link in sherds -%}    {{sherd}}
{# javascript link? #} {%- endfor %}
{%- endfor %} {% endfor %}

Back to top: Phases and strata: template