본문으로 이동

모듈:category tree/templates

위키낱말사전, 말과 글의 누리

이 모듈에 대한 설명문서는 모듈:category tree/templates/설명문서에서 만들 수 있습니다

local labels = {}
local raw_categories = {}



-----------------------------------------------------------------------------
--                                                                         --
--                                  레이블                                 --
--                                                                         --
-----------------------------------------------------------------------------


labels["틀"] = {
	description = "항목을 생성하고 관리하는 데 도움이 되는 재사용 가능한 위키 코드를 포함하는 {{{langname}}} [[위키낱말사전:틀|틀]].",
	umbrella = {
		parents = {{name = "틀", sort = " "}},
		breadcrumb = "언어별",
	},
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels["auto-table templates"] = {
	description = "자동으로 생성된 {{{langname}}} 표를 포함하는 틀.",
	additional = "<code>table:</code> 접두사를 사용합니다. 예: [[틀:table:chess pieces/en]].",
	parents = {"틀"},
}

labels["category boilerplate templates"] = {
	description = "분류 문서의 설명과 분류를 생성하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["definition templates"] = {
	description = "정의를 만드는 데 도움이 되도록 {{{langname}}} 항목의 [[위키낱말사전:용어 사전#정의줄|정의줄]]에서 사용되는 틀.",
	parents = {"틀"},
}

labels["entry templates"] = {
	description = "{{{langname}}} 항목 생성을 돕는 데 사용되는 틀.",
	umbrella_parents = {"언어별 틀 하위 분류", "항목 틀"},
	parents = {"틀"},
}

labels["어원 틀"] = {
	description = "{{{langname}}} 항목의 어원 문단에서 사용되는 틀.",
	parents = {"틀"},
}

labels["experimental templates"] = {
	description = "{{{langname}}} 항목에 대한 가능한 내용을 테스트하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["form-of templates"] = {
	description = "{{{langdisp}}} 단어의 굴절형에 대한 항목의 정의줄에서 기본형으로 다시 링크하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["headword-line templates"] = {
	description = "표제어가 포함된 줄을 표시하기 위해 {{{langname}}} 항목에서 사용되는 틀.",
	parents = {"틀"},
}

labels["index templates"] = {
	description = "{{{langname}}} 색인을 구성하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["inflection-table templates"] = {
	description = "{{{langname}}} 낱말의 활용표를 표시하는 데 사용되는 틀.",
	parents = {"틀"},
}

-- 특정 유형의 활용표 틀.
for _, pos_ko in ipairs({
	"형용사",
	"부사",
	"한정사",
	"명사류",
	"명사",
	"수사",
	"분사",
	"후치사",
	"불변화사",
	"전치사",
	"대명사",
	"동사",
}) do
	local pos_en
	if pos_ko == "형용사" then
		pos_en = "adjective"
	elseif pos_ko == "부사" then
		pos_en = "adverb"
	elseif pos_ko == "한정사" then
		pos_en = "determiner"
	elseif pos_ko == "명사류" then
		pos_en = "nominal"
	elseif pos_ko == "명사" then
		pos_en = "noun"
	elseif pos_ko == "수사" then
		pos_en = "numeral"
	elseif pos_ko == "분사" then
		pos_en = "participle"
	elseif pos_ko == "후치사" then
		pos_en = "postposition"
	elseif pos_ko == "불변화사" then
		pos_en = "particle"
	elseif pos_ko == "전치사" then
		pos_en = "preposition"
	elseif pos_ko == "대명사" then
		pos_en = "pronoun"
	elseif pos_ko == "동사" then
		pos_en = "verb"
	end
	
	labels[pos_en .. " inflection-table templates"] = {
		description = "{{{langname}}} " .. pos_ko .. "의 격변화표를 표시하는 데 사용되는 틀.",
		parents = {"inflection-table templates"},
	}
end

labels["list templates"] = {
	description = "{{{langname}}} 목록을 포함하는 틀.",
	additional = "<code>list:</code> 접두사를 사용합니다. 예: [[틀:list:Latin script letters/en]].<br />" ..
	"[[:분류:목록 틀]]도 참고하십시오.",
	parents = {"틀"},
}

labels["mutation templates"] = {
	description = "{{{langname}}} 단어의 두음 변이를 표시하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["발음 틀"] = {
	description = "{{{langname}}} 항목에 대한 IPA 발음, 운율, 하이픈 등을 생성하는 데 사용되는 틀.",
	umbrella_parents = {"언어별 틀 하위 분류", "분류:발음 틀"},
	parents = {"틀"},
}

labels["인용 틀"] = {
	description = "{{{langname}}} 항목에 대한 인용문을 생성하는 데 사용되는 틀.",
	umbrella_parents = {"언어별 틀 하위 분류", "분류:인용 틀"},
	parents = {"틀"},
}

labels["인용 둘러보기 틀"] = {
	description = "{{{langname}}} [[위키낱말사전:인용/틀|인용 틀]]의 설명 문서에서 동일 저자의 다른 저작물에 대한 인용 틀로 링크하기 위해 사용되는 틀.",
	umbrella_parents = {"언어별 틀 하위 분류", "분류:둘러보기 틀", "분류:언어별 인용 틀"},
	parents = {"quotation templates"},
}

labels["참고 문헌 틀"] = {
	description = "{{{langname}}} 항목에 대한 참고 문헌 각주를 생성하는 데 사용되는 틀.",
	topright = function(data)
		if data.lang and data.lang:getCode() == "ine-pro" then
			return "{{shortcut|위키낱말사전:RTINE}}"
		end
	end,
	umbrella = {
		preceding = "{{참고|위키낱말사전:참고 문헌 틀}}\n{{참고|틀:refcat}}",
		parents = {"언어별 틀 하위 분류", "분류:참고 문헌 틀"},
		breadcrumb = "언어별",
	},
	parents = {"틀"},
}

labels["supplementary templates"] = {
	description = "다른 {{{langname}}} 틀의 내용을 보관하는 데 사용되는 틀.",
	parents = {"틀"},
}

labels["용법 틀"] = {
	description = "{{{langname}}} 항목에 용법 노트를 표시하는 데 사용되는 틀.",
	parents = {"틀"},
}


-- 'umbrella_parents' 키가 없는 경우 추가.
for key, data in pairs(labels) do
	if not data.umbrella and not data.umbrella_parents then
		data.umbrella_parents = "언어별 틀 하위 분류"
	end
	-- 부모를 레이블 끝에서 잘라내어 이동 경로를 자동으로 생성.
	if #data.parents == 1 and type(data.parents[1]) == "string" then
		local parent_re = " " .. require("Module:string utilities").pattern_escape(data.parents[1]) .. "$"
		if key:find(parent_re) then
			data.breadcrumb = key:gsub(parent_re, "")
		end
	end
end

-----------------------------------------------------------------------------
--                                                                         --
--                              원시(RAW) 분류                             --
--                                                                         --
-----------------------------------------------------------------------------

raw_categories["틀"] = {
	topright = "{{바로가기|위키낱말사전:틀}}",
	description = "위키낱말사전에서 사용되는 모든 틀을 위한 정리용 분류입니다.",
	additional = "''참고: [[위키낱말사전:틀]], [[meta:Help:Template]]''",
	parents = {"위키낱말사전"},
}

raw_categories["관리 틀"] = {
	description = "위키낱말사전 관리에 사용되는 틀.",
	additional = "주 이름공간 외부에서만 사용되며, 항목 관리에 사용되는 [[:분류:관리 틀|관리 틀]]과는 구별됩니다.",
	parents = {"틀"},
}

raw_categories["Alternative orthography templates"] = {
	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["Archive templates"] = {
	description = "Templates used on archived or otherwise inactive pages.",
	parents = {"Administration templates"},
}

raw_categories["Checkuser templates"] = {
	description = "Templates related to [[Wiktionary:Requests for checkuser|checkuser requests]].",
	parents = {"Administration templates"},
}

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

raw_categories["부록 틀"] = {
	description = "부록에서 사용되거나 부록으로 링크하는 틀.",
	parents = {"틀", "분류:부록"},
}

raw_categories["Swadesh list templates"] = {
	description = "Templates used on pages that contain [[w:Swadesh list]]s.",
	parents = {"Appendix templates"},
}

raw_categories["Astrology templates"] = {
	description = "Templates that display astrology-related diagrams or boxes.",
	parents = {"틀"},
}

raw_categories["Audio templates"] = {
	description = "Templates used to play or request audio files.",
	parents = {"틀"},
}

raw_categories["Auto-table templates"] = {
	description = "Templates used to generate word tables (like [[Template:table:seasons]]).",
	additional = "See also [[:Category:Auto-table templates by language]].",
	parents = {"틀"},
}

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

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

raw_categories["분류 틀"] = {
	description = "분류 이름공간에서 사용되는 틀.",
	additional = "(반면, [[:분류:분류 추가 틀]]은 문서를 분류하는 데 사용되는 틀을 포함합니다.)",
	parents = {"틀"},
}

raw_categories["Category boilerplate templates"] = {
	description = "Templates used to generate the text of category pages.",
	parents = {"분류 틀"},
}

raw_categories["목차 틀"] = {
	description = "분류에 나열된 문서를 탐색하기 위해 링크된 글자 목록을 생성하는 데 사용되는 틀.",
	parents = {"분류 틀"},
}

raw_categories["Character info templates"] = {
	description = "Templates that utilize {{temp|character info}}.",
	parents = {"틀"},
}

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

raw_categories["Templates for generating characters used in wiki code"] = {
	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["Chemistry templates"] = {
	description = "Templates that display chemistry-related diagrams or boxes.",
	parents = {"틀"},
}

raw_categories["Chess templates"] = {
	description = "Templates that display chess diagrams.",
	parents = {"틀"},
}

raw_categories["Citation templates"] = {
	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}}

==같이 보기==
* [[Wiktionary:Quotations]]
* [[:Category:Reference templates]] for specific templates to well-known and widely used sources.]=],
	parents = {"틀"},
}

-- Skipped: Concordance templates

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

raw_categories["Cross reference templates"] = {
	description = "Templates used to create cross-references between sections.",
	parents = {"틀"},
}

raw_categories["Dating templates"] = {
	description = "Templates for displaying dates.",
	parents = {"틀"},
}

raw_categories["Definition templates"] = {
	description = "Templates used in the [[Wiktionary:Glossary#definition line|definition line]] to help in creating definitions.",
	parents = {"틀"},
}

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

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

raw_categories["Conjugation form-of templates"] = {
	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["Declension form-of templates"] = {
	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["Name templates"] = {
	description = "Templates used in the [[Wiktionary:Glossary#definition line|definition line]] to help in creating definitions for names.",
	parents = {"Definition templates"},
}

raw_categories["Object usage templates"] = {
	description = "Templates used in the [[Wiktionary:Glossary#definition line|definition line]] to show case and adposition usage for verb objects and similar constructs.",
	parents = {"Definition templates"},
}

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

raw_categories["Entry templates"] = {
	description = "Templates used to help create new entries.",
	parents = {"틀"},
}

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

raw_categories["Foreign derivation templates"] = {
	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["Morphology templates"] = {
	description = "Templates used in etymology sections to specify the morphology of a term.",
	parents = {"Etymology templates"},
}

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

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

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

raw_categories["Monthly-subpages discussion room infrastructure"] = {
	description = "Templates used in generating and maintaining monthly discussion forums such as the [[Wiktionary:Grease pit|Grease pit]] and [[Wiktionary:Beer parlour|Beer parlour]].",
	parents = {"Discussion templates"},
}

raw_categories["Documentation templates"] = {
	description = "Templates used on template and module documentation pages.",
	parents = {"틀"},
}

raw_categories["File templates"] = {
	description = "Templates used in the File namespace.",
	parents = {"틀"},
}

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

raw_categories["Layout templates"] = {
	description = "Templates used in creating specific layouts within entries.",
	parents = {"틀"},
}

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

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

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

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

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

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

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

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

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

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

raw_categories["List templates"] = {
	description = "Templates used to generate lists.",
	additional = "See also [[:Category:List templates by language]].",
	parents = {"틀"},
}

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

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

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

raw_categories["Cleanup templates"] = {
	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["Deletion templates"] = {
	description = "Templates used to request deletion of entries.",
	parents = {"Maintenance templates", "Request templates"},
}

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

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

raw_categories["메타 틀"] = {
	description = "다른 틀에서 사용되거나 다른 틀을 생성하는 틀.",
	parents = {"틀"},
}

raw_categories["String manipulation templates"] = {
	description = "Templates used to manipulate strings.",
	additional = "See also [[Module:string/templates]], which can be invoked from templates to do string manipulation.",
	parents = {"메타 틀"},
}

raw_categories["둘러보기 틀"] = {
	description = "다른 유사한 문서로 쉽게 링크하기 위한 둘러보기 상자를 만드는 데 사용되는 틀.",
	parents = {"틀"},
}

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

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

raw_categories["Pronunciation templates"] = {
	description = "Templates used to format pronunciation sections and the characters they use.",
	additional = "See also [[:Category:Script templates]] and [[Wiktionary:Pronunciation]].",
	parents = {"틀"},
}

raw_categories["Rhyme templates"] = {
	description = "Templates used to format [[Wiktionary:Rhymes|rhyme pages]], links to them from pronunciation sections, etc.",
	parents = {"Pronunciation templates"},
}

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

raw_categories["Qualifier and gloss templates"] = {
	description = "Templates for displaying qualifiers, glosses and the like.",
	parents = {"틀"},
}

raw_categories["넘겨주기 틀"] = {
	description = "넘겨주기 문서의 서식을 지정하는 데 사용되는 틀.",
	parents = {"틀"},
}

raw_categories["참고 문헌 틀"] = {
	preceding = "{{참고|위키낱말사전:참고 문헌 틀|:분류:언어별 참고 문헌 틀}}",
	description = "참고 문헌의 서식을 지정하는 데 사용되는 틀.",
	parents = {"틀"},
}

raw_categories["Religion templates"] = {
	description = "Templates that display religion-related diagrams or boxes.",
	parents = {"틀"},
}

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

raw_categories["Sandbox templates"] = {
	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 = {"틀"},
}

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

raw_categories["Semantic relation templates"] = {
	description = "Templates that are placed below the [[Wiktionary:Glossary#definition line|definition line]], to indicate other terms semantically related to a particular sense.",
	parents = {"틀"},
}

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

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

raw_categories["Taxonomy templates"] = {
	description = "Templates used in Translingual taxonomy entries and in reference to those entries.",
	parents = {"틀"},
}

raw_categories["Taxonomic hypernym templates"] = {
	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["Taxonomic name templates"] = {
	description = "Templates used for the presentation of taxonomic names on a definition line.",
	breadcrumb = "Name",
	parents = {"Taxonomy templates", "Definition templates"},
}

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

raw_categories["Templates that must be substituted"] = {
	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 = {"틀", "Requests"},
}

raw_categories["Templates with acceleration"] = {
	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 [[Wiktionary:ACCEL|accelerated]] editing enabled.",
	parents = {"틀"},
}

raw_categories["Text format templates"] = {
	description = "Templates that provide shortcuts for formatting ordinary text.",
	parents = {"틀"},
}

raw_categories["Thesaurus templates"] = {
	description = "Templates for linking to or formatting thesaurus entries.",
	parents = {"틀"},
}

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

raw_categories["User templates"] = {
	description = "Templates meant to be used in userspace.",
	parents = {"틀"},
}

raw_categories["User sandbox templates"] = {
	description = "Templates that are for personal use and testing by individual editors.",
	additional = "These should all begin with <code>User:</code> followed by the user's name. If several " ..
	"sandbox templates are needed by a single user, subpages can be created. These templates should not be used in real " ..
	"Wiktionary content pages, as all content on those pages should be editable by anyone and, if necessary, edit protected.",
	parents = { "Sandbox templates", "틀" },
}

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

raw_categories["User competency templates"] = {
	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["Coder user templates"] = {
	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["Language user templates"] = {
	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["Script user templates"] = {
	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["WOTD templates"] = {
	description = "Templates used to support the Word of the Day.",
	parents = {"Wiktionary templates"},
}

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

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

raw_categories["Templates subcategories by language"] = {
	description = "Umbrella categories covering topics related to templates.",
	additional = "{{{umbrella_meta_msg}}}",
	parents = {
		"Umbrella metacategories",
		{name = "틀", is_label = true, sort = " "},
	},
}

-- 부모(또는 부모의 부모 등)를 레이블 끝에서 잘라내어 이동 경로를 자동으로 생성.
for key, data in pairs(raw_categories) do
	if not data.breadcrumb then
		local parent = data.parents and data.parents[1]
		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[parent] then
					parent = raw_categories[parent].parents[1]
				else
					break
				end
			else
				break
			end
		end
	end
end


return {LABELS = labels, RAW_CATEGORIES = raw_categories}