<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.anneartist.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ABoxContent%2Fdoc</id>
	<title>Template:BoxContent/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.anneartist.uk/index.php?action=history&amp;feed=atom&amp;title=Template%3ABoxContent%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.anneartist.uk/index.php?title=Template:BoxContent/doc&amp;action=history"/>
	<updated>2026-04-17T12:49:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.anneartist.uk/index.php?title=Template:BoxContent/doc&amp;diff=36&amp;oldid=prev</id>
		<title>Mollie: 1 revision imported: All the templates from Cuntel Wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.anneartist.uk/index.php?title=Template:BoxContent/doc&amp;diff=36&amp;oldid=prev"/>
		<updated>2019-01-23T04:55:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: All the templates from Cuntel Wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Doc}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
The derived box drawing templates can be used with simple text content, or complex HTML or wiki markup.  This template simplifies the generation of content for a [[Template:SideBox]] or [[Template:FullBox]].  For more details, see the documentation for those individual templates.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;For technical reasons, this should not be used with [[Template:TextBox]].&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
==What it does==&lt;br /&gt;
This template creates the content for a box.  You may specify a left image, right image, heading and/or message through the supplied arguments.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{BoxContent&lt;br /&gt;
 |imgl=&amp;lt;left image filename&amp;gt;&lt;br /&gt;
 |imgr=&amp;lt;right image filename&amp;gt;&lt;br /&gt;
 |heading=&amp;lt;heading&amp;gt;&lt;br /&gt;
 |message=&amp;lt;message&amp;gt;}}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;All&amp;#039;&amp;#039;&amp;#039; of the arguments are optional, including &amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;imgl&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;imgr&amp;lt;/code&amp;gt;===&lt;br /&gt;
These specify an image or images to be displayed on the left and/or right of the box, respectively.  If either or both is missing, then there will be no image displayed on the corresponding side.&lt;br /&gt;
&lt;br /&gt;
You can use any uploaded image for this - it will be resized accordingly.  In particular, you can use any of the icon images uploaded for use with [[Template:Icon]].&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;heading&amp;lt;/code&amp;gt;===&lt;br /&gt;
This specifies a heading.  This will be emphasized (typically using &amp;#039;&amp;#039;&amp;#039;bold&amp;#039;&amp;#039;&amp;#039; text) and centred in the box.&lt;br /&gt;
&lt;br /&gt;
If this is missing, then no heading will be generated.&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;message&amp;lt;/code&amp;gt;===&lt;br /&gt;
This specifies the body text.  This will be left-justified (but shown to the right of a left image, if one is present).&lt;br /&gt;
&lt;br /&gt;
If this is missing, then no message will be generated.&lt;br /&gt;
&lt;br /&gt;
==Use with derived templates==&lt;br /&gt;
Note that this template generates output even if &amp;#039;&amp;#039;all four&amp;#039;&amp;#039; arguments are missing or blank;  it is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; therefore suitable if you are relying on the default derived template behaviour of suppressing output when the content is blank.&lt;br /&gt;
&lt;br /&gt;
It is also unsuitable for use with [[Template:TextBox]], though it can be used directly with [[Template:Box]].&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
In the following code, BoxContent (shown here in green) is used to generate the &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt; argument to be passed to [[Template:WarnBox]]:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{WarnBox|text=&amp;lt;/nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:#009900;&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{BoxContent|imgl=Icon_warn.png|heading=Warning!&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;|message=This is a warning box produced using templates!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It produces this result:&lt;br /&gt;
{{WarnBox|text={{BoxContent|imgl=Icon_warn.png|heading=Warning!|message=This is a warning box produced using templates!}}}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation templates]]&lt;/div&gt;</summary>
		<author><name>Mollie</name></author>
	</entry>
</feed>