Template:Container category: Difference between revisions

From BitProjects
Jump to navigation Jump to search
Sources>Sardanaphalus
added rhs option
Sources>Sardanaphalus
Set a cmbox height just over minimum used by link boxes (such as {{Commons cat}}) that maybe included via rhs parameter
Line 1: Line 1:
<table class="mw-stack"<!--(see {{Stack}})--> style="width:100%;margin:0;padding:0;">
<table class="mw-stack"<!--(see {{Stack}})--> style="width:100%;margin:0;padding:0;">
  <tr><td> {{{rhs|}}} {{Cmbox |type=notice |text=This is a '''[[:Category:Container categories|container category]]'''. It should contain ''only'' [[Wikipedia:SUBCAT|subcategories]].}} </td></tr>
  <tr><td> {{{rhs|}}} {{Cmbox |style=height:52px<!--(just over minimum used by link boxes that may be included via {{{rhs}}})-->; |type=notice |text=This is a '''[[:Category:Container categories|container category]]'''. It should contain ''only'' [[Wikipedia:SUBCAT|subcategories]].}} </td></tr>
</table><includeonly>{{#ifeq:{{lc:{{{nocat|false}}}}}|false
</table><includeonly><!--
                      | {{Single namespace|category|{{{category|[[Category:Container categories]]}}}}}
-->{{#ifeq:{{lc:{{{nocat|false}}}}}|false
                      | <!--(category suppressed-->
    | {{Single namespace|category|{{{category|[[Category:Container categories]]}}}}}
                    }}<!--
    | <!--(category suppressed-->
    }}<!--
     --></includeonly><noinclude>
     --></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 01:07, 3 July 2014

<templatestyles src="Module:Message box/cmbox.css"></templatestyles>

Template:Documentation