Difference between revisions of "Template:MainPageNav"

From RimWorld Wiki
Jump to navigation Jump to search
(Autoheight should (should work), otherwise needs to be bumped to 125px)
(Auto height was not ideal.)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="border:1px solid #A8A8AC; background:#EAECF2; color:#000; overflow: auto; display:flex;">
+
<div style="min-height:125px;border:1px solid #A8A8AC; background:#EAECF2; color:#000; overflow: auto; display:flex;">
 
<div style="float:left; border-right:1px solid #ACA8A8;" >
 
<div style="float:left; border-right:1px solid #ACA8A8;" >
 
<div style="font-size:16px; background:#D9DBE2; color:#000;padding: 4px; margin-top: -4px; margin-bottom: -4px; overflow: hidden; white-space: nowrap;">
 
<div style="font-size:16px; background:#D9DBE2; color:#000;padding: 4px; margin-top: -4px; margin-bottom: -4px; overflow: hidden; white-space: nowrap;">

Revision as of 05:00, 11 December 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

This is a template for special navigation boxes on the main page.

Usage

{{MainPageNav
|Link=https://rimworldwiki.com/wiki/Animals
|Label=Cute Animals
|Image=Chinchilla.png
|Col1=
▪ [[Husky]]<br>
▪ [[Labrador retriever]]<br>
▪ [[Yorkshire terrier]]<br>
▪ [[Snowhare]]<br>
|Col2=
▪ [[Guinea pig]]<br>
▪ [[Chinchilla]]<br>
▪ [[Cat]]
}}

produces: