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:Catbox"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(created)
 
m (-border)
Line 1: Line 1:
<table class="listlinkbox noprint" style="float: right; border: 1px solid #aaa; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;">
+
<table class="listlinkbox noprint" style="float: right; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; text-align: center;"><tr><th style="border: none; background: transparent;">
 
<div style="position: relative; width: 84px; height: 94px; overflow: hidden;">
 
<div style="position: relative; width: 84px; height: 94px; overflow: hidden;">
 
<div style="position: absolute; top: 16px; left: 0px; width:84px; overflow: hidden; z-index: 3;">[[:Category:{{{1|{{FULLPAGENAME}}}}}|View the<br>related<br>category]]</div>
 
<div style="position: absolute; top: 16px; left: 0px; width:84px; overflow: hidden; z-index: 3;">[[:Category:{{{1|{{FULLPAGENAME}}}}}|View the<br>related<br>category]]</div>

Revision as of 19:14, 15 April 2013

Usage:

{{catbox | category}} creates a floating box linked to the given category.

{{catbox}} creates a floating box linked to the category with the same name as the current page