Template:NavTableCategory: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 1: Line 1:


<includeonly>
<includeonly>
<tr>
<tr><td>[[{{{tableTitle|}}}#{{{catName|}}}|{{{catName|}}}]]</td><td><div class="navbox-group">{{{objects}}}</div></td></tr>
    <td>[[{{{tableTitle|}}}#{{{catName|}}}|{{{catName|}}}]]</td>
    <td>
      <div class="navbox-group"><!--
      -->{{{objects}}}<!--
  --></div>
    </td>
</tr>
</includeonly>
</includeonly>


<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 03:22, 6 August 2025


Documentation

Description[edit source]

Returns an html table row [ category | objects ]

Example[edit source]

Usage: {{NavTableCategory|tableTitle=Buildings|catName=Large Building|objects={{NavboxIconLink2|Command Center}}{{NavboxIconLink2|name=Human Warehouse}}}}

Result (code):

<tr><td>[[Buildings#Large Building|Large Building]]</td><td><div class="navbox-group"><div>[[File:Command_Center.png|32px|link=Command Center|alt=Command Center]][[Command Center]]</div><div>[[File:Human_Warehouse.png|32px|link=Human Warehouse|alt=Human Warehouse]][[Human Warehouse]]</div></div></td></tr>

The above Template documentation is transcluded from Template:NavTableCategory/doc. (edit | history)