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"
Jump to navigation
Jump to search
m (-border) |
m (Protected "Template:Catbox": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
<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> | ||
− | <div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[Image:catback.png]]</div> | + | <div style="position: absolute; top: 0px; left: 0px; z-index: 2;">[[Image:catback.png|link=:Category:{{{1|{{FULLPAGENAME}}}}}]]</div> |
</div> | </div> | ||
− | </th></tr></table> | + | </th></tr></table><noinclude>Usage: |
− | <noinclude>Usage: | ||
− | <nowiki>{{catbox | | + | <nowiki>{{catbox | cat}}</nowiki> creates a floating box linked to category "cat". (specifically, <nowiki>[[:Category:</nowiki>''cat'']]) |
− | <nowiki>{{catbox}}</nowiki> creates a floating box linked to the category with the same name as the current page | + | <nowiki>{{catbox}}</nowiki> creates a floating box linked to the category with the same name as the current page (including namespace). |
− | </noinclude> | + | </noinclude><noinclude>[[Category:Navigation templates]]</noinclude> |
Latest revision as of 22:34, 28 November 2023
Usage:
{{catbox | cat}} creates a floating box linked to category "cat". (specifically, [[:Category:cat]])
{{catbox}} creates a floating box linked to the category with the same name as the current page (including namespace).