Template:CatItem: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy Added support for external links |
>NXTBoy Duh |
||
Line 1: | Line 1: | ||
<includeonly><div class="cat-item"> | <includeonly><div class="cat-item"> | ||
{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}<span class="cat-item-content"> | {{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}<span class="cat-item-content"> | ||
{{if|{{{external|}}}|[{{{2}}} {{{3}}}]|[[{{{2}}}{{ | {{if|{{{external|}}}|[{{{2}}} {{{3}}}]|[[{{{2}}}{{!}}{{{3}}}]]}}<br /> | ||
<small>{{{4}}}</small> | <small>{{{4}}}</small> | ||
</span> | </span> |
Revision as of 09:33, 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