Difference between revisions of "Sandbox"

From Cheat Engine
Jump to navigation Jump to search
(Test it out below!)
(Major overhaul of the post.)
 
(26 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{NeedWork}}
 
{{NeedWork}}
  
Some usable mark-ups for pages are: (Use Edit to see how to write most of them) <br><br>
+
== Cheat Engine Wiki Formatting Guide ==
 +
This guide provides a clear overview of how to format content in Cheat Engine Wiki pages.
  
Like in HTML < br> will cause a breakline/new line.<br><br><br><br>
+
=== Line Breaks ===
 +
Use <<nowiki/>br> to create a new line:
  
{|
+
<pre>
 +
First line<br>Second line
 +
</pre>
 +
 
 +
'''Output''':
 +
 
 +
First line<br>Second line
 +
 
 +
=== Tables ===
 +
Tables are created with the {| ... |} syntax.
 +
 
 +
Two-column example:
 +
 
 +
<pre>
 +
{| border="0" cellpadding="5" cellspacing="0"
 +
|-
 +
| List Item One
 +
| Description of list item one
 
|-
 
|-
|List Item one
+
| List Item Two
|List Item one's description
+
| Description of list item two
 +
|}
 +
</pre>
  
 +
'''Output''':
 +
{| border="0" cellpadding="5" cellspacing="0"
 
|-
 
|-
|List Item two
+
|List Item One
|List Item two's description
+
|Description of list item one
 +
|-
 +
|List Item Two
 +
|Description of list item two
 
|}
 
|}
<br>
+
 
{|
+
Multiple-column example:
 +
 
 +
<pre>
 +
{| border="0" cellpadding="5"
 +
|-
 +
|Long item 1
 +
|Description 1
 +
|Extra info 1
 
|-
 
|-
|Very long list items are very long, very very long.
+
|Short item 2
|Long list item's description
+
|Description 2
 +
|Extra info 2
 +
|}
 +
</pre>
  
 +
'''Output''':
 +
{| border="0" cellpadding="5"
 
|-
 
|-
|Short list item
+
|Long item 1
|short list item descr.
+
|Description 1
|}<br>
+
|Extra info 1
Lists like these will have two columns, the second one starting right after the longest list item in column one.If you add more |'s per item (Items start with a "|-") you'll get more collumns.<br><br>
+
|-
<br><br>
+
|Short item 2
To make a header:
+
|Description 2
==Header Name==  
+
|Extra info 2
<br><br>
+
|}
<br><br>
+
 
--[[Special:Contributions/193.109.72.245|193.109.72.245]] 08:27, 9 September 2009 (UTC) <br>
+
Tables automatically align columns based on the widest first column.
= Signature, can be done by clicking the button above, or by typing "--" followed by "~"x4. Using less/more "~" will give less/other information.<br><br>
+
 
--[[Special:Contributions/193.109.72.245|193.109.72.245]] <br>
+
=== Headers ===
= 3x "~" <br><br>
+
Use == ... == for headers:
--08:30, 9 September 2009 (UTC) <br>
 
= 5x "~" <br>
 
  
==Test it out below!==
+
<pre>
{|
+
==Header Level 2==
 +
===Header Level 3===
 +
====Header Level 4====
 +
</pre>
 +
 
 +
'''Output''':
 +
==Header Level 2==
 +
===Header Level 3===
 +
====Header Level 4====
 +
 
 +
=== Signatures ===
 +
Add user signatures:
 +
 
 +
<pre>
 +
--~~~  # username
 +
--~~~~  # username + timestamp
 +
--~~~~~ # full timestamp
 +
</pre>
 +
 
 +
'''Output''':
 +
 
 +
--[[User:Leunsel|Leunsel]] ([[User talk:Leunsel|talk]])
 +
 
 +
--[[User:Leunsel|Leunsel]] ([[User talk:Leunsel|talk]]) 15:37, 3 December 2025 (UTC)
 +
 
 +
--15:37, 3 December 2025 (UTC)
 +
 
 +
=== Lists ===
 +
 
 +
* Bulleted list
 +
* Second item
 +
  ** Nested item
 +
 
 +
# Numbered list
 +
 
 +
# Second number
 +
 
 +
=== Text Formatting ===
 +
 
 +
* ''Italic''
 +
* '''Bold'''
 +
* '''''Bold & Italic'''''
 +
 
 +
<pre>
 +
''Italic''
 +
'''Bold'''
 +
'''''Bold & Italic'''''
 +
</pre>
 +
 
 +
=== Special Templates ===
 +
<pre>{{NeedWork}}</pre>        # Marks a section as needing work
 +
 
 +
'''Output''':
 +
 
 +
{{NeedWork}}
 +
 
 +
=== LUA Forms ===
 +
Create new forms via "Table -> Create Form". Forms appear in the menu with options to show or edit them.
 +
 
 +
[[File:FormMenu.png]]
 +
 
 +
=== Using Forms in LUA ===
 +
Forms can be accessed from LUA scripts to automate tasks or collect input.
 +
 
 +
=== Forum References ===
 +
*[http://forum.cheatengine.org/viewtopic.php?t=566695(http://forum.cheatengine.org/viewtopic.php?t=566695) Post] - Script for creating LUA scripts from forms
 +
 
 +
== Examples ==
 +
{| border="0" cellpadding="5"
 
|-
 
|-
|a  
+
| a
|b  
+
| b
|c  
+
| c
 
|}
 
|}
poopy
 
 
  
{{UserBlock}}
+
Always preview edits to verify formatting and layout before saving.

Latest revision as of 15:37, 3 December 2025

⚠️ This page still needs significant improvements.

Please help by expanding or correcting this article where possible.
For suggestions or discussion, see the talk page.

Cheat Engine Wiki Formatting Guide[edit]

This guide provides a clear overview of how to format content in Cheat Engine Wiki pages.

Line Breaks[edit]

Use <br> to create a new line:

First line<br>Second line

Output:

First line
Second line

Tables[edit]

Tables are created with the {| ... |} syntax.

Two-column example:

{| border="0" cellpadding="5" cellspacing="0"
|-
| List Item One
| Description of list item one
|-
| List Item Two
| Description of list item two
|}

Output:

List Item One Description of list item one
List Item Two Description of list item two

Multiple-column example:

{| border="0" cellpadding="5"
|-
|Long item 1
|Description 1
|Extra info 1
|-
|Short item 2
|Description 2
|Extra info 2
|}

Output:

Long item 1 Description 1 Extra info 1
Short item 2 Description 2 Extra info 2

Tables automatically align columns based on the widest first column.

Headers[edit]

Use == ... == for headers:

==Header Level 2==
===Header Level 3===
====Header Level 4====

Output:

Header Level 2[edit]

Header Level 3[edit]

Header Level 4[edit]

Signatures[edit]

Add user signatures:

--~~~   # username
--~~~~  # username + timestamp
--~~~~~ # full timestamp

Output:

--Leunsel (talk)

--Leunsel (talk) 15:37, 3 December 2025 (UTC)

--15:37, 3 December 2025 (UTC)

Lists[edit]

  • Bulleted list
  • Second item
 ** Nested item
  1. Numbered list
  1. Second number

Text Formatting[edit]

  • Italic
  • Bold
  • Bold & Italic
''Italic''
'''Bold'''
'''''Bold & Italic'''''

Special Templates[edit]

{{NeedWork}}

# Marks a section as needing work

Output:

⚠️ This page still needs significant improvements.

Please help by expanding or correcting this article where possible.
For suggestions or discussion, see the talk page.

LUA Forms[edit]

Create new forms via "Table -> Create Form". Forms appear in the menu with options to show or edit them.

FormMenu.png

Using Forms in LUA[edit]

Forms can be accessed from LUA scripts to automate tasks or collect input.

Forum References[edit]

  • Post - Script for creating LUA scripts from forms

Examples[edit]

a b c

Always preview edits to verify formatting and layout before saving.