Template:BSLvarinfo: Difference between revisions

dropping font size down to regular size, but bold; removing platform icons; moving [edit] to top-right
(separate classes for vars and funcs now)
(dropping font size down to regular size, but bold; removing platform icons; moving [edit] to top-right)
Line 2: Line 2:
{| class="BSLVarInfo"
{| class="BSLVarInfo"
|-
|-
|[[{{{name}}}|[edit]]]
|align="right"|[[{{{name}}}|[edit]]]
|-
|-
|{{#ifeq:{{{mac|yes}}}|no|{{#ifeq:{{{win|yes}}}|no|[[Image:Cmbox deletion.png|20px]]                                <!--if neither platform, show error icon
|'''{{{name|}}} = {{#ifeq:{{{type|int}}}|int|{{{default|0}}}|{{#ifeq:{{{type}}}|float|{{{default|0.0}}}|{{#ifeq:{{{type}}}|bool|{{{default|true}}}|{{{default|""}}} }} }} }};'''
                                              -->|[[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
                      -->}}<!--
-->}}
|style="font-size:166%; vertical-align:bottom"|{{{name|}}} = {{#ifeq:{{{type|int}}}|int|{{{default|0}}}|{{#ifeq:{{{type}}}|float|{{{default|0.0}}}|{{#ifeq:{{{type}}}|bool|{{{default|true}}}|{{{default|""}}} }} }} }};
|}</includeonly><noinclude>'''BSLvarinfo''' allows for standardized listing of BSL variables.
|}</includeonly><noinclude>'''BSLvarinfo''' allows for standardized listing of BSL variables.