Template:BSLtableinfo: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(do we need Pipe now that this table markup is in a separate template?)
(restoring instructions for sorting platform icons (where did these go?))
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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}}}<noinclude>
|{{#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 "  "
                                                              -->|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.


[[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.