Module:ar-verb/documentation

Documentation for Module:ar-verb. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

This module provides helper functions for Arabic verb inflection tables and Arabic verb headword lines.

The arguments are meant to be passed in through the parent frame, i.e. arguments specified to the template that invokes this module, rather than to the invocation itself.

The external entry point for implementing {{ar-conj}} is show, meant for calling from templates, and there is a debugging entry point show2 meant for calling from the debug console, which takes arguments for the current and parent frame and constructs mock-up frames. The template (parent frame) arguments are documented thoroughly in {{ar-conj}}.

Similarly, the external entry point for implementing {{ar-verb}} is headword, and the external entry point for implementing {{ar-past3sm}} is past3sm. Debugging entry points headword2 and past3sm2 exist in both cases.

All of the templates are similar in that they take arguments specifying the form, past and non-past vowels (for form I), and optional radicals. If radicals are missing, they are inferred from the headword. The templates differ slightly in the way the form is specified: {{ar-verb}} takes a form= argument (for compatibility with a previous implementation), whereas the others take the form as the first unnamed argument.