Šablon:scriptrev/dok
Ovo je dokumentaciona podstranica za Šablon:scriptrev. Sadrži informacije o korišćenju, kategorijama i drugom sadržaju koji nije deo originalne stranice. |
(deprecated template usage) {{{1}}}
Usage uredi
This is an analogue of {{langrev}}
for script codes. Given a script name, it returns a script code. If a script name is not recognized, returns empty string.
Just like with {{langrev}}
, the mapping is not injective; both {{langrev|Latin}}
and {{langrev|Roman}}
will return "Latn".
Warning: not all script names are recognised (yet). To add a script name, create a page "Template:scriptrev/name" containing only the script code as its contents. See Special:PrefixIndex/Template:scriptrev for a list of currently recognised names.
See also uredi
Contents, text, tables:
- caps (returns a particular letter, either in upper or lower cases)
- theordinal (returns "first" from 1, "second" from 2, etc.)
- navbox (generates a collapsible box)
- !! (returns two vertical pipes: ||)
- (! (returns a left brace followed by a vertical pipe: {|)
- !) (returns a vertical pipe followed by a right brace: |})
- !- (returns a vertical pipe followed by a dash: |-)
Languages, families and scripts:
- Modul:languages/templates
- langrev (returns the language code of a given language name)
- scriptrev (returns a script code from a script name)
Categories:
- categorize (adds a category, with language-specific sorting)
- topics (adds a topical category, with language-specific sorting)
- catlangname (adds a lexical or other category similarly named, with language-specific sorting)
Other:
- deftempboiler (generates a definition template)
- unos (generates an "edit" button)