Template:BSLtableinfo: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(okay, forgot that PAGENAME does not include the namespace prefix)
(linking to grouped page in BSL:List table; linking to command's section anchor on grouped page; linking to command's page in BSL:List table)
Line 1: Line 1:
<includeonly><br />
<includeonly><br />
|-
|-
{{#ifeq:{{PAGENAME}}|{{{group}}}||{{Pipe}}{{{group}}}}} <!-- only supply Group column data if not on grouped page -->
{{#ifeq:{{PAGENAME}}|{{{group}}}||{{Pipe}}[[BSL:{{{group}}}]]}} <!-- only supply Group column data if not on grouped page -->
|{{{kind}}}
|{{{kind}}}
|{{{type}}}
|{{{type}}}
|{{{name}}}
|{{#ifeq:{{PAGENAME}}|{{{group}}}|[[#{{{name}}}]]|[[{{{name}}}]]}} <!-- provide section link on grouped page and command page link on BSL:List -->
|align="center" {{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|data-sort-value="  " <!--if neither platform, sort as "  "
|align="center" {{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|data-sort-value="  " <!--if neither platform, sort as "  "
                                                               -->|data-sort-value="w " <!--if only Win, sort as "w "
                                                               -->|data-sort-value="w " <!--if only Win, sort as "w "

Revision as of 13:59, 21 December 2015

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.