Template:Node list/entry: Difference between revisions
Appearance
Created page with "<includeonly>{{#tag:tr|{{#tag:td|[[File:{{trim|{{{icon}}}}}.png{{!}}link={{trim|{{{link}}}}}{{!}}{{trim|{{{name}}}}}]]|style=text-align:center}}{{#tag:td|{{trim|{{{name}}}}}..." |
Use "link" parameter for icon and text link |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:tr|{{#tag:td|[[File:{{trim|{{{icon}}}}}.png{{!}}link={{trim|{{{link}}}}}{{!}}{{trim|{{{name}}}}}]]|style=text-align:center}}{{#tag:td|[[{{trim|{{{name}}}}}]]}}}}</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>{{#tag:tr|{{#tag:td|[[File:{{trim|{{{icon}}}}}.png{{!}}link={{trim|{{{link}}}}}{{!}}{{trim|{{{name}}}}}]]|style=text-align:center}}{{#tag:td|[[{{trim|{{{link}}}}}{{!}}{{trim|{{{name}}}}}]]}}}}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 06:26, 12 August 2024
This documentation is transcluded from Template:Node list/entry/doc (history).
Creates an entry for Template:Node list.
Usage
This template supports both named and unnamed parameters:
Parameter | Description | |
---|---|---|
icon | 1 | Node icon |
link | 2 | Link to the node page |
name | 3 | Display name |
Example
<table class="wikitable"> {{node list/entry|icon=Build Array.png|link=Build Array function|name=Build Array}} </table>
Build Array | Build Array |
<table class="wikitable"> {{node list/entry|Build Array.png|Build Array function|Build Array}} </table>
[[File:{{{icon}}}.png|link={{{link}}}|{{{name}}}]] | [[{{{link}}}|{{{name}}}]] |