Template:CatItem: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer
No edit summary
>JulienDethurens
No edit summary
 
(45 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="float:left; padding:2px; width:200px; height:100px; overflow:hidden; border:0px dashed #a1b4c8;">
<includeonly><div class="cat-item" style="width: auto; height: auto; float: none; overflow: visible"><span style="display: inline-block">[[File:{{{1}}}|link={{{2}}}|48px|{{{3|}}}]]</span><!--
{|
    --><span class="cat-item-content"><!--
|style="width:50px"|{{CatImage || image={{{1}}} | link={{{2}}} | width=48px | height=48px}}  
        -->{{if|{{{external|}}}|[{{{2}}} {{{3|{{{2|}}}}}}]|[[{{{2}}}{{!}}{{{3|{{{2|}}}}}}]]}}<br><span style="font-size: smaller">{{{4|}}}</span></span></div></includeonly><noinclude>
|'''[[{{{2}}}|{{{3}}}]]'''
 
|}<small>{{{4}}}</small>
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]].
</div>
 
<pre>{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}</pre>
 
{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}
{{CatItem|Faq.PNG|FAQ|FAQ|Frequently Asked Questions}}
{{CatItem|Faq.PNG|FAQ|FAQ blah blah blah blah blah blah blah blah|Frequently Asked Questions}}
 
[[Category:Templates]]
</noinclude>

Latest revision as of 21:45, 23 March 2012


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
FAQFAQ
Frequently Asked Questions