Template:-

From LAH Wiki
Jump to: navigation, search


This is a protected template, because its use is so basic there's no reason to edit it. Questions about its use that are not covered by this explanation, or suggestions for this tutorial, should be directed to this template's talk page.


The {{-}} template is used to fix layout issues with tables, images and templates.

Here is an example of what it can be used for.

Example

My Avvie

Problem

This is a table to show you the problem. You can see that the text ends up running under the image, and is ultimately pretty damn ugly.

Text outside of tables should wrap normally around images, but tables, including templates using them, and first level headings (like the one that says "Example" above), won't. The headings aren't usually an issue, but tables and templates can be.


Solution

My Avvie


With the template in place between image and table, the table is clear of the image

Unfortunately, it also creates this large space which isn't very aesthetic. It is more desireable to place images, templates and tables in places where they won't conflict with eachother, but in some cases this isn't an option.

Personal tools