Template:morpheme: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
Line 20: | Line 20: | ||
|<nowiki/>{{#vardefine: entry | {{#explode: {{#var: list }}|;| {{#var: i }} }} }}{{#vardefine: from | {{#explode: {{#var: entry }}|=| 0 }} }} | |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: list }}|;| {{#var: i }} }} }}{{#vardefine: from | {{#explode: {{#var: entry }}|=| 0 }} }} | ||
{{#vardefine: to | {{#explode: {{#var: entry }}|=| 1 }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#ifeq: {{#var: c }}|{{#var: from}}|{{#vardefine: sortcode|{{#var: sortcode }}{{#var: separator}}{{#var: to}}}}{{#vardefine: sortcode_reverse|{{#var: to }}{{#var: separator}}{{#var: sortcode_reverse}}}}{{#vardefine: separator|-}} }} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}{{#vardefine: n | {{#expr: {{#var: n }} + 1 }} }} }}{{#ifeq: {{#var: sortcode }} || {{#vardefine: sortcode | <span style="color:red;">incorrect, please delete!</span>}} }} | {{#vardefine: to | {{#explode: {{#var: entry }}|=| 1 }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#ifeq: {{#var: c }}|{{#var: from}}|{{#vardefine: sortcode|{{#var: sortcode }}{{#var: separator}}{{#var: to}}}}{{#vardefine: sortcode_reverse|{{#var: to }}{{#var: separator}}{{#var: sortcode_reverse}}}}{{#vardefine: separator|-}} }} }}{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} }}{{#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/ | {{#ifgroup:editor|<div class="formedit">[[Special:EditData/morpheme/{{FULLPAGENAME}}|edit with form]]</div> | ||
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | <div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | ||
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }} | *[[Property:checklevel|Checklevel]]: {{#var: checklevel }} | ||
Line 26: | Line 26: | ||
*[[Property:sortform|Sortform]]: "{{#var: sortcode }}" automatically derived from "{{#var: sortform }}"{{#ifeq: {{#var: disambiguation }}||| | *[[Property:sortform|Sortform]]: "{{#var: sortcode }}" automatically derived from "{{#var: sortform }}"{{#ifeq: {{#var: disambiguation }}||| | ||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }} | *[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }} | ||
*Category sortform: {{#var: sortform_category | *Category sortform: {{#var: sortform_category }}</div>}} | ||
{| class="table_data" | {| class="table_data" | ||
! [[property:type_morpheme|Type]]: | ! [[property:type_morpheme|Type]]: |
Revision as of 14:36, 16 July 2013
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.