<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_bug_documentation</id>
	<title>Template:Block bug documentation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3ABlock_bug_documentation"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Block_bug_documentation&amp;action=history"/>
	<updated>2026-04-10T18:39:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Block_bug_documentation&amp;diff=15841&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;&lt;noinclude&gt;{{notice|Ignore any errors showing below; they do not appear when this snippet is transcluded (nor does this message box). This doc snippet&#039;s output only works when...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Block_bug_documentation&amp;diff=15841&amp;oldid=prev"/>
		<updated>2020-11-09T23:42:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;noinclude&amp;gt;{{notice|Ignore any errors showing below; they do not appear when this snippet is transcluded (nor does this message box). This doc snippet&amp;#039;s output only works when...&amp;quot;&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;{{notice|Ignore any errors showing below; they do not appear when this snippet is transcluded (nor does this message box). This doc snippet&amp;#039;s output only works when it&amp;#039;s transcluded into the context of a specific template, e.g. at [[Template:Block indent/doc]]}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;If the block-formatted content begins with a list (or any other wikimarkup that is dependent upon a specific markup character being at the beginning of a line) then due to a bug in [[MediaWiki]], a {{xtag|nowiki|s}} must exist before the list (or whatever) starts. Compare:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;amp;nbsp;&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | code&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | result&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | FAIL&lt;br /&gt;
|&lt;br /&gt;
  {{{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{{1|1}}}&amp;lt;nowiki&amp;gt;=&lt;br /&gt;
 *Firstly, ...&lt;br /&gt;
 *Secondly, ...&lt;br /&gt;
 *Thirdly, ...&lt;br /&gt;
 }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| &amp;lt;includeonly&amp;gt;{{{{BASEPAGENAME}}|{{{1|1}}}=&lt;br /&gt;
*Firstly, ...&lt;br /&gt;
*Secondly, ...&lt;br /&gt;
*Thirdly, ...&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{error|This output only works when this doc snippet is transcluded.}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Works as intended&lt;br /&gt;
|&lt;br /&gt;
  {{{{BASEPAGENAME}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{{1|1}}}&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;amp;lt;nowiki /&amp;amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 *Firstly, ...&lt;br /&gt;
 *Secondly, ...&lt;br /&gt;
 *Thirdly, ...&lt;br /&gt;
 }}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
| &amp;lt;includeonly&amp;gt;{{{{BASEPAGENAME}}|{{{1|1}}}=&amp;lt;nowiki /&amp;gt;&lt;br /&gt;
*Firstly, ...&lt;br /&gt;
*Secondly, ...&lt;br /&gt;
*Thirdly, ...&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{error|This output only works when this doc snippet is transcluded.}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
To embed a table in block markup like this, the block template&amp;#039;s content parameter must be named or numbered and include the self-closing noinclude – as in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|1=&amp;amp;lt;nowiki /&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; – then every &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; character in the table markup must be escaped with {{tlx|!}}. An alternative is to use explicit HTML {{code|lang=html|code=&amp;lt;table&amp;gt;}}, {{code|lang=html|code=&amp;lt;tr&amp;gt;}}, {{code|lang=html|code=&amp;lt;th&amp;gt;}}, and {{code|lang=html|code=&amp;lt;td&amp;gt;}} markup.&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Documentation|content=This is transcluded documentation, which can be transcluded in the /doc pages of various templates like {{tlx|Block indent}} and {{tlx|Quote}}, e.g. under a &amp;quot;Technical issue with block templates&amp;quot; heading or the like.  Right now it takes no parameter other than {{para|1|{{var|foo}}}}, to change the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{{1}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to something else, thus changing the display (and operation) to use something other than {{para|1}} in the shown template operations.&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation shared content templates]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>