Template:NavTableCategory/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 9: Line 9:
</nowiki></code>
</nowiki></code>


Result:
Result (code):
<code>{{#tag:nowiki|{{NavTableCategory|tableTitle=Buildings|catName=Large Building|objects={{NavboxIconLink2|name=Command Center}}{{NavboxIconLink2|name=Human Warehouse}}}}}}</code>
<code>{{#tag:nowiki|{{NavTableCategory|tableTitle=Buildings|catName=Large Building|objects={{NavboxIconLink2|name=Command Center}}{{NavboxIconLink2|name=Human Warehouse}}}}}}</code>

Latest revision as of 06:54, 11 August 2025

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>