![]() | This is the template test cases page for the sandbox of Template:Wikisource-multi. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Objective
editFix collision with Template:MultiCol
Note: the basis for this problem is explained here. Elements positioned outside of the normal HTML flow can overlap with one another as seen here.
Wikisource-multi, like Template:Wikisource, invokes Template:Side box which begins with a <table class="mbox-small"> (or "mbox-small-left"). This is defined at [1]:
- body.mediawiki table.mbox-small { /* For the "small=yes" option. */
- clear: right;
- float: right;
- margin: 4px 0 4px 1em;
- width: 238px;
- font-size: 88%;
- line-height: 1.25em;
}
- body.mediawiki table.mbox-small-left { /* For the "small=left" option. */
- margin: 4px 1em 4px 0;
- width: 238px;
- border-collapse: collapse;
- font-size: 88%;
- line-height: 1.25em;
}
Template:MultiCol begins a default WikiTable with settings: {| width="{{{1|100%}}}" border="0" cellspacing="0" cellpadding="0" style="background-color:transparent;table-layout:fixed;"
Cheating
editIn which the MultiCol is replaced by the template contents with the style "clear: right;" set.
Treaties
editThe primary legislation, or treaties, are effectively the constitutional law of the European Union. They are created by governments from all EU Member States acting by consensus. They lay down the basic policies of the Union, establish its institutional structure, legislative procedures, and the powers of the Union. The Treaties that make up the primary legislation include:
|
The various annexes and protocols attached to these Treaties are also considered a source of primary legislation.
Testing sandbox version
edit{{../sandbox|Consolidated version of the Treaty on European Union|Consolidated version of the Treaty on the Functioning of the European Union}}
Treaties
editThe primary legislation, or treaties, are effectively the constitutional law of the European Union. They are created by governments from all EU Member States acting by consensus. They lay down the basic policies of the Union, establish its institutional structure, legislative procedures, and the powers of the Union. The Treaties that make up the primary legislation include:
|
|
The various annexes and protocols attached to these Treaties are also considered a source of primary legislation.
Testing main template
edit{{Wikisource-multi|Consolidated version of the Treaty on European Union|Consolidated version of the Treaty on the Functioning of the European Union}}
Treaties
editThe primary legislation, or treaties, are effectively the constitutional law of the European Union. They are created by governments from all EU Member States acting by consensus. They lay down the basic policies of the Union, establish its institutional structure, legislative procedures, and the powers of the Union. The Treaties that make up the primary legislation include:
|
|
The various annexes and protocols attached to these Treaties are also considered a source of primary legislation.