Template:CatItem: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>NXTBoy
Test...
Line 1: Line 1:
<includeonly><div style="float:left; padding:2px; width:200px; height:100px; overflow:hidden; border:0px dashed #a1b4c8;">
<includeonly><div class="cat-item">
{|
{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}<span class="cat-item-content">
|style="width:50px"|{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}  
[[{{{2}}}|{{{3}}}]]<br />
|'''[[{{{2}}}|{{{3}}}]]'''
<small>{{{4}}}</small>
|}<small>{{{4}}}</small>
</span>
</div></includeonly><noinclude>
</div></includeonly><noinclude>


Line 13: Line 13:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>

Revision as of 09:16, 24 December 2010


The CatItem template gives you a simple interface to create a category in a list of items. In addition it scales to the width of the page when used properly, see the implementation on the Main Page.

{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}

Template:CatImage FAQ
Frequently Asked Questions