<?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%3ACenter_block%2Fdoc</id>
	<title>Template:Center block/doc - 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%3ACenter_block%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Center_block/doc&amp;action=history"/>
	<updated>2026-04-08T00:31:55Z</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:Center_block/doc&amp;diff=15263&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} {{Commons Import}} This template places a block of text in the center of the page, without affecting the text alignment within that block.   ==Usage=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Center_block/doc&amp;diff=15263&amp;oldid=prev"/>
		<updated>2020-11-03T18:17:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{Commons Import}} This template places a block of text in the center of the page, without affecting the text alignment within that block.   ==Usage=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
This template places a block of text in the center of the page, without affecting the text alignment within that block. &lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Parameters===&lt;br /&gt;
Where there is a requirement to fix the width or height of the block, optional &amp;quot;width&amp;quot; and &amp;quot;height&amp;quot; parameters can be used.  If additional style adjustments are required, use the optional &amp;quot;style&amp;quot; parameter.&lt;br /&gt;
==== Example 1 ====&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
{{center block|width=300px|height=200px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{clear}}&lt;br /&gt;
{{center block|width=300px|height=200px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
====  Example 2 ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For exactly the same &amp;quot;spacing&amp;quot; as rendered by normal paragraph(s) before &amp;amp;/or after the template-inserted content.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{center block|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{clear}}&lt;br /&gt;
&amp;lt;p&amp;gt;By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{center block|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
==== Example 3 ====&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;For slightly larger &amp;quot;spacing&amp;quot; between normal paragraph(s) before &amp;amp;/or after the template-inserted content.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{center block|style=max-width:300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{clear}}&lt;br /&gt;
&amp;lt;p&amp;gt;By clicking the “Save page” button, you are agreeing to the Terms of Use, the Privacy Policy, and you irrevocably agree to release your contribution under the CC-BY-SA 3.0 License and the GFDL. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{center block|style=max-width:300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&amp;lt;br&amp;gt;&lt;br /&gt;
Aenean commodo ligula eget dolor.&lt;br /&gt;
&lt;br /&gt;
Aenean massa.}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateDataHeader}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Content&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;width&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Width of block area&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;height&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Height of block area&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;title&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Title&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;style&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Custom CSS&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template to center-align block with content in any other places, without affecting the text alignment within that block. This may harm some templates.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Center}}&lt;br /&gt;
* {{Tl|Align}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Positioning templates]]&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>