User:Fish bowl/template consistency

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

🙃

proposals:

  • [general][1]
    • CONSISTENT PARAMETERS[2]
    • how often is |2=link name used?
      • we can use [[wikilink]]s inside |1=
      • usecases such as {{compound|mul||bar|alt1=foo-}}
        • or use special syntax to suppress the link? like the *[3] used in {{zh-l}}[4]
    • finally abolish |lang= in favor of |1=?????
    • replace numbered parameters with |t= or |gloss=
      • or at least support |t= or |gloss=
      • |t= is short → superior
  • form-of templates
    • default: trailing punctuation?
      • |nodot=y is meh
        • replace |nodot=y with |.=?[5]
          • |.=n, simple and concise
    • default: caps
      • sometimes it's |nocap=, sometimes it's |cap=, sometimes it's not implemented, and I always think it's |(no)caps=; choose one
      • Category:Hebrew form-of templates
      • (maybe) replace |nocap= with |lc=
        • |lc=y, simple and concise
  • headword templates
  • -
  • japanese
    • standardize |yomi=
    • |rom=|tr=!
    • sanity in naming verb paradigms (|type=1 |godan[6] {{ja-go-ru}})
  • chinese

how:

  • lua module that is substed to convert templates

  1. ^ aside: Template:ja-from-shimonidan
  2. ^ Wiktionary:Grease pit/2019/March#Cleanups of etymology templates
  3. ^ literally why an asterisk tho when it has an established meaning in linguistics
  4. ^ @ used in Module:User:Suzukaze-c/zh-l/documentation
  5. ^ used by {{&lit}} and Hebrew templates
  6. ^ {{ja-verb form of}} is my fault
  7. ^ cf User:Suzukaze-c/sandbox/zh#t:zh-pron c
  8. ^ [1]