Template:morpheme: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
   | {{#ifexpr: {{#var: n }} < {{#var: len }} | true }}
   | {{#ifexpr: {{#var: n }} < {{#var: len }} | true }}
   |<nowiki/>{{#vardefine: c | {{#sub: {{#var: sortform }}|{{#var: n }}|1}} }}{{#vardefine: to|{{#show: {{uc:{{#var: c}}}}|?sortform}}}}{{#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 | <span style="color:red;">incorrect, please delete!</span>}} }}
   |<nowiki/>{{#vardefine: c | {{#sub: {{#var: sortform }}|{{#var: n }}|1}} }}{{#vardefine: to|{{#show: {{uc:{{#var: c}}}}|?sortform}}}}{{#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 | <span style="color:red;">incorrect, please delete!</span>}} }}
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/morpheme/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/morpheme/{{FULLPAGENAME}}|edit with form]]</div>
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 |
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }}
*[[Property:problem|Problems]]: {{#var: problem }}| }}
*[[Property:sortform|Sortform]]: "{{#var: sortcode }}" automatically derived from "{{#var: sortform }}"
*[[:Category:Morpheme|Category sortform]]: {{#var: sortform_category }}{{#ifeq: {{#var: disambiguation }}|||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}}
{| class="table_data" width=100%
{| class="table_data" width=100%
! colspan="2" class="field_category" | [[:Category:Morpheme|Morpheme]]
! colspan="2" class="field_category" | [[:Category:Morpheme|Morpheme]]

Revision as of 22:23, 30 November 2015

This template serves to display pages about morphemes. These are best created or edited with the Form:morpheme.

See Category:Morpheme for a list of all 11 morpheme pages.