v50 Steam/Premium information for editors
  • 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.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Clear/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(move documentation)
 
(update)
Line 6: Line 6:
  
 
This template can often prevent misaligned raw and creature boxes caused by the sidebar at the left of 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 <nowiki>{{clear}}</nowiki>===
 +
 +
{{creatureInfo v0.34|name=Animal 1}}
 +
<div style="height: 25em;">
 +
Text
 +
 +
Text
 +
 +
Text
 +
 +
Text
 +
</div>
 +
{{gamedata}}
 +
{{creatures}}
 +
 +
 +
----
 +
 +
 +
===Option 2, with <nowiki>{{clear}}</nowiki>===
 +
 +
{{creatureInfo v0.34|name=Animal 2}}
 +
<div style="height: 25em;">
 +
Text
 +
 +
Text
 +
 +
Text
 +
 +
Text
 +
</div>
 +
{{clear}}
 +
{{gamedata}}
 +
{{creatures}}

Revision as of 20:32, 14 March 2013

This template literally consists of <div style="clear:both;"></div>

{{clear}} Makes the following content start below all previous content in all columns. Often used to stop text from flowing next to unrelated images.

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}}

Animal 1

?

Biome

Any location

Cannot be tamed
Butchering returns

Food items

Raw materials

There is too little information about this creature.
Please contribute if you can!

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:




Option 2, with {{clear}}

Animal 2

?

Biome

Any location

Cannot be tamed
Butchering returns

Food items

Raw materials

There is too little information about this creature.
Please contribute if you can!

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: