<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tas.bot/index.php?action=history&amp;feed=atom&amp;title=TASBot_Wiki:Style_guide/Creating_templates</id>
	<title>TASBot Wiki:Style guide/Creating templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tas.bot/index.php?action=history&amp;feed=atom&amp;title=TASBot_Wiki:Style_guide/Creating_templates"/>
	<link rel="alternate" type="text/html" href="https://tas.bot/index.php?title=TASBot_Wiki:Style_guide/Creating_templates&amp;action=history"/>
	<updated>2026-04-15T01:09:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://tas.bot/index.php?title=TASBot_Wiki:Style_guide/Creating_templates&amp;diff=1657&amp;oldid=prev</id>
		<title>YoshiRulz: Copy in from village pump</title>
		<link rel="alternate" type="text/html" href="https://tas.bot/index.php?title=TASBot_Wiki:Style_guide/Creating_templates&amp;diff=1657&amp;oldid=prev"/>
		<updated>2024-08-10T07:17:19Z</updated>

		<summary type="html">&lt;p&gt;Copy in from village pump&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To get the visual editor to generate nice code, ensure any block templates you create have&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;format&amp;quot;: &amp;quot;{{_|_=_}}\n&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (as &amp;lt;code&amp;gt;inline&amp;lt;/code&amp;gt; but with trailing newline)&lt;br /&gt;
or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;quot;format&amp;quot;: &amp;quot;{{_\n|_=_\n}}\n&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (improved version of &amp;lt;code&amp;gt;block&amp;lt;/code&amp;gt;)&lt;br /&gt;
in the TemplateData&amp;amp;mdash;see [[mw:Help:TemplateData#Custom_formats|docs]].&lt;br /&gt;
This is unfortunately necessary to do on each individual template since [https://phabricator.wikimedia.org/T205438 the named aliases are hardcoded].&lt;br /&gt;
(Getting the generated invocation to not be in sentence case is a lost cause. It seems to honour what was entered manually though.)&lt;/div&gt;</summary>
		<author><name>YoshiRulz</name></author>
	</entry>
</feed>