Template:BSLtableinfo: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(added platform icon display and sorting instructions so that user can sort by this column)
(restoring instructions for sorting platform icons (where did these go?))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><br />
<includeonly><br />
|-
|-
|{{{group}}}
{{#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 -->
|{{#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 "
                      -->}}<!--
                                      -->}}<!--
                      -->|{{#ifeq:{{{win|yes}}}|no|data-sort-value=" m" <!--if only Mac, sort as " m"
                                    -->|{{#ifeq:{{{win|yes}}}|no|data-sort-value=" m" <!--if only Mac, sort as " m"
                                              -->|data-sort-value="wm" <!--if both platforms, sort as "wm"
                                                              -->|data-sort-value="wm" <!--if both platforms, sort as "wm"
                      -->}}<!--
                                      -->}}<!--
-->}}|{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]]                                <!--if neither platform, show error icon
-->}}|{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]]                                <!--if neither platform, show error icon
                                                     -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Win, show Win and blank icon
                                                     -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Win, show Win and blank icon
Line 20: Line 20:
Translates information about a BSL function or variable into an entry in a table, in the format used on the [[:Category:Scripting tasks|Scripting tasks]] pages and on [[BSL:List]]. See [[BSL:Grouping]] for a complete explanation of the system.
Translates information about a BSL function or variable into an entry in a table, in the format used on the [[:Category:Scripting tasks|Scripting tasks]] pages and on [[BSL:List]]. See [[BSL:Grouping]] for a complete explanation of the system.


[[Category:General table templates]]</noinclude>
[[Category:Table templates]]</noinclude>

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.