Template:Block: Difference between revisions
Nikitaivanov (talk | contribs) No edit summary |
(Added Folder label to the template) |
||
Line 6: | Line 6: | ||
|label2=Collider | |label2=Collider | ||
|data2={{#switch:{{{collider}}}|b=Box|s=Sphere|#default=None}} | |data2={{#switch:{{{collider}}}|b=Box|s=Sphere|#default=None}} | ||
| | |label3={{#if:{{{folder|}}}|Folder}} | ||
| | |data3={{#switch:{{{folder}}} | ||
| | |terrain=Terrain | ||
|templates=Templates | |||
|decor=Decor | |||
|game=Game | |||
|objects=Objects | |||
|sound=Sound | |||
|physics=Physics | |||
|control=Control | |||
|math=Math | |||
|values=Values | |||
|variables=Variables | |||
}} | |||
|header4=Ports | |||
|label4={{#if:{{{input1|}}}|Inputs}} | |||
|data4={{ | |||
#if:{{{input1|}}}|{{{input1}}}</br>}}{{ | #if:{{{input1|}}}|{{{input1}}}</br>}}{{ | ||
#if:{{{input2|}}}|{{{input2}}}</br>}}{{ | #if:{{{input2|}}}|{{{input2}}}</br>}}{{ | ||
Line 14: | Line 28: | ||
#if:{{{input4|}}}|{{{input4}}}</br>}}{{ | #if:{{{input4|}}}|{{{input4}}}</br>}}{{ | ||
#if:{{{input5|}}}|{{{input5}}}</br>}} | #if:{{{input5|}}}|{{{input5}}}</br>}} | ||
| | |label5={{#if:{{{output1|}}}|Outputs}} | ||
| | |data5={{ | ||
#if:{{{output1|}}}|{{{output1}}}</br>}}{{ | #if:{{{output1|}}}|{{{output1}}}</br>}}{{ | ||
#if:{{{output2|}}}|{{{output2}}}</br>}}{{ | #if:{{{output2|}}}|{{{output2}}}</br>}}{{ | ||
Line 26: | Line 40: | ||
|image=Absolute.png | |image=Absolute.png | ||
|type=s | |type=s | ||
|folder=math | |||
|input1={{Port|n}} | |input1={{Port|n}} | ||
|output1={{Port|n}} | |output1={{Port|n}} | ||
}} | }} | ||
</noinclude> | </noinclude> |