Template:el-conjug-sub3

From Wiktionary, the free dictionary
Jump to navigation Jump to search

An internal sub-template for use with Greek conjugation inflection tables
  • Behaves the same as {{el-conjug-sub1}} except that the o/p for will NOT be linked.
  • To be used for setting alternative text for cells other than the imperfect and simple past tenses.
  • {{el-conjug-sub2}} may be used for imperfect and simple past tenses, in which case the whole tense may be "blanked".
Positional/numbered parameters
  • 1 The free text form set by the editor - must be linked where required - (eg  a-past-2s ,  a-impf-3s , etc)
  • a hyphen may be used to produce a blank cell.
  • 2 The verb's usual default inflected form.
* <1> = text set by editor
* <2> = the default form

IF <1> EXISTS
	THEN IF <1> EQ "-"   (a hyphen, ascii#45)
			THEN o/p m-dash
			ELSE o/p <1>
			ENDIF
	ELSE o/p <2>
	ENDIF
It returns
  • A "free text" form created by the editor.
  • A "dash" indicating absence.
  • The default form set automatically.