<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cm2.liecourt.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ANew</id>
	<title>Template:New - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cm2.liecourt.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ANew"/>
	<link rel="alternate" type="text/html" href="https://cm2.liecourt.com/index.php?title=Template:New&amp;action=history"/>
	<updated>2026-04-11T14:21:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.14</generator>
	<entry>
		<id>https://cm2.liecourt.com/index.php?title=Template:New&amp;diff=139&amp;oldid=prev</id>
		<title>Maintenance script: Fill database</title>
		<link rel="alternate" type="text/html" href="https://cm2.liecourt.com/index.php?title=Template:New&amp;diff=139&amp;oldid=prev"/>
		<updated>2020-05-13T19:24:50Z</updated>

		<summary type="html">&lt;p&gt;Fill database&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Managed&lt;br /&gt;
|Version=1.4&lt;br /&gt;
|Version notes=1.4 - In &amp;quot;switch&amp;quot; parserfunctions, added &amp;quot;Sjabloon&amp;quot; to the &amp;quot;Template&amp;quot; cases, so it also works on Dutch wikis &lt;br /&gt;
1.3 - Moved it to the &amp;quot;Basic managed items&amp;quot; feature so it can be included for new wikis.&lt;br /&gt;
1.2 - When you use &amp;quot;subst:New&amp;quot; in the Wiki namespace, you now only get Managed template with &amp;quot;noinclude&amp;quot; and &amp;quot;includeonly&amp;quot; tags.&lt;br /&gt;
1.1 - The &amp;quot;set properties&amp;quot; part is now only added when you use the &amp;quot;Parameters&amp;quot; parameter (and namespace is template). Added # in pre for widgets.&lt;br /&gt;
1.0 - Added properties and parameters&lt;br /&gt;
|Short description=Template that builds initial content for a new managed item when it's substituted. &amp;lt;div style=&amp;quot;color:red;&amp;quot;&amp;gt;&amp;lt;i data-toggle=&amp;quot;tooltip&amp;quot; class=&amp;quot;fa fa-warning &amp;quot;   &amp;gt;&amp;lt;/i&amp;gt; If you want to modify this template, please modify the version on [https://i.wikibase.nl/index.php/Template:New '''i.wikibase'''] and then copy from there.&amp;lt;/div&amp;gt;&lt;br /&gt;
|warning&lt;br /&gt;
|Feature=Wiki:Feature/1530870851&lt;br /&gt;
|Status=Live&lt;br /&gt;
|Uses managed items=Template:New managed; Template:Property}} If you want to modify this template, please modify the version on [https://care.wikibase.nl/index.php/Template:New '''Care'''] and then copy from there.&amp;lt;/div&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
This is the '''New''' template. It should be called in the following format:&lt;br /&gt;
&lt;br /&gt;
minimal version:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{subst:New}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
additional options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{subst:New&lt;br /&gt;
|Version= &amp;lt;optional, default = 1.0&amp;gt;&lt;br /&gt;
|Version notes= &amp;lt;optional, default = 1.0 - First managed version&amp;gt;&lt;br /&gt;
|Short description= &amp;lt;optional&amp;gt;&lt;br /&gt;
|Parameters= &amp;lt;optional, see example below. Property is only for templates.&amp;gt;&lt;br /&gt;
    Parameter name1;;Description1;;Property name1&lt;br /&gt;
    Parameter name2;;Description2;;Property name2&lt;br /&gt;
    .. list all parameters as the format above. If no description or property is required, leave it empty but still include the delimiter ;;&lt;br /&gt;
|Feature= &amp;lt;optional, feature documentation page&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example (copy this to an empty template for testing)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{subst:New&lt;br /&gt;
|Version=5.3&lt;br /&gt;
|Version notes=For testing&lt;br /&gt;
|Short description=Simple template with name and age parameters and properties&lt;br /&gt;
|Parameters=&lt;br /&gt;
    Naam;;&amp;lt;text&amp;gt;;;Name&lt;br /&gt;
    Leeftijd;;&amp;lt;number&amp;gt;;;Age&lt;br /&gt;
|Feature=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template can be used for a managed item in any namespace. It creates a 'noinclude' and 'includeonly' part, with some standard documentation automatically generated and the &amp;quot;Managed&amp;quot; template added. &lt;br /&gt;
* '''Template:''' When the &amp;quot;Parameters&amp;quot; parameter is used, parameters are added in the part between &amp;quot;pre&amp;quot; tags. The &amp;quot;#set&amp;quot; parserfunction is added in the includeonly part, with properties if any were added.&lt;br /&gt;
* '''Property:''' The &amp;quot;New&amp;quot; template does not create an &amp;quot;includeonly&amp;quot; and &amp;quot;noinclude&amp;quot; part for property pages. It only adds the &amp;quot;Managed&amp;quot; template and &amp;quot;Property&amp;quot; template. The &amp;quot;Property&amp;quot; template includes a form for setting up the property (choosing a type etc).&lt;br /&gt;
* '''Main''' or '''Wiki''': The &amp;quot;New&amp;quot; template does not create an &amp;quot;includeonly&amp;quot; and &amp;quot;noinclude&amp;quot; part, it only adds the &amp;quot;Managed&amp;quot; template.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{subst:#switch:{{subst:NAMESPACE}}&lt;br /&gt;
|Property={{Property&lt;br /&gt;
|Has type={{subst:#if:{{{Has type|}}}|{{{Has type|}}}|Text }}&lt;br /&gt;
}}&lt;br /&gt;
{{subst:New managed}}&lt;br /&gt;
|Wiki&lt;br /&gt;
|={{subst:New managed}}&lt;br /&gt;
|#default=&amp;lt;{{subst:#if:1|noinclude}}&amp;gt;{{subst:New managed}}&lt;br /&gt;
&lt;br /&gt;
This is the {{subst:#switch:{{subst:NAMESPACE}}&lt;br /&gt;
|Template|Sjabloon='''{{subst:PAGENAME}}''' template&lt;br /&gt;
|#default='''{{subst:FULLPAGENAME}}''' page}}. It should be called in the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;{{subst:#if:1|pre}}&amp;gt;{{subst:#vardefine:@name|{{subst:#switch:{{subst:NAMESPACE}}|=:|Template|Sjabloon=|Widget=&amp;amp;#35;widget:|#default={{subst:NAMESPACE}}:}}{{subst:PAGENAME}}}}&lt;br /&gt;
{{subst:#if:{{{Parameters|}}}|&lt;br /&gt;
{{{{subst:#var:@name}}&lt;br /&gt;
{{subst:#if:{{{Parameters|}}}|&lt;br /&gt;
{{subst:#arraymap:{{{Parameters|}}}|\n|@@@|{{subst:!}}{{subst:#explode:@@@|;;|0}}={{subst:#explode:@@@|;;|1}}|\n}}&lt;br /&gt;
}}&lt;br /&gt;
}} |{{{{subst:#var:@name}} }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;{{subst:#if:1|/}}{{subst:#if:1|pre}}&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;{{subst:#if:1|/}}{{subst:#if:1|noinclude}}&amp;gt;&amp;lt;{{subst:#if:1|includeonly}}&amp;gt;{{subst:#ifeq:{{subst:NAMESPACE}}|Template|{{subst:#if:{{{Parameters|}}}|{{subst:#if:1|&amp;lt;!}}--&lt;br /&gt;
&lt;br /&gt;
SET PROPERTIES&lt;br /&gt;
--{{subst:#if:1|&amp;gt;}}{{#set:&lt;br /&gt;
{{subst:#arraymap:{{{Parameters|}}}|\n|@@@&lt;br /&gt;
|{{subst:#if:{{subst:#explode:@@@|;;|2}}|{{subst:!}}{{subst:#explode:@@@|;;|2}}={{subst:#if:1|{}}{{subst:#if:1|{}}{{subst:#if:1|{}}{{subst:#explode:@@@|;;|0}}{{subst:!}}{{subst:#if:1|}}}{{subst:#if:1|}}}{{subst:#if:1|}}}&lt;br /&gt;
}}&lt;br /&gt;
|\n}}&lt;br /&gt;
}} }} }}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;{{subst:#if:1|/}}{{subst:#if:1|includeonly}}&amp;gt;}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
		
	</entry>
</feed>