Help:Editing: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Replaced content with "*Wikipedia:Help:Editing *Wikipedia:Wikipedia:Cheatsheet *Wikipedia:Help:Wiki markup *[https://www.mediawiki.org/wiki/Help:Formatting MediaWiki:Help:Formatting]..."
No edit summary
Line 5: Line 5:


Note that Wikipedia has a lot of formatting extensions installed that we don't have (or need).
Note that Wikipedia has a lot of formatting extensions installed that we don't have (or need).
==Summary==
(<nowiki><nowiki></nowiki> tags have been applied to the text below so that wiki markup appears literally.)
*<nowiki>Links to other pages on the same wiki are formatted [[page title]]; if you have plurals something like [[gamevar]]s shows up neatly formatted; the pipe '|' character can be used to change the displayed text (the example from the first paragraph: [[palette (environment)|palette swaps]])</nowiki>
*<nowiki>URLs can have custom text in the format [http://www.url.com link title]</nowiki>
*<nowiki>[[Wikipedia:article]] will link to a Wikipedia article</nowiki>
*<nowiki>Script files and code can be formatted by putting a blank space before each line. If you have an empty line in the code, add a space to it too, or the code blocks will appear separate. Some examples use the <pre></pre> tags but I discourage this because it disables wiki formatting within the code.</nowiki>
*<nowiki>Unordered lists, useful for sets of links, can be made by prepending each line with an asterisk '*'. (Ordered lists use '#'.) Multiple list symbols can be used for sublevels and they can be mixed and matched.</nowiki>
*<nowiki>Article text is most readable when it is simply left in paragraphs in the body of the article.</nowiki>
*<nowiki>In most cases the "----" can be better served by a level two ==section heading==, and it is always made redundant by one right below it.</nowiki>

Revision as of 18:20, 15 January 2013

Note that Wikipedia has a lot of formatting extensions installed that we don't have (or need).

Summary

(<nowiki> tags have been applied to the text below so that wiki markup appears literally.)

  • Links to other pages on the same wiki are formatted [[page title]]; if you have plurals something like [[gamevar]]s shows up neatly formatted; the pipe '|' character can be used to change the displayed text (the example from the first paragraph: [[palette (environment)|palette swaps]])
  • URLs can have custom text in the format [http://www.url.com link title]
  • [[Wikipedia:article]] will link to a Wikipedia article
  • Script files and code can be formatted by putting a blank space before each line. If you have an empty line in the code, add a space to it too, or the code blocks will appear separate. Some examples use the <pre></pre> tags but I discourage this because it disables wiki formatting within the code.
  • Unordered lists, useful for sets of links, can be made by prepending each line with an asterisk '*'. (Ordered lists use '#'.) Multiple list symbols can be used for sublevels and they can be mixed and matched.
  • Article text is most readable when it is simply left in paragraphs in the body of the article.
  • In most cases the "----" can be better served by a level two ==section heading==, and it is always made redundant by one right below it.