Template:NavTableCategory: Difference between revisions

Template page
(Created page with " <includeonly> <tr> <td>[[{{{tableTitle|}}}#{{{catName|}}}]]</td> <td> <div class="navbox-group"> {{{objects|}}} </div> </td> </tr> </includeonly> <noinclude>{{Documentation}}</noinclude>")
 
No edit summary
Line 2: Line 2:
<includeonly>
<includeonly>
<tr>
<tr>
     <td>[[{{{tableTitle|}}}#{{{catName|}}}]]</td>
     <td>[[{{{tableTitle|}}}#{{{catName|}}}|{{{catName|}}}]]</td>
     <td>
     <td>
       <div class="navbox-group">
       <div class="navbox-group">

Revision as of 02:03, 6 August 2025


Documentation

Description

Returns an html table row [ category | objects ]

Example

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)