Template:el-conjug-sub1

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

A sub-template for use with single word Greek imperative forms in Greek conjugation inflection tables.
  • Behaves the same as {{el-conjug-sub3}} except that the o/p for will be linked.
Parameters
def = default form
alt = alternative form
Logic
If alt exists
then if alt="-" (a hyphen, ascii#45)
then o/p —
else o/p alternative form (linked)
endif
else o/p default form (linked)
endif
used by 1st and 2nd-B
: arguments are linked before o/p

* <alt> = an alternative form (hyphen when absent)
* <def> = the default form

IF <alt> EXISTS
	THEN IF <alt> EQ= "-"   (a hyphen, ascii#45)
			THEN o/p m-dash
			ELSE o/p [[<alt>]] {alternative form)
			ENDIF
	ELSE o/p [[<def>]] (default form)
	ENDIF