# V2_Entry_UnitList

    {% set entryUnitList = module('V2_Entry_UnitList', null, {
      bid: null,
      cid: null,
      eid: null,
      uid: null,
      page: PAGE,
      limit: null,
      keyword: null,
      tag: [],
      field: null,
      order: null,
      start: '1000-01-01 00:00:00',
      end: '9999-12-31 23:59:59'
    }) %}

    <div>
      {{ include('/admin/module/setting.twig', { moduleInfo: entryUnitList.moduleInfo }) }}
      {% for item in entryUnitList.items %}
      <table class="acms-table acms-table-bordered acms-margin-bottom-medium">
        <tr>
          <th>id</th>
          <td>{{ item.unit.id }}</td>
        </tr>
        <tr>
          <th>sort</th>
          <td>{{ item.unit.sort }}</td>
        </tr>
        <tr>
          <th>align</th>
          <td>{{ item.unit.align }}</td>
        </tr>
        <tr>
          <th>type</th>
          <td>{{ item.unit.type }}</td>
        </tr>
        <tr>
          <th>attr</th>
          <td>{{ item.unit.attr }}</td>
        </tr>
        <tr>
          <th>size</th>
          <td>{{ item.unit.size }}</td>
        </tr>
        <tr>
          <th>field_1</th>
          <td>{{ item.unit.field_1 }}</td>
        </tr>
        <tr>
          <th>field_2</th>
          <td>{{ item.unit.field_2 }}</td>
        </tr>
        <tr>
          <th>field_3</th>
          <td>{{ item.unit.field_3 }}</td>
        </tr>
        <tr>
          <th>field_4</th>
          <td>{{ item.unit.field_4 }}</td>
        </tr>
        <tr>
          <th>field_5</th>
          <td>{{ item.unit.field_5 }}</td>
        </tr>
        <tr>
          <th>field_6</th>
          <td>{{ item.unit.field_6 }}</td>
        </tr>
        <tr>
          <th>field_7</th>
          <td>{{ item.unit.field_7 }}</td>
        </tr>
        <tr>
          <th>field_8</th>
          <td>{{ item.unit.field_8 }}</td>
        </tr>
        <tr>
          <th>entry_id</th>
          <td>{{ item.unit.entry_id }}</td>
        </tr>
        <tr>
          <th>blog_id</th>
          <td>{{ item.unit.blog_id }}</td>
        </tr>
        {% if item.normal %}
        <tr>
          <th>normal</th>
          <td>
            {{ item.normal }}
          </td>
        </tr>
        {% endif %}
        {% if item.large %}
        <tr>
          <th>large</th>
          <td>
            {{ item.large }}
          </td>
        </tr>
        {% endif %}
        {% if item.download %}
        <tr>
          <th>download</th>
          <td>{{ item.download }}</td>
        </tr>
        {% endif %}
        <tr>
          <th>entry_title</th>
          <td>{{ item.entry.title }}</td>
        </tr>
        <tr>
          <th>entry_url</th>
          <td>{{ item.entry.url }}</td>
        </tr>
        <tr>
          <th>entry_datetime</th>
          <td>{{ item.entry.datetime }}</td>
        </tr>
        {% if item.category.items %}
        <tr>
          <th>category_name</th>
          <td>{{ item.category.items[0].name }}</td>
        </tr>
        <tr>
          <th>category_url</th>
          <td>{{ item.category.items[0].url }}</td>
        </tr>
        {% endif %}
        <tr>
          <th>blog_name</th>
          <td>{{ item.blog.name }}</td>
        </tr>
        <tr>
          <th>blog_url</th>
          <td>{{ item.blog.url }}</td>
        </tr>
      </table>
      {% endfor %}
    </div>