Difference between revisions of "Module:Lang/documentor tool/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
(uses lua)
m (7 revisions imported)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{tl|Module rating |<!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call -->}}
 
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Lua|Module:No globals|Module:Lang}}
+
{{Lua|Module:Arguments|Module:No globals|Module:In lang|Module:Lang|Module:Purge}}
  
== Usage ==
+
'''Module:Lang/documentor tool''' implements the following templates:
 +
* {{tl|Non-English-language text category}}
 +
* {{tl|Non-English-language sources category}}
 +
* {{tl|Lang-x/doc}}
  
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
+
The module is also used to produce the following testcases:
 +
* #invoke:[[Module:Lang|Lang]]|name_from_tag – [[Module:Lang/testcases/ISO 639-1 name from tag|ISO 639-1]], [[Module:Lang/testcases/ISO 639-3-1 name from tag|ISO 639-3-1]], [[Module:Lang/testcases/ISO 639-3-2 name from tag|ISO 639-3-2]], and [[Module:Lang/testcases/ISO 639-3-3 name from tag|ISO 639-3-3]].
 +
* #invoke:Lang|category_from_tag – [[Module:Lang/testcases/ISO 639-1 category from tag|ISO 639-1]], [[Module:Lang/testcases/ISO 639-3-1 category from tag|ISO 639-3-1]], [[Module:Lang/testcases/ISO 639-3-2 category from tag|ISO 639-3-2]], and [[Module:Lang/testcases/ISO 639-3-3 category from tag|ISO 639-3-3]].
 +
* #invoke:Lang|name_from_tag – [[Module:Lang/testcases/ISO 639-1 name from tag|ISO 639-1]], [[Module:Lang/testcases/ISO 639-3-1 name from tag|ISO 639-3-1]], [[Module:Lang/testcases/ISO 639-3-2 name from tag|ISO 639-3-2]], and [[Module:Lang/testcases/ISO 639-3-3 name from tag|ISO 639-3-3]].
 +
* #invoke:Lang|tag_from_name – [[Module:Lang/testcases/ISO 639-1 tag from name|ISO 639-1]], [[Module:Lang/testcases/ISO 639-3-1 tag from name|ISO 639-3-1]], [[Module:Lang/testcases/ISO 639-3-2 tag from name|ISO 639-3-2]], and [[Module:Lang/testcases/ISO 639-3-3 tag from name|ISO 639-3-3]].
 +
* #invoke:[[Module:ISO 639 name|ISO 639 name]]|iso_639_code_to_name – [[Module:ISO 639 name/testcases/ISO 639-1 code to name|ISO 639-1]], [[Module:ISO 639 name/testcases/ISO 639-2 code to name|ISO 639-2]], [[Module:ISO 639 name/testcases/ISO 639-3-1 code to name|ISO 639-3-1]], [[Module:ISO 639 name/testcases/ISO 639-3-2 code to name|ISO 639-3-2]], [[Module:ISO 639 name/testcases/ISO 639-3-3 code to name|ISO 639-3-3]], [[Module:ISO 639 name/testcases/ISO 639-5 code to name|ISO 639-5]], and [[Module:ISO 639 name/testcases/ISO 639 deprecated code to name|ISO 639 deprecated]].
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Latest revision as of 05:51, 27 September 2020

Module:Lang/documentor tool implements the following templates:

The module is also used to produce the following testcases: