https://en.wikipedia.org/w/index.php?action=history&feed=atom&title=Module%3ABlock_diagram%2Fdoc Module:Block diagram/doc - Revision history 2025-06-04T04:55:44Z Revision history for this page on the wiki MediaWiki 1.45.0-wmf.3 https://en.wikipedia.org/w/index.php?title=Module:Block_diagram/doc&diff=1242980760&oldid=prev Warudo: Added the page to :Category:Module documentation pages 2024-08-29T20:26:14Z <p>Added the page to <a href="/wiki/Category:Module_documentation_pages" title="Category:Module documentation pages">Category:Module documentation pages</a></p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:26, 29 August 2024</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 39:</td> <td colspan="2" class="diff-lineno">Line 39:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Each row uses a &lt;nowiki&gt;&lt;top&gt; and &lt;bottom&gt;&lt;/nowiki&gt; that carries on to several divs in the row until they are reset.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Each row uses a &lt;nowiki&gt;&lt;top&gt; and &lt;bottom&gt;&lt;/nowiki&gt; that carries on to several divs in the row until they are reset.</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;noinclude&gt;</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Module documentation pages]]</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;/noinclude&gt;</div></td> </tr> </table> Warudo https://en.wikipedia.org/w/index.php?title=Module:Block_diagram/doc&diff=554250927&oldid=prev Wnt: Adding the 1= part. In theory there's a way around this (reconstruct from the unknown long tag) but not going to pioneer that now. 2013-05-09T06:56:59Z <p>Adding the 1= part. In theory there&#039;s a way around this (reconstruct from the unknown long tag) but not going to pioneer that now.</p> <table style="background-color: #fff; color: #202122;" data-mw="interface"> <col class="diff-marker" /> <col class="diff-content" /> <col class="diff-marker" /> <col class="diff-content" /> <tr class="diff-title" lang="en"> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Previous revision</td> <td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 06:56, 9 May 2013</td> </tr><tr> <td colspan="2" class="diff-lineno">Line 6:</td> <td colspan="2" class="diff-lineno">Line 6:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* ''debug'' may return some debuglog data (very little use except when making changes to the module)</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* ''debug'' may return some debuglog data (very little use except when making changes to the module)</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The first unlabelled parameter contains a large amount of text and tags to be interpreted as described below.</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The first unlabelled parameter contains a large amount of text and tags to be interpreted as described below.</div></td> </tr> <tr> <td colspan="2" class="diff-empty diff-side-deleted"></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:* '''Warning: if your text contains or may in the future contain an ''='' character, you must begin this text with ''1='''''</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Tags ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Tags ==</div></td> </tr> <tr> <td colspan="2" class="diff-lineno">Line 25:</td> <td colspan="2" class="diff-lineno">Line 26:</td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Example ==</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Example ==</div></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>{{#invoke:Block diagram|main|width=600|height=245|&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>{{#invoke:Block diagram|main|width=600|height=245|<ins style="font-weight: bold; text-decoration: none;">1=</ins>&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>is produced by:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>is produced by:</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker" data-marker="−"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>&lt;nowiki&gt;{{#invoke:Block diagram|main|width=600|height=245|&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}&lt;/nowiki&gt;</div></td> <td class="diff-marker" data-marker="+"></td> <td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>&lt;nowiki&gt;{{#invoke:Block diagram|main|width=600|height=245|<ins style="font-weight: bold; text-decoration: none;">1=</ins>&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}&lt;/nowiki&gt;</div></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td> </tr> <tr> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In this example:</div></td> <td class="diff-marker"></td> <td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>In this example:</div></td> </tr> </table> Wnt https://en.wikipedia.org/w/index.php?title=Module:Block_diagram/doc&diff=554249713&oldid=prev Wnt: ←Created page with 'This function takes a long string of text and tags in angle brackets to output a set of HTML <nowiki><div></nowiki> elements. This allows you to block out a dia...' 2013-05-09T06:41:48Z <p><a href="/wiki/Wikipedia:AES" class="mw-redirect" title="Wikipedia:AES">←</a>Created page with &#039;This function takes a long string of text and tags in angle brackets to output a set of HTML &lt;nowiki&gt;&lt;div&gt;&lt;/nowiki&gt; elements. This allows you to block out a dia...&#039;</p> <p><b>New page</b></p><div>This function takes a long string of text and tags in angle brackets to output a set of HTML &lt;nowiki&gt;&lt;div&gt;&lt;/nowiki&gt; elements. This allows you to block out a diagram with arbitrarily placed rectangular elements. The main point of the module is that it allows some attributes to be applied in a &quot;sticky&quot; manner, so that once you set the color or position of a div, the divs coming after it will have the same values unless you change them. Though the text may still be pretty lengthy, it is much shorter than a full specification of all the divs.<br /> <br /> == Parameters ==<br /> * &#039;&#039;width&#039;&#039; and &#039;&#039;height&#039;&#039; are the width and height of the total block diagram output.<br /> * &#039;&#039;nowiki&#039;&#039; returns the output as nowiki source text for debugging or copying.<br /> * &#039;&#039;debug&#039;&#039; may return some debuglog data (very little use except when making changes to the module)<br /> * The first unlabelled parameter contains a large amount of text and tags to be interpreted as described below.<br /> <br /> == Tags ==<br /> * The module takes several html attribute names and sets them to the value given. The colon and semicolon you&#039;d use in the style must &#039;&#039;&#039;not&#039;&#039;&#039; be given.<br /> <br /> * The tags currently supported are &#039;&#039;left&#039;&#039;, &#039;&#039;right&#039;&#039;, &#039;&#039;top&#039;&#039;, &#039;&#039;bottom&#039;&#039;, &#039;&#039;border-style&#039;&#039;, &#039;&#039;border-width&#039;&#039;, &#039;&#039;border-color&#039;&#039;, &#039;&#039;color&#039;&#039;, &#039;&#039;background-color&#039;&#039;, &#039;&#039;text-align&#039;&#039;, &#039;&#039;vertical-align&#039;&#039;, and &#039;&#039;vcentertext&#039;&#039;<br /> <br /> * Some values are altered by the module:<br /> ** A &quot;%&quot; is automatically added to the position attributes. Px values are not supported. This is intentional --- the intent is that the initial &#039;&#039;width&#039;&#039; and &#039;&#039;height&#039;&#039; parameters can be changed without having to rewrite the contents.<br /> ** The &#039;&#039;right&#039;&#039; and &#039;&#039;bottom&#039;&#039; values are given as percents from the left or top, &#039;&#039;not&#039;&#039; from the right or bottom as in the HTML. This means that boxes from top 60 to bottom 80 and top 80 to bottom 100 will adjoin each other.<br /> <br /> * Vertical centering is special, and relies on [[:Template:vertical center]] to position the text within the boxes with two additional divs &#039;&#039;inside&#039;&#039; the boxes. That template accepts a third parameter that applies to the outer div of that template, which can be fine-tunes with &#039;&#039;vcentertext&#039;&#039;. To be clear, this is a dirty way of solving the last few pixels of misalignment encountered with small text in small boxes.<br /> <br /> * Don&#039;t forget that you can include &lt;nowiki&gt;&lt;span&gt; and &lt;div&gt; elements&lt;/nowiki&gt;, or even images, in your text. This allows you to cover any eventualities not yet implemented as tags here. Only the special tags listed above are interpreted by the module; normal Wiki tags will be ignored by it, so they should be interpreted properly. [frame:preprocess() is used on the module output]<br /> <br /> * Currently no effort is made to try to figure out how to size the text to fit in the boxes - you have to make sure the diagram is big enough or the text small enough on your own.<br /> <br /> * You may find it convenient to wrap up the output from this module in [[:Template:Pseudo image]], which can make it look like a thumbnail preview, complete with link to a file or page with more detail about its contents.<br /> <br /> == Example ==<br /> {{#invoke:Block diagram|main|width=600|height=245|&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}<br /> <br /> is produced by:<br /> <br /> &lt;nowiki&gt;{{#invoke:Block diagram|main|width=600|height=245|&lt;border-color grey&gt;&lt;border-width 0px 0px 0px 1px&gt;&lt;left 30&gt;&lt;right 30&gt;&amp;nbsp;&lt;left 70&gt;&lt;right 70&gt;&amp;nbsp;&lt;border-width 0px&gt;&lt;top 0&gt;&lt;bottom 12&gt;&lt;left 0&gt;&lt;right 100&gt;&lt;background-color #ffbcd8&gt;Practice of Induced Abortion Methods&lt;background-color #bdc9df&gt;&lt;top 19&gt;&lt;bottom 29&gt;&lt;left 7.5&gt;&lt;right 20&gt;[[Manual vacuum aspiration|MVA]]&lt;left 40&gt;&lt;right 65&gt;[[Dilation and evacuation|Dilation and Evacuation]]&lt;top 38&gt;&lt;bottom 47&gt;&lt;left 15&gt;&lt;right 30&gt;[[Electric vacuum aspiration|EVA]]&lt;left 50&gt;&lt;right 75&gt;[[Hysterotomy]]&lt;left 15&gt;&lt;right 37.5&gt;&lt;top 56&gt;&lt;bottom 66&gt;[[Dilation and curettage|Dilation and Curettage]]&lt;left 50&gt;&lt;right 75&gt;[[Intact dilation and extraction|Intact D&amp;X]]&lt;left 7.5&gt;&lt;right 22.5&gt;&lt;top 74&gt;&lt;bottom 84&gt;[[Mifepristone]]&lt;left 40&gt;&lt;right 75&gt;[[Induced miscarriage|Induced Miscarriage]]&lt;left 0&gt;&lt;right 30&gt;&lt;background-color #b7e690&gt;&lt;top 90&gt;&lt;bottom 100&gt;[[first trimester|1st Trimester]]: 0-12 weeks&lt;left 30&gt;&lt;right 70&gt;&lt;background-color #dfe988&gt;[[second trimester|2nd Trimester]]: 12-28 weeks&lt;left 70&gt;&lt;right 100&gt;&lt;background-color #e9c788&gt;[[third trimester|3rd Trimester]]: 28-40 weeks}}&lt;/nowiki&gt;<br /> <br /> In this example:<br /> <br /> * Border-width 0 0 0 1px is applied to two divs at 30 and 70 which inherit the default 0 and 100 top and bottom values. These include a &amp;nbsp; each because if there is no text at all nothing is drawn (so you can specify multiple tags without drawing a div every time).<br /> <br /> * The next two divs are completely specified on top, bottom, left, right. The background-color sets the shade of each box. Wikilinks are brought in with the text itself.<br /> <br /> * Each row uses a &lt;nowiki&gt;&lt;top&gt; and &lt;bottom&gt;&lt;/nowiki&gt; that carries on to several divs in the row until they are reset.</div> Wnt