Help:Advanced Editing
From NeoPets Guild
See the other help pages for more basic help.
Contents |
[edit] Categories
[edit] Templates
You can also create your own templates. After you create the page Template:XXX, using the command {{XXX}} will include that content in your current page. So, if you have something that needs to be included on many other pages, you might want to use a template.
Some of the templates on NeoPets Guild are "stub" and "PLH".
[edit] Variables
Use {{SITENAME}} to see the current Wikicity. For instance, {{SITENAME}} on this site prints out as NeoPets Guild.
Other variables:
| Variable | Value Here |
|---|---|
| {{SERVER}} | http://neopets.wikia.com |
| {{localurl:{{NAMESPACE}} | /wiki/Help |
| {{SITENAME}} | NeoPets Guild |
| {{XXX}} | Template:XXX |
| {{USERNAME}} | Template:USERNAME |
| {{NAMESPACE}} | Help |
| [[Special:Statistics|{{NUMBEROFARTICLES}}]] | 1,108 |
[edit] Tables
Wiki has a table format that's easier than HTML.
[edit] A Very Simple Table
| column1 | column2 |
| next | row |
was created by {| | column1 || column2 |- | next || row |}
[edit] A Fancier Table
See the text in the edit view to see how this table was made.
|
text | |
|
more text |
and more |
[edit] Comments
It is useful to be able to put comments in formatting commands to remind you and help others in future editing.
One format that works:
<!-- comment goes here - don't use a double dash within the comment -->
[edit] Table of Contents
A table of contents is automatically created for pages with three or more wiki headers (the ones created with =).
To turn off the table of contents on a page, add __NOTOC__.
The command __TOC__ can be used to specify the placement of the table of contents. It can be used within the text or placed inside a <div> command to specify the location or look.
[edit] Incorporating other formatting commands
This doesn't work right now, so it's a placeholder:
Wiki will also use many html commands and WikiTeX: latex reported a failure, namely:This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) entering extended mode (./2cac957197c74eed82435392e8310 LaTeX2e <2003/12/01> Babeland hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty)) (/usr/share/texmf/tex/latex/amsmath/amscd.sty) (/usr/share/texmf/tex/latex/concmath/concmath.sty) (./2cac957197c74eed82435392e8310.aux) (/usr/share/texmf/tex/latex/concmath/ot1ccr.fd) (/usr/share/texmf/tex/latex/concmath/omlccm.fd) (/usr/share/texmf/tex/latex/concmath/omsccsy.fd) (/usr/share/texmf/tex/latex/concmath/omxccex.fd) (/usr/share/texmf/tex/latex/amsfonts/umsa.fd) (/usr/share/texmf/tex/latex/amsfonts/umsb.fd) ! You can't use `\spacefactor' in display math mode. \@->\spacefactor \@m l.5 \begin{equation*} \LaTeX \end{equation*} [1] (./2cac957197c74eed82435392e8310.aux) ) (see the transcript file for additional information) Output written on 2cac957197c74eed82435392e8310.dvi (1 page, 332 bytes). Transcript written on 2cac957197c74eed82435392e8310.log.
formatting.
| Stub page This article is too short. Please help by editing it. |
