Template:BSLtableinfo: Difference between revisions

From OniGalore
(using "f" and "v" images instead of "func" and "var" (those were always placeholders))
(replaced Pipe template with built-in {{!}} magic word)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><br />
<includeonly><br />
|-
|-
{{#ifeq:{{PAGENAME}}|{{{group}}}||{{Pipe}}[[BSL:{{{group}}}|{{{group}}}]]}} <!-- only supply Group column data if not on grouped page -->
{{#ifeq:{{PAGENAME}}|{{{group}}}||{{!}}[[BSL:{{{group}}}|{{{group}}}]]}} <!-- only supply Group column data if not on grouped page -->
|{{#ifeq:{{{kind}}}|func|[[Image:Italic f.png]]|[[Image:Italic v.png]]}}
|{{#ifeq:{{{kind}}}|func|data-sort-value="f"|data-sort-value="v"}}|{{#ifeq:{{{kind}}}|func|[[Image:Italic f.png]]|[[Image:Italic v.png]]}}
|{{{type}}}
|{{{type}}}
|{{#ifeq:{{PAGENAME}}|{{{group}}}|[[#{{{name}}}|{{{name}}}]]|[[{{{name}}}]]}} <!-- provide section link on grouped page and command page link on BSL:List -->
|{{#ifeq:{{PAGENAME}}|{{{group}}}|[[#{{{name}}}|{{{name}}}]]|[[{{{name}}}]]}} <!-- provide section link on grouped page and command page link on BSL:List -->

Latest revision as of 21:41, 22 April 2025

Translates information about a BSL function or variable into an entry in a table, in the format used on the Scripting tasks pages and on BSL:List. See BSL:Grouping for a complete explanation of the system.