Jump to content

ထႅမ်းပလဵတ်ႉ:categorize/documentation

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး
ၽိုၼ်လိၵ်ႈၵူႈမိုဝ်း တွၼ်ႈတႃႇထႅမ်းပလဵတ်ႉ:categorize[မႄးထတ်း]
တီႈၼႃႈလိၵ်ႈၼႆႉ ၶဝ်ႈပႃးဝႆႉ ၶေႃႈမုၼ်း လၢႆးၸႂ်ႉတိုဝ်းပိူင်ထၢၼ်ႈလွင်ႈၵွင်ႉသိုပ်ႇ ဢိၼ်ႇတႃႇဝီႇၶီႇ လႄႈ ၸိူဝ်းပဵၼ် လွင်ႈၼႄပၼ် ထႅမ်းပလဵၵ်ႉ ၼၼ်ႉယဝ်ႉ။

This template is a template wrapper around the format_categories function in Module:utilities/templates. It adds one or more categories to an entry, using the provided language code to generate a sort key specific to the language.

For example, Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). or Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in the entry cíonn adds the category Category:Munster Irish with the sortkey cionn, in which the acute accent on cíonn has been removed.

If the namespace of the current page is not meant to contain entries (it's not the main, Reconstruction, or Appendix namespace), then the template does not categorize, so it's safe to use on any page and in any template.

The two templates Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). and Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). are specialized versions of Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).. They work the same way, and have the same parameters. However:

  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). (shortcut Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).) will add the language name before all the names that are provided. This creates a grammatical – morphological, orthographical or part-of-speech-related – category whose name is based on the format Category:(language name) (category name).
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). (shortcut Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).) will add the language code and a colon : before all the names. This creates a topical category, whose name is based on the format Category:(language code):(category name).

လွင်ႈၸႂ်ႉတိုဝ်း

[မႄးထတ်း]

The template accepts the following parameters:

|1=
The language code (see Wiktionary:Languages). This is required.
|2=, |3=
One or more categories. There is no limit to how many you can specify. Empty values will be skipped.
|sort=
Provides a custom sort key. This will override the automatically generated sort key.
|sort1=, |sort2=
Provides a custom sort key only for a specific category.

တူဝ်ယၢင်ႇ

[မႄးထတ်း]
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). adds:
    Category:Cockney rhyming slang
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). adds:
    Category:English nouns
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). adds:
    Category:Portuguese suffixes
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). adds:
    Category:en:Biology
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). adds:
    Category:pt:Biology

တူၺ်းပႃး

[မႄးထတ်း]
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).