Difference between revisions of "Wiki Sandbox"
Jump to navigation
Jump to search
m |
m (→Test) |
||
Line 44: | Line 44: | ||
===Test=== | ===Test=== | ||
====Test==== | ====Test==== | ||
+ | [SC2TRIGGER]Start Leader Board | ||
+ | Events | ||
+ | Game - Map initialization | ||
+ | Local Variables | ||
+ | ForPlayer = 0 <Integer> | ||
+ | Conditions | ||
+ | Actions | ||
+ | Leaderboard - Create a leaderboard with 2 columns and (8 + 1) rows, with the name "Kills", and using (100%, 100%, 100%) color. | ||
+ | Variable - Set MainLeaderboard = (Last created leaderboard) | ||
+ | Leaderboard - Set MainLeaderboard item text at column 1 and row 1 to "Player" | ||
+ | Leaderboard - Set MainLeaderboard item text at column 2 and row 1 to "Kills" | ||
+ | General - For each integer ForPlayer from 1 to 8 with increment 1, do (Actions) | ||
+ | Actions | ||
+ | General - If (Conditions) then do (Actions) else do (Actions) | ||
+ | If | ||
+ | (Status of player ForPlayer) == Playing | ||
+ | Then | ||
+ | Leaderboard - Set MainLeaderboard item text at column 1 and row (ForPlayer + 1) to (Text (Name of player ForPlayer) with color (Color((Current player ForPlayer color)))) | ||
+ | Leaderboard - Set MainLeaderboard item text at column 2 and row (ForPlayer + 1) to "0" | ||
+ | Else | ||
+ | Leaderboard - Set MainLeaderboard item text at column 1 and row (ForPlayer + 1) to (Text (Name of player ForPlayer) with color (75%, 75%, 75%)) | ||
+ | Leaderboard - Set MainLeaderboard item text at column 2 and row (ForPlayer + 1) to (Text "Defeated..." with color (75%, 75%, 75%)) | ||
+ | Leaderboard - Turn MainLeaderboard minimize button On for (All players) | ||
+ | Leaderboard - Show MainLeaderboard minimize button for (All players)[/SC2TRIGGER] |
Revision as of 23:14, 27 April 2011
Welcome to the Wiki Sandbox! Here, you can test out formatting, templates, etc..
The sandbox is a place to play with stuff. The sandbox can be a fun place to learn how to do stuff with wikis.
Making a Section
This is how you make a section.
- If you want to make something indented from it, put a : before it.
You can also make subsections
Just another fun thing you can do.
Self Teaching
Making a layout showing others how to do different things is also helping to teach myself how to do these things.
The best way to learn how to do things right is to teach yourself.
There are also very good resources, such as the example articles, and the wikipedia cheatsheat.
Testing Templates
If you are going for best contents like myself, simply go to see this site all dggadakgdgkcdkgd
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
Test
[SC2TRIGGER]Start Leader Board
Events Game - Map initialization Local Variables ForPlayer = 0 <Integer> Conditions Actions Leaderboard - Create a leaderboard with 2 columns and (8 + 1) rows, with the name "Kills", and using (100%, 100%, 100%) color. Variable - Set MainLeaderboard = (Last created leaderboard) Leaderboard - Set MainLeaderboard item text at column 1 and row 1 to "Player" Leaderboard - Set MainLeaderboard item text at column 2 and row 1 to "Kills" General - For each integer ForPlayer from 1 to 8 with increment 1, do (Actions) Actions General - If (Conditions) then do (Actions) else do (Actions) If (Status of player ForPlayer) == Playing Then Leaderboard - Set MainLeaderboard item text at column 1 and row (ForPlayer + 1) to (Text (Name of player ForPlayer) with color (Color((Current player ForPlayer color)))) Leaderboard - Set MainLeaderboard item text at column 2 and row (ForPlayer + 1) to "0" Else Leaderboard - Set MainLeaderboard item text at column 1 and row (ForPlayer + 1) to (Text (Name of player ForPlayer) with color (75%, 75%, 75%)) Leaderboard - Set MainLeaderboard item text at column 2 and row (ForPlayer + 1) to (Text "Defeated..." with color (75%, 75%, 75%)) Leaderboard - Turn MainLeaderboard minimize button On for (All players) Leaderboard - Show MainLeaderboard minimize button for (All players)[/SC2TRIGGER]