|
1
|
{% load dictionary_extras i18n %}
|
|
2
|
<div class="entry-article scheme{{ lexeme.part_of_speech.color_scheme }}">
|
|
3
4
5
6
7
8
|
<h1>
{{ lexeme.entry }}
{{ lexeme|attribute:"zwrotność" }}
{% if lexeme.pronunciation %}
<span class="pronunciation">[{{ lexeme.pronunciation|safe }}]</span>
{% endif %}
|
|
9
|
{% if lexeme.gloss and lexeme.part_of_speech.symbol != 'skrs' %}
|
|
10
11
12
13
14
|
<span class="gloss">{{ lexeme.gloss|safe }}</span>
{% endif %}
</h1>
<p>
|
|
15
|
{{ part_of_speech }}
|
|
16
17
18
19
|
{% if lexeme.part_of_speech.symbol == 'v' %}
{{ lexeme|attribute:"właściwy" }}
{{ lexeme|attribute:"przechodniość" }}
{% endif %}
|
|
20
21
22
23
24
25
|
{% if lexeme.part_of_speech.symbol == 'skrs' %}
{{ lexeme.gloss|safe }}
{% endif %}
<span class="qualifiers">
{{ info.qualifiers|join:" " }}
{% if info.commonness %}
|
|
26
|
{% trans 'n. wł.' %} {{ info.commonness|join:", " }}
|
|
27
28
|
{% endif %}
</span>
|
|
29
|
{% if lexeme.note %}
|
|
30
|
◊ {{ lexeme.note|sgjp_markup }}
|
|
31
|
{% endif %}
|
|
32
|
<em>{{ lexeme.valence|sgjp_markup }}</em>
|
|
33
|
<span class="sjpdor">
|
|
34
35
|
{{ info.SJPDor|yesno:"[SJPDor.]," }}
</span>
|
|
36
37
|
</p>
<p>
|
|
38
39
|
{% if lexeme.part_of_speech.lexical_class_id == 'subst' %}
{{ lexeme.lip_data.genders }}
|
|
40
41
42
|
{% endif %}
{{ lexeme|attribute:"aspekt" }}
{% if tables|length == 1 %}
|
|
43
44
45
46
47
48
49
50
|
{% if pattern_list|length == 1 %}
{{ pattern_list.0.name }}
{% else %}
{% for p in pattern_list %}
<span class="highlight-pattern p{{ p.id }}" data-pattern="{{ p.id }}">{{ p.name }}</span>
{% if not forloop.last %}/{% endif %}
{% endfor %}
{% endif %}
|
|
51
52
53
54
55
56
|
{% endif %}
</p>
<p class="separator"></p>
<div class="inflection-tables">
|
|
57
|
{% for gender, patterns, pronunciations, gender_qualifiers, table in tables %}
|
|
58
|
<div class="inflection-table-container">
|
|
59
60
61
62
63
|
{% if lexeme|attribute:"rozwinięcie" %}
{% include "abbreviation_table.html" %}
{% else %}
{% include "inflection_table.html" %}
{% endif %}
|
|
64
65
66
67
68
69
|
</div>
{% endfor %}
</div>
{% if cross_references %}
<table class="cross-references">
<tr>
|
|
70
|
<th class="head" colspan="2">{% trans 'Odsyłacze' %}</th>
|
|
71
72
73
74
|
</tr>
{% for cr in cross_references %}
<tr>
<th>{{ cr.type.desc }}</th>
|
|
75
76
77
78
79
|
<td>
<span class="cr-link" id="cr{{ cr.to_lexeme.id }}">
{{ cr.to_lexeme.entry }}
</span>
</td>
|
|
80
81
82
|
</tr>
{% endfor %}
</table>
|
|
83
|
{% endif %}
|
|
84
85
86
87
88
|
{% if lexeme.extended_note %}
<p class="extended-note">
{{ lexeme.extended_note|sgjp_markup }}
</p>
{% endif %}
|
|
89
|
</div>
|