Template:word: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) (+lemma) |
Martin Braun (talk | contribs) (using #ask since #show appears to be broken) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
[[Category:Page Module]] | [[Category:Page Module]] | ||
</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel}} || {{#vardefine: checklevel | 0 }} }}[[checklevel::{{{checklevel|}}}| ]]{{#vardefine: problem | {{#arraymap:{{{problem|}}}| | </noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel}} || {{#vardefine: checklevel | 0 }} }}[[checklevel::{{{checklevel|}}}| ]]{{#vardefine: problem | {{#arraymap:{{{problem|}}}|;|x|[[problem::x]]}} }}{{#vardefine: sortform | {{lc:{{{sortform|}}} }} }}{{#ifeq: {{{sortform|}}}||{{#vardefine: sortform | {{lc:{{PAGENAME}} }} }} }}{{#vardefine: sortform_category |{{#var: sortform}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|)|}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|(|}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|?|}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|χ|ch}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|φ|ph}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|ś|s}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|θ|th1}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|þ|th2}} }}{{#vardefine: n|0 }}{{#vardefine: len|{{#len: {{#var: sortform}} }} }} | ||
{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|ś|s}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|θ|th1}} }}{{#vardefine: sortform_category |{{#replace: {{#var: sortform_category}}|þ|th2}} }}{{#vardefine: n|0 }}{{#vardefine: len|{{#len: {{#var: sortform}} }} }}{{#vardefine: sortcode|}}{{#vardefine: sortcode_reverse|}}{{#vardefine: separator|}}{{#while: | {{#vardefine: sortcode|}}{{#vardefine: sortcode_reverse|}}{{#vardefine: separator|}}{{#while: | ||
| {{#ifexpr: {{#var: n}} < {{#var: len}} | true }} | | {{#ifexpr: {{#var: n}} < {{#var: len}} | true }} | ||
|<nowiki/>{{#vardefine: c | {{#sub: {{#var: sortform}}|{{#var: n}}|1}} }}{{#vardefine: to|{{# | |<nowiki/>{{#vardefine: c | {{#sub: {{#var: sortform}}|{{#var: n}}|1}} }}{{#vardefine: to|{{#ask: [[{{uc:{{#var: c}}}}]]|?sortform_cval=|mainlabel=-}}}}{{#ifeq: {{#var: to}}|||{{#vardefine: sortcode|{{#var: sortcode}}{{#var: separator}}{{#var: to}}}}{{#vardefine: sortcode_reverse|{{#var: to}}{{#var: separator}}{{#var: sortcode_reverse}}}}{{#vardefine: separator|-}}}}{{#vardefine: n | {{#expr: {{#var: n}} + 1 }} }} }}{{#ifeq: {{#var: sortcode}} || {{#vardefine: sortcode |99}} }} | ||
<div class="formedit">[[Special:EditData/word/{{FULLPAGENAME}}|edit with form]]</div> | |||
{| class="table_data" width=100% | {| class="table_data" width=100% | ||
! colspan="2" class="field_category" | [[:Category:Word|Word]] | ! colspan="2" class="field_category" | [[:Category:Word|Word]] | ||
Line 29: | Line 23: | ||
! colspan="2" | | ! colspan="2" | | ||
---- | ---- | ||
|- | |- | ||
{{#if: {{{case|}}} |! [[Property:case|Case]]: | {{#if: {{{case|}}} |! [[Property:case|Case]]: | ||
Line 51: | Line 44: | ||
! colspan="2" | | ! colspan="2" | | ||
---- | ---- | ||
|- | |- | ||
{{#if: {{{analysis_morphemic|}}} |! [[:Category:Morpheme|Morphemic analysis]]: | {{#if: {{{analysis_morphemic|}}} |! [[:Category:Morpheme|Morphemic analysis]]: | ||
Line 68: | Line 56: | ||
! colspan="2" | | ! colspan="2" | | ||
---- | ---- | ||
|- | |- {{#vardefine: lemma | {{PAGENAME}} }}{{#if: {{{lemma|}}} | {{#vardefine: lemma | {{{lemma|}}} }} }}[[lemma::{{#var: lemma}}| ]]{{#vardefine: paradigm_n | {{#ask: [[Category:Word]][[lemma::{{#var: lemma}}]]|sort=sortform_cval|format=count}} }} | ||
{{#ifexpr: {{#var: paradigm_n }} >1|! Paradigm: | |||
{{!}} {{#ask: [[Category:Word]][[lemma::{{#var: lemma}}]]|?case=|?tense=|?person=|?number=|?gender=|format=list|default=none|sort=sortform_cval}} ({{#var: paradigm_n }}) | |||
{{!}}- }} | |||
! Attestation: | ! Attestation: | ||
| {{#ask:[[Category:Inscription]][[word::{{FULLPAGENAME}}]]|?text_plain=|format=list|default=none|sort=sortform}} ({{#ask:[[Category:Inscription]][[word::{{FULLPAGENAME}}]]|format=count}}) | | {{#ask:[[Category:Inscription]][[word::{{FULLPAGENAME}}]]|?text_plain=|format=list|default=none|sort=sortform}} ({{#ask:[[Category:Inscription]][[word::{{FULLPAGENAME}}]]|sort=sortform|format=count}}) | ||
|} | |} | ||
[[Category:Word|{{#var: sortform_category}}]][[ | [[Category:Word|{{#var: sortform_category}}]][[sortform_cval::{{#var: sortcode}}| ]][[sortform_cval_reverse::{{#var: sortcode_reverse}}| ]] | ||
</includeonly> | </includeonly> |
Latest revision as of 23:09, 29 April 2020
This template serves to display pages about words of any language. These are best created or edited with the Form:word.
See the Category:Word for a list of all 155 word pages.