Help:Editing

From EVEDev
Jump to: navigation, search

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


Contents

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

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

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

Example:

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

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>

UNIQ3f08fc1e69a53be4-sql-00000004-QINU

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