Reference »

Category Buttons Listing

To get a listing of your wiki’s categories, displayed as a block of buttons (like on the front page of this wiki)…

… place the following code wherever you want the listing block:

>>rfloat frame category-buttons-block<<
(:pagelist group=Category list=normal fmt=#bygroup-titlespaced :)
>><<

And put the following CSS in any appropriate place:

.category-buttons-block {
margin-bottom:30px;
margin-top: 10px;
}
.category-buttons-block .fpltemplate {
margin: 0;
}
.category-buttons-block .fpltemplate dt,
.category-buttons-block .fpltemplate dd {
display: inline-block;
}
.category-buttons-block .fpltemplate dd:first-of-type {
margin: 0;
}
.category-buttons-block .fpltemplate dd:nth-of-type(n+2) {
margin-left: 8px;
margin-bottom: 8px;
}
.category-buttons-block .fpltemplate dd a {
border-radius: 4px;
background-color: #f0f5fa;
border: 1px solid #c5d6e9; 
padding: 2px 7px 3px 7px; 
display: inline-block; 
}
.category-buttons-block .fpltemplate dd a:hover {
background-color: #d5e7fa;
text-decoration: none;
}