Help:Editing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
**To link to Wikia (Fandom), the format is "wikia:w:c:<wiki name>:<page name>". So {{code demo|[[wikia:w:c:cybernations:NPO]]}}. | **To link to Wikia (Fandom), the format is "wikia:w:c:<wiki name>:<page name>". So {{code demo|[[wikia:w:c:cybernations:NPO]]}}. | ||
*For external links, use a single bracket. {{code demo|[http://www.google.com/ Google]}}. | *For external links, use a single bracket. {{code demo|[http://www.google.com/ Google]}}. | ||
**If you leave out the link text, e.g. {{code demo|[http://www.google.com/]|x}}, the displayed text will be a number in brackets, which is automatically generated from the sequence of numbered links on the page. | |||
*To use a template: {{t|CN|Lord of Darkness}} | *To use a template: {{t|CN|Lord of Darkness}} | ||
**This template uses an unnamed parameter. To use a named parameter, place the name after the pipe ( | ) followed by an equals sign: <code><nowiki>{{Template|param=value}}</nowiki></code>. | **This template uses an unnamed parameter. To use a named parameter, place the name after the pipe ( | ) followed by an equals sign: <code><nowiki>{{Template|param=value}}</nowiki></code>. | ||
Line 32: | Line 33: | ||
*Linking | *Linking | ||
**[[Template:CN]], [[Template:NS]] | **Internal links: [[Template:CN]], [[Template:NS]], [[Template:Torn]] | ||
**[[Template:Forumlink]] | **External links: [[Template:Forumlink]], [[Template:CNlink]], [[Template:NSlink]], [[Template:Tornlink]] | ||
[[Category:Help]] | [[Category:Help]] |
Revision as of 06:47, 16 July 2020
For more detail, see mw:Help:Editing.
Don't be afraid to be bold when editing. It's impossible to mess anything up permanently; as long as your edit is constructive, any issues can easily be cleaned up.
Wikicode
'''bold text'''
produces: bold text;''italic text''
produces: italic text- To create a heading, use multiple equals signs:
==Heading==
(this is the highest level of heading). The number of signs on each side must match, and they determine the level of the heading; more signs means a smaller heading, sorted under higher headings. Headings on a page automatically create a table of contents. - To create a link to another page on the wiki:
[[page name]]
or[[page name|display text]]
- If the second portion is omitted, the display text will be the same as the first portion. Underscores are not required.
- Note that the first character of a page's title is not case sensitive; this can be used to make it lowercase if necessary for grammar.
- Any letters placed immediately after the link will automatically become part of the display text. For example,
[[toaster]]s
will link to "Toaster" but display "toasters" as a link. - To link to a non-main namespace, add the namespace prefix before the link.
[[Template:Main]]
produces: Template:Main. To link to a category, you must put a colon:
at the beginning of the link, or it will actually add the category to the page.
- To link to Wikipedia or other wikis, you can often use a prefix.
[[wikipedia:Main Page]]
produces: wikipedia:Main Page- To link to Wikia (Fandom), the format is "wikia:w:c:<wiki name>:<page name>". So
[[wikia:w:c:cybernations:NPO]]
produces: wikia:w:c:cybernations:NPO.
- To link to Wikia (Fandom), the format is "wikia:w:c:<wiki name>:<page name>". So
- For external links, use a single bracket.
[http://www.google.com/ Google]
produces: Google.- If you leave out the link text, e.g.
[http://www.google.com/]
, the displayed text will be a number in brackets, which is automatically generated from the sequence of numbered links on the page.
- If you leave out the link text, e.g.
- To use a template:
{{CN|Lord of Darkness}}
- This template uses an unnamed parameter. To use a named parameter, place the name after the pipe ( | ) followed by an equals sign:
{{Template|param=value}}
. - Templates can combine any number of named and unnamed parameters. The order of unnamed parameters matters, but named parameters can be specified anywhere, including between unnamed parameters.
- Some templates might have no parameters at all.
- Template pages contain explanations of their parameters and intended usage.
- This template uses an unnamed parameter. To use a named parameter, place the name after the pipe ( | ) followed by an equals sign:
- To create a list, put each item on a new line preceded by an asterisk
*
(unordered list, bullet points) or a number sign#
(order list, numbered). Use multiple of the symbol to create a sub-list; list types can be mixed. Putting an extra line break in between lines will create a separate list. - MediaWiki is very sensitive to whitespace (spaces and line breaks). A line starting with a space will be displayed as a code box instead of as text or formatting. Using too many line breaks will create excessive space - use only two line breaks (i.e. one blank line) in between paragraphs.
- However, white space surrounding template parameters and the like is stripped, so this can be used for formatting that is easier to read.
Templates
Commonly used templates on the wiki:
- Infoboxes
- Linking
- Internal links: Template:CN, Template:NS, Template:Torn
- External links: Template:Forumlink, Template:CNlink, Template:NSlink, Template:Tornlink