Template:BSLtableinfo: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(+docs)
(added platform icon display and sorting instructions so that user can sort by this column)
Line 4: Line 4:
|{{{kind}}}
|{{{kind}}}
|{{{type}}}
|{{{type}}}
|{{{name}}}</includeonly><noinclude>
|{{{name}}}
|{{#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 "
                      -->}}<!--
                      -->|{{#ifeq:{{{win|yes}}}|no|data-sort-value=" m" <!--if only Mac, sort as " m"
                                              -->|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
                                                    -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-empty.png|20px]] <!--if only Win, show Win and blank icon
                            -->}}<!--
                          -->|{{#ifeq:{{{win|yes}}}|no|[[Image:Platform-empty.png|20px]] [[Image:Platform-Mac.png|20px]] <!--if only Mac, show blank and Mac icon
                                                    -->|[[Image:Platform-Win.png|20px]] [[Image:Platform-Mac.png|20px]]  <!--if both platforms, show both icons
                            -->}}<!--
  -->}}</includeonly><noinclude>
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:General table templates]]</noinclude>

Revision as of 20:33, 13 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.