Changes

Jump to navigation Jump to search
m
Line 1: Line 1: −
<!-- Introduction. What does this software do? Whom is it for? -->
+
{{Infobox software
Introduction.
+
| name                  = Software name
 +
| logo                  = placeholder.png
 +
| screenshot            =
 +
| caption                = Software version X.X running on Windows X
 +
| developer              =
 +
| released              = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
 +
| discontinued          =
 +
| latest release version =
 +
| latest release date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
 +
| latest preview version =
 +
| latest preview date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
 +
| installed version      =
 +
| installed version date = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
 +
| status                = Active
 +
| programming language  = Ruby
 +
| operating system      = Microsoft Windows, Linux, MacOSX
 +
| platform              =
 +
| size                  =
 +
| language              =
 +
| genre                  =
 +
| license                = [http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0]
 +
| website                = [https://about.gitlab.com/ www.gitlab.nl]
 +
| resources              =
 +
  {{Infobox tsg
 +
    | child              = yes
 +
    | downloads          = {{bulleted list
 +
        | [http://www.ru.nl Some Download link]
 +
        | [http://www.ru.nl Some other Download link]
 +
    }}
 +
    | manuals            = {{bulleted list
 +
        | [http://www.ru.nl Quick start guide]
 +
    }}
 +
  }}
 +
}}
 +
 
 +
Introduction. What does this software do? Who are the intended users?
    
<!-- Table of Contents will be generated here -->
 
<!-- Table of Contents will be generated here -->
Line 6: Line 41:  
==Features==
 
==Features==
 
This software is made to do this, it has these unique selling points:
 
This software is made to do this, it has these unique selling points:
* Feature 1<ref>Some reference</ref>
+
* Feature 1
 
* Feature 2
 
* Feature 2
 
* Feature 3
 
* Feature 3
Line 14: Line 49:  
* Intel Core 2 Duo E8600 or higher.
 
* Intel Core 2 Duo E8600 or higher.
 
* Python
 
* Python
      
==Installation==
 
==Installation==
   
===Windows 7 64-bit===
 
===Windows 7 64-bit===
 
#Step 1
 
#Step 1
 
#Step 2
 
#Step 2
 
#Step 3
 
#Step 3
      
==Configuration==
 
==Configuration==
 
General settings.
 
General settings.
 +
For CMD commands, you can use this format:<br/>
 +
{{cmdline|ping 127.0.0.1 -n 50 -l 1024}}
    +
=== License ===
 +
License setup.
    
==Usage==
 
==Usage==
 
Templates and how-to's go here.
 
Templates and how-to's go here.
   −
 
+
===Python===
===Template===
      
<syntaxhighlight lang="python" line>
 
<syntaxhighlight lang="python" line>
#!/usr/bin/env python
+
#In the syntaxhighlight tag, change lang value to desired language.
 
+
#For the list of supported languages, see http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages
# import psychopy and rusocsci
  −
from psychopy import core, visual
  −
from rusocsci import buttonbox
     −
## Setup Section
+
def main():
win = visual.Window(monitor="testMonitor")
+
    """Lots of useless code here."""
bb = buttonbox.Buttonbox()
+
    if True:
text = visual.TextStim(win, "Press a button on the buttonbox")
+
        print "Hello, world!"
 +
        return None # Explicitly returning None!
 +
    else:
 +
        raise Exception
 +
 +
if __name__ == "__main__":
 +
    main()
 +
</syntaxhighlight><br/>
   −
## Experiment Section
+
<!-- Room for extra headers, like ==Course==, or ==Troubleshooting== -->
# show text
  −
text.draw()
  −
win.flip()
  −
# wait for response
  −
b = bb.waitButtons()
  −
# show response
  −
text.setText("you pressed: {}".format(b))
  −
text.draw()
  −
win.flip()
  −
core.wait(5)
  −
 
  −
## Cleanup Section
  −
core.quit()
  −
</syntaxhighlight>
      
==See Also== <!-- Optional -->
 
==See Also== <!-- Optional -->
*[[Meta:Templates/Hardware]]
+
*[[Project:Samples/Hardware|Samples/Hardware]]
 +
*{{tl|Infobox_software}}
 +
*{{tl|Infobox_tsg}}
    +
==References== <!-- Optional, include only if <ref> tags are used in the article. -->
 +
<references />
   −
<!-- Future content
+
==External Links== <!-- Optional -->
==Notes==
+
*{{Official website|https://about.gitlab.com/}}
{{reflist|group=note}}
+
*[http://tsgdoc.socsci.ru.nl tsgdoc]&nbsp;– Technical documentation.
-->
  −
 
  −
==References==
  −
<references />
 

Navigation menu