Template:BSLtableinfo: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(okay, forgot that PAGENAME does not include the namespace prefix)
(restoring instructions for sorting platform icons (where did these go?))
 
(4 intermediate revisions by the same user not shown)
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}}}|{{{group}}}]]}} <!-- only supply Group column data if not on grouped page -->
|{{{kind}}}
|{{#ifeq:{{{kind}}}|func|data-sort-value="f"|data-sort-value="v"}}|{{#ifeq:{{{kind}}}|func|[[Image:Italic f.png]]|[[Image:Italic v.png]]}}
|{{{type}}}
|{{{type}}}
|{{{name}}}
|{{#ifeq:{{PAGENAME}}|{{{group}}}|[[#{{{name}}}|{{{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 "

Latest revision as of 16:55, 23 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.