Difference between revisions of "Wiki Sandbox"

From HIVE
Jump to navigation Jump to search
m
m (Testing header CSS)
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
= Making a Section =
 
= Making a Section =
 
 
This is how you make a section.
 
This is how you make a section.
 
:If you want to make something indented from it, '''put a : before it.'''
 
:If you want to make something indented from it, '''put a : before it.'''
  
 
== You can also make subsections ==
 
== You can also make subsections ==
 
 
Just another fun thing you can do.
 
Just another fun thing you can do.
 
===Further subsections===
 
Yay, how fun!
 
  
 
==== Self Teaching ====
 
==== Self Teaching ====
 
 
Making a layout showing others how to do different things is also helping to ''teach myself'' how to do these things.
 
Making a layout showing others how to do different things is also helping to ''teach myself'' how to do these things.
  
Line 27: Line 21:
 
= Testing Templates =
 
= Testing Templates =
 
{{Wiki News}}
 
{{Wiki News}}
 +
 +
 +
{{Trigger
 +
|events=Test
 +
|variables=Test
 +
|conditions=Test
 +
|actions=Test
 +
}}
 +
 +
=H1 Test=
 +
==H2 Test==
 +
===H3 Test===
 +
====H4 Test====
 +
=====H5 Test=====
 +
======H6 Test======
 +
[SC2TRIGGER]Start Leader Board
 +
Events
 +
Game - Map initialization
 +
Local Variables
 +
Conditions
 +
Actions[/SC2TRIGGER]
 +
 +
[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]

Latest revision as of 17:30, 11 May 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


StarCraft 2 Trigger [template]
Events:

Test

Variables:

Test

Conditions:

Test

Actions:

Test


H1 Test

H2 Test

H3 Test

H4 Test

H5 Test
H6 Test

[SC2TRIGGER]Start Leader Board Events Game - Map initialization Local Variables Conditions Actions[/SC2TRIGGER]

[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]