User:ZxxZxxZ/l-list/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for User:ZxxZxxZ/l-list. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Takes a list and links its items and tags the text with appropriate CSS classes and so forth, as {{l}} does.

Parameters[edit]

{{{1}}} – the language code of the desired target link
{{{2}}} – list of words
{{{sc}}} (optional): script template to use, if the language's default script is inappropriate

Add transliterations and gloss (place it between quotation marks) in parenthesis after each item. If the language has a module for automated transliteration (must be defined in this code), transliteration will be added by the template.

To add an alternative word as link title, use [[<title>|<alt>]] syntax (see examples section).

White spaces in input list don't affect the functionality.

Examples[edit]

{{User:ZxxZxxZ/l-list|sh|sc=Cyrl|
* лауфер
* ловац ("bishop")
* пешак ("pawn") {{m}}
* [[пјешак|пјѐша̄к]]
* ска̀ка̄ч ("knight") {{m}}
}}

gives:


{{User:ZxxZxxZ/l-list|fa|
* اسبی (asbi)
* اسپریس (aspris)
* اسپست (aspest, "alfalfa")
* اسپ‌بد (aspbod)
* آریاسب (âriyâsb)
* باره (bâre)
* [[کهر|کَهَرْ]] (kahar)

* کرند (korand)
*سمند(samand)
*    ابرش    (abraš)    
}}

gives:


See also[edit]

  • {{l}}