Help:Editing
This wiki makes use of the MediaWiki software, which is the same software as is used to power the all-knowing Wikipedia website. For an overview of the syntax that you can use, see Help:Editing on the meta.wikimedia.org site.
Some specific areas including MediaWiki plugins ('extensions') that we have installed:
Code highlighting
We are using the ASHighlight extension (that we wrote ourselves, making use of Andre Simon's highlight program inside):
| Write this: | ...and you'll get: |
|---|---|
<source lang=a4c>
MODEL mymodel;
x IS_A length;
END model;
</source>
|
MODEL mymodel; x IS_A length; END model; |
<source lang=c>
int main(void);
fprintf(stderr,"hello world!\n");
exit(0);
}
</source>
|
int main(void); fprintf(stderr,"hello world!\n"); exit(0); } |
References to code
If you would like to reference a file in the ASCEND source code repository, you can use the following MediaWiki templates:
For a specific code file in the repository trunk: {{src|models/johnpye/testlog10.a4c}}
|
|
For a directory in the repository trunk: {{srcdir|models/johnpye}}
|
|
For a code file in a repository branch: {{srcbranch|grivan2|models/johnpye/testlog10.a4c}}
|
|
For a directory in a repository branch: {{srcbranchdir|grivan2|models/johnpye}}
|
To make a reference to a particular changeset, in any branch of the repository, use:
{{changeset|3000}}
|
References to bugs
To refer to a bug on our bug tracker, please use
{{bug|501}}
|
References to literature
You can use <ref> tags in our wiki. Please see documentation and plugin details.
Steel is very strong<ref>Ashby & Jones ''Engineering Materials 1'', Pergamon, 1980</ref> and so we make things out of it. <references/> |
If you are citing a journal article, please use our DOI template to reference the article:
A W Westerberg, 2003, ''A retrospective
on design and process synthesis'', Computers &
Chemical Engineering, '''28''' (4), 447-458.
{{doi|10.1016/j.compchemeng.2003.09.029}}.
|
A W Westerberg, 2003, A retrospective on design and process synthesis, Computers & Chemical Engineering, 28 (4), 447-458. doi:10.1016/j.compchemeng.2003.09.029.
|
Images
You can upload images of various types to our wiki, and display them in your pages. We suggest PNG images in most cases, although SVG images are also appropriate for primarily vector graphics.
A tutorial on the use of images is here.
Tables
If you want to create a table on your page, see here.
File Uploads
Our wiki can support file uploads, although we generally restrict access to this feature for security reasons. Contact us if you want us to upload something for you and we'll sort it out.
Equation numbers
You can use equation numbering in your pages with the Template:Eq and Template:Eqref templates.
{{eq|:|<math>pv=nRT</math>|1}}
|
|