|
|
Line 4: |
Line 4: |
| |attribute =<nowiki/> | | |attribute =<nowiki/> |
| ==== {{{name}}} ==== | | ==== {{{name}}} ==== |
| == test ==
| |
| === test ===
| |
| ==== test ====
| |
| {{#if: {{{mandatory|}}} |{{Feature|important|This attribute is mandatory for the control to work!}}}}
| |
| ; Type: [[TokenNameValueTypes|{{{type1}}}]]{{#if: {{{type2|}}} | , [[TokenNameValueTypes|{{{type2}}}]]}}{{#if: {{{type3|}}} | , [[TokenNameValueTypes|{{{type3}}}]]}}{{#if: {{{type4|}}} | , [[TokenNameValueTypes|{{{type4}}}]]}}
| |
| ; Description: {{#if: {{{description|}}}|{{{description}}}|n/a}}
| |
| {{#if: {{{type2|}}}|{{{type1}}} example:}}
| |
| {{#tag:syntaxhighlight|{{#switch: {{{type1}}}
| |
| | Array = {{{name}}}[] = {{{value1}}};
| |
| | Class = {{{value1}}}
| |
| | {{{name}}} {{=}} {{{value1}}};
| |
| }}|lang="cpp"}}
| |
| {{#if: {{{type2|}}}|{{{type2}}} example:
| |
| {{#tag:syntaxhighlight|{{#switch: {{{type2}}}
| |
| | Array = {{{name}}}[] = {{{value2}}};
| |
| | Class = {{{value2}}}
| |
| | {{{name}}} {{=}} {{{value2}}};
| |
| }}|lang=cpp}}}}
| |
| {{#if: {{{type3|}}}|{{{type3}}} example:
| |
| {{#tag:syntaxhighlight|----
| |
| {{#switch: {{{type3}}}
| |
| | Array = {{{name}}}[] = {{{value3}}};
| |
| | Class = {{{value3}}}
| |
| | {{{name}}} {{=}} {{{value3}}};
| |
| }}|lang=cpp}}}}
| |
| {{#if: {{{type4|}}}|{{{type4}}} example:
| |
| {{#tag:syntaxhighlight|----
| |
| {{#switch: {{{type4}}}
| |
| | Array = {{{name}}}[] = {{{value4}}};
| |
| | Class = {{{value4}}}
| |
| | {{{name}}} {{=}} {{{value4}}};
| |
| }}|lang=cpp}}}}
| |
| }} | | }} |
| </includeonly><noinclude> | | </includeonly><noinclude> |
Line 43: |
Line 11: |
| {{User:Lou Montana/Sandbox|attribute | | {{User:Lou Montana/Sandbox|attribute |
| | name=testClass | | | name=testClass |
| | type1=Class
| |
| | value1=class ComboScrollBar
| |
| {
| |
| color[] = {1,1,1,1};
| |
| colorActive[] = {1,1,1,1};
| |
| colorDisabled[] = {1,1,1,0.3};
| |
| thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
| |
| arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
| |
| arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
| |
| border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
| |
| shadow = 0;
| |
| scrollSpeed = 0.06;
| |
| width = 0;
| |
| height = 0;
| |
| autoScrollEnabled = 0;
| |
| autoScrollSpeed = -1;
| |
| autoScrollDelay = 5;
| |
| autoScrollRewind = 0;
| |
| };
| |
| | type2=Number
| |
| | value2=9876
| |
| | description=This is a test class to test classes.
| |
| }} | | }} |
| </noinclude> | | </noinclude> |