- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
Difference between revisions of "Template:Clear"
(do) |
m (Protected "Template:Clear" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="clear:both;"></div><noinclude>{{documentation}}</noinclude> | + | <div style="clear:{{{1|both}}};"></div><noinclude>{{documentation}}</noinclude> |
Latest revision as of 22:50, 28 November 2023
(view - edit - history - purge) Documentation
This template consists of <div style="clear:both;"></div>
{{clear}} makes the following content start below all previous content in all columns. It can be used to stop text from flowing next to unrelated images or sidebars.
In addition, the first parameter can be used to override "both"; for example, {{clear|left}} will force the following content to appear below floating content on the left side only. (See this page for more information.)
Use on creature pages
This template can often prevent misaligned raw and creature boxes caused by the sidebar at the left of creature pages.
Option 1, without {{clear}}
? | |
Biome | |
---|---|
Any location | |
Cannot be tamed | |
Butchering returns | |
Food items | |
Raw materials | |
There is too little information about this creature. |
Text
Text
Text
Text
This is a helper template that transcludes different templates based on the namespace of the page where it is included. The following templates are supported:
- Template:v50 creatures
- Template:DF2014 creatures
- Template:v0.34 creatures
- Template:Masterwork creatures
- Template:v0.31 creatures
- Template:40d creatures
- Template:23a creatures
Option 2, with {{clear}}
? | |
Biome | |
---|---|
Any location | |
Cannot be tamed | |
Butchering returns | |
Food items | |
Raw materials | |
There is too little information about this creature. |
Text
Text
Text
Text
This is a helper template that transcludes different templates based on the namespace of the page where it is included. The following templates are supported: