Template talk:fi-gradation
Jump to navigation
Jump to search
Produces a consonant gradation summary table, as used in Appendix:Finnish conjugation types/sanoa or Appendix:Finnish declension types/valo. See those for parameters.
Designed to allow any details of formatting to be easily adjusted, without having to touch the 75-odd places it is used. This makes the template implementation a bit tricky, but the benefit is that style adjustments only need to be made in just a couple of places.
Template parameters
[edit]- row<n>=name of row
- grade<n>=strength of row - must be "strong" or "weak"
- kk="stem" of kk→k example word, ie the bit that appears to the left of the kk/k in every row. If omitted, there is no kk→k word, and the column is omitted.
- tt,t,lt,kj,kv,xa,xb: as for kk, but other gradations. Last few are k→j, k→v, and two custom ones.
- kk<n><,etc: substitute "prefix" for kk→k word in the nth row, instead of kk<n>. Implemented for rows 1 and 4 only — extend as needed.
- xas,xaw,xbs,xbw: Specify the custom gradations {{{xas}}}→{{{xaw}}} and {{{xbs}}}→{{{xbw}}}
- kk<n>,pp<n>,etc: "suffix" for kk→k,pp→p word in the nth row, ie the bit that appears to the right of the kk/k. Only row 1 normally needs to be specified for regular gradation, the other rows are automated.
- <suffix><n>: specifies what <suffix> from row 1 maps to in row <n>. Eg if kk1=oa and oa2=on, then the second row of kk→k has the suffix -on. This would be overridden if kk2 is manually specified.