Module:category tree/poscatboiler/data/templates

Hello, you have come here looking for the meaning of the word Module:category tree/poscatboiler/data/templates. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:category tree/poscatboiler/data/templates, but we will also tell you about its etymology, its characteristics and you will know how to say Module:category tree/poscatboiler/data/templates in singular and plural. Everything you need to know about the word Module:category tree/poscatboiler/data/templates you have here. The definition of the word Module:category tree/poscatboiler/data/templates will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:category tree/poscatboiler/data/templates, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This data submodule defines part of Wiktionary's category structure.

For an introduction to the poscatboiler system and a description of how to add or modify categories, see Module:category tree/poscatboiler/data/documentation.


local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  LABELS                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels = {
	description = "{{{langname}}} ], which contain reusable wiki code that helps with creating and managing entries.",
	umbrella = {
		parents = {{name = "Templates", sort = " "}},
		breadcrumb = "by language",
	},
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels = {
	description = "Templates that contain {{{langname}}} tables generated automatically.",
	additional = "They use the <code>table:</code> prefix. For example, see ].",
	parents = {"templates"},
}

labels = {
	description = "Templates used to generate descriptions and categorization for category pages.",
	parents = {"templates"},
}

labels = {
	description = "Templates used in the ] of {{{langname}}} entries to help in creating definitions.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to help in the creation of {{{langname}}} entries.",
	umbrella_parents = {"Templates subcategories by language", "Entry templates"},
	parents = {"templates"},
}

labels = {
	description = "Templates used in the etymology section of {{{langname}}} entries.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to test possible content for {{{langname}}} entries.",
	parents = {"templates"},
}

labels = {
	description = "Templates used on the definition line of entries for inflected forms of words in {{{langname}}}, to link back to the main form.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to show lines that contain headwords in {{{langname}}}.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to organize {{{langname}}} indexes.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to show inflection tables for {{{langname}}} terms.",
	parents = {"templates"},
}

-- Do particular types of inflection-table templates.
for _, pos in ipairs({
	"adjective",
	"adverb",
	"determiner",
	"nominal",
	"noun",
	"numeral",
	"participle",
	"postposition",
	"preposition",
	"pronoun",
	"verb",
}) do
	labels = {
		description = "Templates used to show declension tables for {{{langname}}} " .. pos .. "s.",
		parents = {"inflection-table templates"},
	}
end

labels = {
	description = "Templates that contain {{{langname}}} lists.",
	additional = "They use the <code>list:</code> prefix. For example, see ].",
	parents = {"templates"},
}

labels = {
	description = "Templates used to show mutation of {{{langname}}} words.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to generate IPA pronunciation, rhymes, hyphenation, etc. for {{{langname}}} entries.",
	umbrella_parents = {"Templates subcategories by language", "Category:Pronunciation templates"},
	parents = {"templates"},
}

labels = {
	description = "Templates used to generate quotations for {{{langname}}} entries.",
	umbrella_parents = {"Templates subcategories by language", "Category:Citation templates"},
	parents = {"templates"},
}

labels = {
	description = "Templates used in the documentation of {{{langname}}} ] in order to link to quotation templates for other works by the same author.",
	umbrella_parents = {"Templates subcategories by language", "Category:Navigation templates", "Category:Quotation templates by language"},
	parents = {"quotation templates"},
}

labels = {
	topright = function(data)
		if data.lang and data.lang:getCode() == "ine-pro" then
			return "{{shortcut|WT:RTINE}}"
		end
	end,
	umbrella = {
		preceding = "{{also|Wiktionary:Reference templates}}\n{{also|Template:refcat}}",
		parents = {"Templates subcategories by language", "Category:Reference templates"},
		breadcrumb = "by language",
	},
	description = "Templates used to generate reference footnotes for {{{langname}}} entries.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to keep contents for other {{{langname}}} templates.",
	parents = {"templates"},
}

labels = {
	description = "Templates used to show usage notes in {{{langname}}} entries.",
	parents = {"templates"},
}


-- Add 'umbrella_parents' key if not already present.
for key, data in pairs(labels) do
	if not data.umbrella and not data.umbrella_parents then
		data.umbrella_parents = "Templates subcategories by language"
	end
	-- Add breadcrumb by chopping off the parent from the end of the label, if possible.
	if #data.parents == 1 and type(data.parents) == "string" then
		local parent_re = " " .. require("Module:string utilities").pattern_escape(data.parents) .. "$"
		if key:find(parent_re) then
			data.breadcrumb = key:gsub(parent_re, "")
		end
	end
end



-----------------------------------------------------------------------------
--                                                                         --
--                              RAW CATEGORIES                             --
--                                                                         --
-----------------------------------------------------------------------------


raw_categories = {
	topright = "{{shortcut|WT:T}}",
	description = "An organizing category intended for all templates in use on Wiktionary.",
	additional = "''See also: ], ]''",
	parents = {"Wiktionary"},
}

raw_categories = {
	description = "Templates used in the administration of Wiktionary.",
	additional = "They are only used outside of mainspace and are distinct from ], which are used in maintaining entries.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to generate lists of links to alternative script forms for entries, or alternative forms according to different orthographic systems in general.",
	additional = "Not for templates relating to mere alternative forms within the same orthographic system.",
	parents = {"Script templates", "Internal link templates"},
}

raw_categories = {
	description = "Templates used on archived or otherwise inactive pages.",
	parents = {"Administration templates"},
}

raw_categories = {
	description = "Templates related to ].",
	parents = {"Administration templates"},
}

raw_categories = {
	description = "Templates used to display notices in edit mode.",
	parents = {"Administration templates"},
}

raw_categories = {
	description = "Templates used in appendices or to link to appendices.",
	parents = {"Templates", "Category:Appendices"},
}

raw_categories = {
	description = "Templates used on pages that contain ]s.",
	parents = {"Appendix templates"},
}

raw_categories = {
	description = "Templates that display astrology-related diagrams or boxes.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to play or request audio files.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to generate word tables (like ]).",
	additional = "See also ].",
	parents = {"Templates"},
}

raw_categories = {
	description = "General purpose box templates.",
	additional = "If you're considering making a template that looks like a box, look here first!",
	parents = {"Templates"},
}

raw_categories = {
	preceding = "{{also|:Category:Category modules}}",
	description = "Templates used to categorize terms or entries.",
	additional = "(], on the other hand, contains templates used in the category namespace.)",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in the category namespace.",
	additional = "(], on the other hand, contains templates used to categorize pages.)",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to generate the text of category pages.",
	parents = {"Category templates"},
}

raw_categories = {
	description = "Templates used to generate a list of linked letters to navigate the pages listed in categories.",
	parents = {"Category templates"},
}

raw_categories = {
	description = "Templates that utilize {{temp|character info}}.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that provide easier ways to type characters that are not found in most keyboard layouts.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to generate characters that are reserved for specific wiki code functions and cannot be directly entered.",
	additional = "An alternative to using these templates is to use an HTML entity such as <code>&amp;#91</code> " ..
	"for a left bracket.<br />" ..
	"Note that the templates below are sorted by the first character of the wikicode that each template generates.",
	parents = {"Character insertion templates"},
}

raw_categories = {
	description = "Templates that display chemistry-related diagrams or boxes.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that display chess diagrams.",
	parents = {"Templates"},
}

raw_categories = {
	preceding = "{{ombox|type=speedy|text=Some templates may be marked '''FOR TESTING ONLY'''. Do not use these in entries, if requested on the template page itself. Take a look at the template page before using it.}}",
	description = "Templates used to generate citations and quotations.",
	additional = [=[
{{citation templates}}

==See also==
* ]
* ] for specific templates to well-known and widely used sources.]=],
	parents = {"Templates"},
}

-- Skipped: Concordance templates

raw_categories = {
	description = "Templates to aid in control-flow constructs, which the template language is normally limited in.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to create cross-references between sections.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates for displaying dates.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in the ] to help in creating definitions.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in defining inflections or variants of a given lemma.",
	parents = {"Definition templates"},
}

raw_categories = {
	description = "Templates used in defining terms that stand in a particular grammatical relation to a given lemma.",
	parents = {"Form-of templates"},
}

raw_categories = {
	description = "Templates used in defining terms that represent particular verb forms (e.g. past participle) of given lemma.",
	parents = {"Grammar form-of templates"},
}

raw_categories = {
	description = "Templates used in defining terms that represent particular noun or adjective forms (e.g. masculine plural) of given lemma.",
	parents = {"Grammar form-of templates"},
}

raw_categories = {
	description = "Templates used in the ] to help in creating definitions for names.",
	parents = {"Definition templates"},
}

raw_categories = {
	description = "Templates used in the ] to show case and adposition usage for verb objects and similar constructs.",
	parents = {"Definition templates"},
}

raw_categories = {
	description = "Templates used in defining place names or demonyms that refer to place names.",
	parents = {"Definition templates"},
}

raw_categories = {
	description = "Templates used to help create new entries.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in etymology sections to define the etymology of a term.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in etymology sections to indicate derivation from a different language than the language of the current entry.",
	parents = {"Etymology templates"},
}

raw_categories = {
	description = "Templates used in etymology sections to specify the morphology of a term.",
	parents = {"Etymology templates"},
}

raw_categories = {
	description = "Specialized morphology templates used in the etymology sections of terms in particular languages.",
	parents = {"Morphology templates"},
}

raw_categories = {
	preceding = "{{also|Wiktionary:Headword-line templates}}",
	description = "Templates used to define the ] of a term.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates intended for use only in discussions and documentation of templates and modules.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in generating and maintaining monthly discussion forums such as the ] and ].",
	parents = {"Discussion templates"},
}

raw_categories = {
	description = "Templates used on template and module documentation pages.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in the File namespace.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that warn users about the attestation status of entries or senses from a language.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in creating specific layouts within entries.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in creating collapsible boxes.",
	parents = {"Layout templates"},
}

raw_categories = {
	preceding = "{{also|Wiktionary:Templates#Columns}}",
	description = "Templates used in laying out lists in columns.",
	parents = {"Layout templates"},
}

raw_categories = {
	description = "Templates used in formatting tables.",
	parents = {"Layout templates"},
}

raw_categories = {
	description = "Templates used to link to other terms, to other MediaWiki projects or to external websites.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to disambiguate multiple similar terms.",
	parents = {"Link templates"},
}

raw_categories = {
	description = "Templates that link to websites outside of the MediaWiki Foundation purview.",
	additional = "See also ] for others.",
	parents = {"Link templates"},
}

-- FIXME! This doesn't belong and the templates in it should be deleted (they are in ] currently).
raw_categories = {
	description = "Templates which link between Greek entries.",
	breadcrumb = "Link",
	parents = {
		{name = "templates", is_label = true, lang = "el", sort = "link"},
		"Link templates",
	},
}

raw_categories = {
	description = "Templates that link between Wiktionary entries.",
	parents = {"Link templates"},
}

raw_categories = {
	description = "Subtemplates of {{tl|l}}.",
	parents = {"Internal link templates"},
}

raw_categories = {
	description = "Templates that link to other MediaWiki projects.",
	parents = {"Link templates"},
}

raw_categories = {
	description = "Templates used to generate lists.",
	additional = "See also ].",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to generate lists of characters.",
	parents = {"List templates"},
}

raw_categories = {
	description = "Lua-free (i.e. \"lite\") versions of templates that use Lua.",
	additional = "Lua-free templates are used on long pages to avoid ].",
	parents = {"Templates"},
}

raw_categories = {
	preceding = "{{also|Wiktionary:Maintenance templates}}",
	description = "Templates used in the maintenance of Wiktionary entries and other pages.",
	additional = "They are distinct from ], which are only used outside of mainspace.",
	parents = {"Templates", "Category:Wiktionary maintenance"},
}

raw_categories = {
	description = "Templates used to request cleanup of entries.",
	additional = "Some of these templates are used when entries are batch-imported from another source.",
	parents = {"Maintenance templates", "Request templates"},
}

raw_categories = {
	description = "Templates used to request deletion of entries.",
	parents = {"Maintenance templates", "Request templates"},
}

raw_categories = {
	description = "Templates used to request verification of entries that may be incorrect.",
	parents = {"Maintenance templates", "Request templates"},
}

raw_categories = {
	description = "Templates used in the internal operation of Wiktionary.",
	parents = {"Templates", "Wiktionary"},
}

raw_categories = {
	description = "Templates used in other templates or to create other templates.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to manipulate strings.",
	additional = "See also ], which can be invoked from templates to do string manipulation.",
	parents = {"Metatemplates"},
}

raw_categories = {
	description = "Templates used to create navigation boxes for easily linking to other similar pages.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to convert numbers or generate boxes describing numbers in a given language.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates not meant to be transcluded, but instead, whether through URL parameters or modules, have their contents preloaded into edit fields.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to format pronunciation sections and the characters they use.",
	additional = "See also ] and ].",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to format ], links to them from pronunciation sections, etc.",
	parents = {"Pronunciation templates"},
}

raw_categories = {
	description = "Templates used to format sign-language pronunciation charts.",
	parents = {"Pronunciation templates"},
}

raw_categories = {
	description = "Templates for displaying qualifiers, glosses and the like.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to format redirect pages.",
	parents = {"Templates"},
}

raw_categories = {
	preceding = "{{also|Wiktionary:Reference templates|:Category:Reference templates by language}}",
	description = "Templates used to format references.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that display religion-related diagrams or boxes.",
	parents = {"Templates"},
}

raw_categories = {
	topright = "{{shortcut|WT:RT}}",
	description = "Request templates for dictionary entries in the main namespace.",
	parents = {"Templates", "Requests"},
}

raw_categories = {
	description = "Sandbox versions of templates used for testing purposes.",
	additional = "'''NOTE:''' The use of sandbox templates in mainspace is strongly dispreferred. Please place all sandbox templates in your userspace.",
	parents = {"Templates"},
}

raw_categories = {
	preceding = "{{mainwikt|Scripts}}",
	description = "Templates used for converting between scripts or displaying text in a specific script.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that are placed below the ], to indicate other terms semantically related to a particular sense.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used only on a single page and unlikely to find re-use elsewhere.",
	parents = {"Templates"},
}

raw_categories = {
	description = "A grab bag of templates used to assist other templates.",
	additional = "These should be recategorized according to function.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used in Translingual taxonomy entries and in reference to those entries.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates and subcategories containing such templates. The templates contain text to appear under the Hypernyms header for taxonomic name entries.",
	additional = "Each template has the name of the taxon from which it begins. The templates in this category at present are the many templates that begin with the names of taxonomic families. Others are in subcategories",
	breadcrumb = "Hypernym",
	parents = {"Taxonomy templates"},
}

raw_categories = {
	description = "Templates used for the presentation of taxonomic names on a definition line.",
	breadcrumb = "Name",
	parents = {"Taxonomy templates", "Definition templates"},
}

raw_categories = {
	description = "Templates used to format references for taxonomic names.",
	breadcrumb = "Reference",
	parents = {"Taxonomy templates", "Reference templates"},
}

raw_categories = {
	description = "Templates that are not intended for transclusion with <code><nowiki>{{ }}</nowiki></code>, " ..
	"and must be substituted with <code><nowiki>{{subst: }}</nowiki></code>wherever they exist.",
	additional = "Some of the members of this category are permanent, as the template was written in such a way that " ..
	"it must be substituted to function properly. There may also be templates in this category that are deprecated, " ..
	"in which case their content has been replaced with the preferred code.",
	parents = {"Templates", "Requests"},
}

raw_categories = {
	description = "Templates can be added to this category by adding {{tl|isAccelerated}} to their documentation pages.",
	additional = "Presence in this category indicates that at least some of the \"form-of\" entries for the word can be generated semi-automatically by users with ] editing enabled.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates that provide shortcuts for formatting ordinary text.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates for linking to or formatting thesaurus entries.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates used to format entries in and parts of translation tables.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Templates meant to be used in userspace.",
	parents = {"Templates"},
}

raw_categories = {
	description = "Subtemplates used in conjunction with {{tl|authority control}}.",
	parents = {"User templates"},
}

raw_categories = {
	description = "Templates used for to indicate a user's competency in a given natural language, script or programming language.",
	additional = "These are used in conjunction with {{tl|Babel}}, which invokes these templates as necessary.",
	parents = {"User templates"},
}

raw_categories = {
	description = "Templates used for to indicate a user's competency in a given programming language.",
	additional = "These are used in conjunction with {{tl|Babel}}, which invokes these templates as necessary.",
	parents = {"User competency templates"},
}

raw_categories = {
	description = "Templates used for to indicate a user's competency in speaking a given language.",
	additional = "These are used in conjunction with {{tl|Babel}}, which invokes these templates as necessary.",
	parents = {"User competency templates"},
}

raw_categories = {
	description = "Templates used for to indicate a user's competency in reading a given script.",
	additional = "These are used in conjunction with {{tl|Babel}}, which invokes these templates as necessary.",
	parents = {"User competency templates"},
}

raw_categories = {
	description = "Templates used to support the Word of the Day.",
	parents = {"Wiktionary templates"},
}

raw_categories = {
	description = "Templates used to support the Foreign Word of the Day.",
	parents = {"WOTD templates"},
}

raw_categories = {
	description = "Templates and modules not currently used in production.",
	additional = "{{also|Special:UnusedTemplates|Category:Unused templates}}",
	parents = {"Templates", "Modules", "Category:Wiktionary maintenance"},
}

raw_categories = {
	description = "Umbrella categories covering topics related to templates.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "templates", is_label = true, sort = " "},
	},
}

-- Add breadcrumb by chopping off the parent (or the parent's parent, etc.) from the end of the label, if possible.
for key, data in pairs(raw_categories) do
	if not data.breadcrumb then
		local parent = data.parents
		while true do
			if type(parent) == "string" then
				local parent_re = " " .. require("Module:string utilities").pattern_escape(mw.getContentLanguage():lcfirst(parent)) .. "$"
				if key:find(parent_re) then
					data.breadcrumb = key:gsub(parent_re, "")
					break
				end
				if raw_categories then
					parent = raw_categories.parents
				else
					break
				end
			else
				break
			end
		end
	end
end


return {LABELS = labels, RAW_CATEGORIES = raw_categories}