Help:Editing

Help:Editing

From BeamNG

Revision as of 20:30, 2 November 2016 by BombBoy4 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Language: English  • français • русский

Rules

Only post about things you know about.
Use good grammar and spelling.
Be courteous to others.
Use emotes often, but not too often. :)

Snippets

To paste code, one can use the following tags:

<source lang="X">...</source>

Example for jbeam:

	 "nodes" :[
		 ["id", "posX", "posY", "posZ"],
		 {"group":"body"},
		 {"selfCollision":false}
		 {"collision" :true}
		 {"nodeMaterial":"|NM_METAL"},
		 {"frictionCoef":0.7},
		 {"nodeWeight":12.5},
		 //a comment
		 ["n1rr", -0.90, -0.93, 0.23],
		 ["n1r", -0.33, -0.95, 0.23],
		 ["n1l", 0.33, -0.95, 0.23],
		 ["n1ll", 0.90, -0.93, 0.23],
		 {"group":""},
		 
	],

Example for lua (random code):

function luaChooserPartsCallback(str)
	--print("luaChooserPartsCallback("..tostring(str)..")")
	local args = unserialize(str)
	if args.DebugMode ~= nil then
		bdebug.setMode(tonumber(args.DebugMode))
	end
	--dump(args)
	v:setPartConfigRequest(args)
end

How to create a page

There are two ways: a) you create the page first: just open the following URL in your browser and (add your page name):

http://wiki.beamng.com/My Page Name

b) you create the link to the page first:

[[My page name]]

and then click on that :)

Formatting

Please look at those:

Images

look here: http://www.mediawiki.org/wiki/Help:Images

Boxes

see Template:imbox


Page Titles

use the following to add them:

<h1>{{PAGENAME}}</h1>


Table of Content on the Right side

use this:

{{TOC_Right}}