<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFoundationclass%2FclassDoc</id>
	<title>Modul:Foundationclass/classDoc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFoundationclass%2FclassDoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Modul:Foundationclass/classDoc&amp;action=history"/>
	<updated>2026-04-05T23:36:59Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Modul:Foundationclass/classDoc&amp;diff=4417&amp;oldid=prev</id>
		<title>imported&gt;Oetterer am 15. Januar 2016 um 09:40 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Modul:Foundationclass/classDoc&amp;diff=4417&amp;oldid=prev"/>
		<updated>2016-01-15T09:40:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local placeholder = {&lt;br /&gt;
	defaultClassName = 'ClassName',&lt;br /&gt;
	defaultModuleName = 'Name',&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local _globalCFG = mw.loadData('Module:Foundationclass/globalconfig')&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.base(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.message.new('classengine-template-module-page'):rawParams(placeholder.defaultModuleName):plain()&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.message.new('classengine-template-module-page'):rawParams(frame):plain()&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.baseDoc(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-module-documentation-page'):rawParams(placeholder.defaultModuleName, (_globalCFG.moduleCategory or 'none')):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-module-documentation-page'):rawParams(frame, (_globalCFG.moduleCategory or 'none')):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- we need a function to be called by some generic category pages to be categorized in project's supercategory&lt;br /&gt;
-- since foundationclass has no base module, we put it here&lt;br /&gt;
-- the category pages of the classes call their base module's categorize&lt;br /&gt;
-- this is called by project gardening supercategory and the meta category pages (forms, modules, templates, properties)&lt;br /&gt;
function p.categorize(frame)&lt;br /&gt;
	local FoundationClass = require('Module:Foundationclass')&lt;br /&gt;
	return FoundationClass:categorize()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.category(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-category-page'):rawParams(placeholder.defaultModuleName, (_globalCFG.projectSuperCategory or 'none')):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-category-page'):rawParams(frame, (_globalCFG.projectSuperCategory or 'none')):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.class(frame, className)&lt;br /&gt;
	local className = className or placeholder.defaultClassName&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.message.new('classengine-template-module-class-page'):rawParams(placeholder.defaultModuleName, className):plain()&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.message.new('classengine-template-module-class-page'):rawParams(frame, className):plain()&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.classDoc(frame, className)&lt;br /&gt;
	local className = className or placeholder.defaultClassName&lt;br /&gt;
	local moduleCategory = _globalCFG.moduleCategory or 'none'&lt;br /&gt;
	local classCategory = _globalCFG.classCategory or 'none'&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-module-class-documentation-page'):rawParams(placeholder.defaultModuleName, className, moduleCategory, classCategory):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-module-class-documentation-page'):rawParams(frame, className, moduleCategory, classCategory):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.configDoc(frame)&lt;br /&gt;
	local moduleCategory = _globalCFG.moduleCategory or 'none'&lt;br /&gt;
	local classCategory = _globalCFG.classCategory or 'none'&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-module-config-documentation-page'):rawParams(placeholder.defaultModuleName, moduleCategory, classCategory):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-module-config-documentation-page'):rawParams(frame, moduleCategory, classCategory):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.form(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-form-page'):rawParams(placeholder.defaultModuleName, (_globalCFG.formCategory or 'none')):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-form-page'):rawParams(frame, (_globalCFG.formCategory or 'none')):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.gardeningCategory(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-gardeningcategory-page'):rawParams(placeholder.defaultModuleName, (_globalCFG.gardeningSuperCategory or 'none')):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-gardeningcategory-page'):rawParams(frame, (_globalCFG.gardeningCategory or 'none')):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.template(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-template-page'):rawParams(placeholder.defaultModuleName):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-template-page'):rawParams(frame):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.templateDoc(frame)&lt;br /&gt;
	if not frame or frame == mw.getCurrentFrame() then&lt;br /&gt;
		return mw.text.nowiki(frame:preprocess(mw.message.new('classengine-template-template-documentation-page'):rawParams(placeholder.defaultModuleName, (_globalCFG.templateCategory or 'none')):plain()))&lt;br /&gt;
	else&lt;br /&gt;
		-- this is not needed any more and exists due to backward compatibility reasons&lt;br /&gt;
		return mw.getCurrentFrame():preprocess(mw.message.new('classengine-template-template-documentation-page'):rawParams(frame, (_globalCFG.templateCategory or 'none')):plain())&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Oetterer</name></author>
	</entry>
</feed>