Help:Editing

From EVEDev

Jump to: navigation, search

Basic and advanced info on how to format a page can be found here:


Contents

[edit] In addition to the standard wiki formatting, there is a syntax hilighting function.

Usage: <syntax language="$lang">$yourcode</syntax>

[edit] Available languages:

  • actionscript
  • ada
  • apache
  • asm
  • asp
  • bash
  • caddcl
  • cadlisp
  • c
  • cpp
  • css
  • delphi
  • html4strict
  • java
  • javascript
  • lisp
  • lua
  • nsis
  • oobas
  • pascal
  • perl
  • php-brief
  • php
  • python
  • qbasic
  • sql
  • vb
  • visualfoxpro
  • xml

[edit] Example:

<syntax language="sqlnew">SELECT typeID FROM invtypes WHERE typeName like 'Megathron'</syntax> SELECT typeID FROM invtypes WHERE typeName like 'Megathron'

[edit] Use the EVE-Datadump in the wiki

You can use sql statements to get data directly into the wiki.

<sql>SELECT 1+1 as result from DUAL</sql>

Error while connecting to host "" !

The sql-parser function will print the result into a table, to use the result inside of a template use the sql parser extension function:

{{#sql: SELECT 1+1 as result from DUAL}}

This will assign every fieldname to variable that can be used in templates:

{{#var:result}}

This will then display the expected 2.

Personal tools