Help:Editing
From Agar
Copyrights
All contributions to the Agar wiki are released under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Code snippets are not exempt from this rule, and published code must include explicit license information.
Local guidelines and extensions
Use the templates in the following table when referring to public Agar functions, links to manual pages, variable names, data types and preformatted code. All example code snippets should be enclosed in <source></source> tags.
For clarity, you should omit error-checking code in code samples.
Users are encouraged to keep the wikitext free of unnecessary cosmetic formatting and use templates. For the benefit of those of us using external text editors with traditional text terminals, please limit wikitext to 80 characters per line whenever possible.
| Description | You type | You get |
| Standard function |
{{Fn|function}} |
function() |
| Manual page link |
{{man3|AG_Intro}} |
AG_Intro(3) |
| Preformatted code |
{{C|code}} |
code |
| Data type |
{{Ft|type}} |
type |
| Agar event name |
{{Ev|event-name}} |
event-name |
| Variable binding name |
{{Bi|binding-name}} |
binding-name |
| Object class name |
{{Obj|class-name}} |
class-name |
| Source code (see Available Parameters, Docs) |
<source lang=c>int foo(int a[])</source> |
int foo(int a[]) |
Standard Wiki Markup
| Description | You type | You get |
| Italic text |
''italic'' |
italic |
| Bold text |
'''bold''' |
bold |
| Bold and italic |
'''''bold & italic''''' |
bold & italic |
| Internal link (within this wiki)
|
[[Name of page]] | |
| External link (to other websites)
|
[http://www.example.org Text to display] | |
| Redirect to another page |
#REDIRECT [[Target page]] | |
| Section headings<ref name="firstline">Applies only at the very beginning of lines.</ref> A Table of Contents will automatically be generated when four headings are added to an article.
|
== Level 1 == |
Level 1Level 2Level 3Level 4Level 5 |
| Bulleted list<ref name="firstline" />
Empty lines between list items discouraged, (see numbered lists).
|
* One |
|
| Numbered list<ref name="firstline" />
Empty lines between list items restarts numbering at 1.
|
# One |
|
| Thumbnail image |
[[Image:Agar.jpg|thumb|Caption text]] | |
| For Talk Pages | ||
| Signature |
~~~~ |
Your username 14:43, |
| Indenting Text |
no indent (normal) |
no indent (normal)
|

