Difference between revisions of "Meta:Samples/Software"

From TSG Doc
Jump to navigation Jump to search
 
(60 intermediate revisions by 2 users not shown)
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>
 +
#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
  
<syntaxhighlight lang="html4strict" line>
+
def main():
<!DOCTYPE html>
+
    """Lots of useless code here."""
<html lang="en">
+
     if True:
<head>
+
        print "Hello, world!"
    <meta charset="UTF-8">
+
        return None # Explicitly returning None!
     <title>Sky Islands v0.2</title>
+
     else:
    <meta name="description" content="">
+
        raise Exception
     <meta name="viewport" content="width=device-width">
+
     <link rel="stylesheet" href="css/main.css">
+
if __name__ == "__main__":
</head>
+
     main()
 +
</syntaxhighlight><br/>
  
<body>
+
<!-- Room for extra headers, like ==Course==, or ==Troubleshooting== -->
  <div id="container">
 
      <div id="game-wrapper">
 
          <div id="game-canvas-wrapper"></div>
 
          <div id="game-gui"></div>
 
          <div id="game-dialog"></div>
 
          <div id="game-playerstats">
 
              <div id="player-avatar-container"><img id="player-avatar" src="res/avatar/f001.png" /></div>
 
              <div id="player-stats">
 
                  <div id="player-resources">
 
                      <ul>
 
                          <li id="player-resource1" class="player-resource">0</li>
 
                      </ul>
 
                  </div>
 
                  <div id="player-name">
 
                      <p id="player-name-tag"></p>
 
                  </div>
 
              </div>
 
          </div>
 
          <div id="game-powers">
 
              <div id="power1" class="power"></div>
 
              <div id="power2" class="power"></div>
 
          </div>
 
          <div id="game-menu">
 
              <div id="menu-start" class="menu-full">
 
                  <div id="start-buttons">
 
                      <ul>
 
                          <li id="start-button-start" onclick="onStart()">New Game</li>
 
                      </ul>
 
                  </div>
 
              </div>
 
              <div id="menu-avatar-select" class="menu-ingame">
 
                  <div id="avatar-selector">
 
                      <p>Select Avatar</p>
 
                      <div class="avatar-menu" onclick="onAvatar(0)"><img src="res/avatar/f001.png" /></div>
 
                      <div class="avatar-menu" onclick="onAvatar(1)"><img src="res/avatar/m001.png" /></div>
 
                  </div>
 
                  <div id="avatar-form-container">
 
                    <p>Enter Name</p>
 
                      <form>
 
                          <input type="text" id="menu-name-input" />
 
                          <br/><br/>
 
                          <input type="button" id="menu-name-submit" value="Continue" onclick="onAvatarSelect()" />
 
                      </form>
 
                  </div>
 
              </div>
 
              <div id="menu-level-select" class="menu-ingame">
 
                  <ul>
 
                      <li id="menu-level-1" class="menu-level-unlocked" onclick="onLevelSelect(1)">Level 1</li>
 
                      <li id="menu-level-2" class="menu-level-locked">???</li>
 
                      <li id="menu-level-3" class="menu-level-locked">???</li>
 
                      <li id="menu-level-4" class="menu-level-locked">???</li>
 
                  </ul>
 
              </div>
 
              <div id="menu-gameover" class="menu-ingame">
 
                  <p>Oh no! You have lost an island!</p>
 
 
 
                  <p><a onclick="onRetry()">Try Again</a></p>
 
                  <p><a onclick="onBackToMenu()">Back to Menu</a></p>
 
              </div>
 
              <div id="menu-win" class="menu-ingame">
 
                  <p>Congratulations! You are awesome!</p>
 
                  <p><a onclick="onRetry()">Play Again</a></p>
 
                  <p><a onclick="onBackToMenu()">Next Level</a></p>
 
                  </div>
 
              <div id="menu-timeup" class="menu-full">Je bent nu klaar met dit onderdeel. Ga naar het volgende onderdeel door dit pop-up venster te sluiten, door middel van het rode kruisje.</div>
 
              <div id="menu-tutorial" class="menu-full">
 
                  <div id="menu-tutorial-button">
 
                      <p onclick="pause()">Continue</p>
 
                  </div>
 
              </div>
 
              <div id="menu-pause-button" onclick="pause()"><p>||</p></div>
 
          </div>
 
 
 
          <div id="debug">Version 0.2.3.2</div>
 
 
 
      </div>
 
  </div>
 
 
 
  <script type="text/javascript" src="js/resources.min.js"></script>
 
  <script type="text/javascript" src="js/sprite.min.js"></script>
 
  <script type="text/javascript" src="js/game.min.js"></script>
 
</body>
 
</html>
 
 
 
 
 
</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 />
 

Latest revision as of 15:12, 7 March 2024

Software name
Placeholder.png
Development statusActive
Written inRuby
Operating systemMicrosoft Windows, Linux, MacOSX
LicenseCreative Commons Attribution-ShareAlike 4.0
Websitewww.gitlab.nl
Downloads
Manuals

Introduction. What does this software do? Who are the intended users?


Features

This software is made to do this, it has these unique selling points:

  • Feature 1
  • Feature 2
  • Feature 3

Requirements

  • Microsoft Windows XP or later.
  • Intel Core 2 Duo E8600 or higher.
  • Python

Installation

Windows 7 64-bit

  1. Step 1
  2. Step 2
  3. Step 3

Configuration

General settings. For CMD commands, you can use this format:
ping 127.0.0.1 -n 50 -l 1024

License

License setup.

Usage

Templates and how-to's go here.

Python

 1#In the syntaxhighlight tag, change lang value to desired language. 
 2#For the list of supported languages, see http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Supported_languages
 3
 4def main():
 5    """Lots of useless code here."""
 6    if True:
 7        print "Hello, world!"
 8        return None # Explicitly returning None!
 9    else:
10        raise Exception
11 
12if __name__ == "__main__":
13    main()



See Also

References


External Links