Jump to content

Template:BSLvarinfo: Difference between revisions

trying a different format for variable listings which is more compact vertically and which only implies the type rather than stating it
m (/cat)
(trying a different format for variable listings which is more compact vertically and which only implies the type rather than stating it)
Line 9: Line 9:
                       -->}}<!--
                       -->}}<!--
-->}}
-->}}
|style="font-size:166%; vertical-align:bottom"|{{{name|}}}
|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|""}}} }} }} }};
|-
|default:
|{{#ifeq:{{{type|}}}|string|"{{{default|}}}"|({{{type|}}}) {{{default|}}} }}
|}</includeonly><noinclude>'''BSLvarinfo''' allows for standardized listing of BSL variables.
|}</includeonly><noinclude>'''BSLvarinfo''' allows for standardized listing of BSL variables.