Template:CatItem/new: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Removed unwanted line breaks
>NXTBoy
line breaks
 
(10 intermediate revisions by the same user not shown)
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"><!--
<div><span style="display: inline-block; vertical-align: center">{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}</span> [[{{{2}}}|{{{3}}}]]</div>
-->{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}<span class="cat-item-content"><!--
<small>{{{4}}}</small></div></includeonly><noinclude>
-->[[{{{2}}}|{{{3}}}]]<br />
<small>{{{4}}}</small>
</span><!--
--></div></includeonly><noinclude>


{{CatItem/new|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}
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]].
 
<pre>{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}</pre>
 
{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}


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

Latest revision as of 09:20, 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}}
FAQFAQ
Frequently Asked Questions