Difference between revisions of "Help:Wiki markup"
m (Text replace - "1" to "31") |
(→Links and URLs) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!) | Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!) | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>''italicized text''</nowiki></tt></big></big>}} | |
− | | | + | {{TB|''italicized text''}} |
− | + | {{TBT|<big><big><tt><nowiki>'''bold text'''</nowiki></tt></big></big>}} | |
− | | ''italicized text'' | + | {{TB|'''bold text'''}} |
− | | | + | {{TBT|<big><big><tt><nowiki>'''''italicized and bold text'''''</nowiki></tt></big></big>}} |
− | + | {{TB|'''''italicized and bold text'''''}} | |
− | | '''bold text''' | + | }} |
− | | | ||
− | |||
− | | '''''italicized and bold text''''' | ||
− | |||
To create a tabbed list or a block of text using a monospace font, start the line with a space. (Be sure not to make the line too long, or it will stretch the page horizontally!) Text can also be indented in blockquotes using the colon character. | To create a tabbed list or a block of text using a monospace font, start the line with a space. (Be sure not to make the line too long, or it will stretch the page horizontally!) Text can also be indented in blockquotes using the colon character. | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki><pre>Preformatted text</pre></nowiki></tt></big></big>}} | |
− | | | + | {{TB|align=left|<pre>Preformatted text</pre>}} |
− | + | {{TBT|<big><big><tt><nowiki>:Indented text</nowiki></tt></big></big>}} | |
− | + | {{TB|align=left| | |
− | | | + | :Indented text}} |
− | + | }} | |
− | | | ||
− | |||
− | | | ||
− | : Indented text | ||
− | |||
== Lists == | == Lists == | ||
Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry. To create nested lists, simply add an extra asterisk or hash to the front of the line. You can even mix and match the kinds of list in a single group! | Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry. To create nested lists, simply add an extra asterisk or hash to the front of the line. You can even mix and match the kinds of list in a single group! | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>*</nowiki>Item One<br/><nowiki>*</nowiki>Item Two</tt></big></big>}} | |
− | | | + | {{TB|align=left| |
− | + | *Item One | |
− | | | + | *Item Two}} |
− | * Item One | + | {{TBT|<big><big><tt><nowiki>#</nowiki>Item One<br/><nowiki>#</nowiki>Item Two</tt></big></big>}} |
− | * Item Two | + | {{TB|align=left| |
− | | | + | #Item One |
− | + | #Item Two}} | |
− | | | + | {{TBT|<big><big><tt><nowiki>*</nowiki>Item One<br/><nowiki>**</nowiki>Item Two</tt></big></big>}} |
− | # Item One | + | {{TB| align=left| |
− | # Item Two | + | *Item One |
− | | | + | **Item Two}} |
− | + | {{TBT|<big><big><tt><nowiki>*</nowiki>Item One<br/><nowiki>*#</nowiki>Item Two</tt></big></big>}} | |
− | | | + | {{TB|align=left| |
− | * Item One | + | *Item One |
− | ** Item Two | + | *#Item Two}} |
− | | | + | {{TBT|<big><big><tt><nowiki>;term: definition</nowiki></tt></big></big>}} |
− | + | {{TB|align=left|;term: definition}} | |
− | | | + | }} |
− | * Item One | ||
− | *# Item Two | ||
− | | | ||
− | |||
− | | | ||
− | ; term : definition | ||
− | |||
== Links and URLs == | == Links and URLs == | ||
− | In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. | + | In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Simpsons articles: |
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>[[The Simpsons]]</nowiki></tt></big></big>}} | |
− | | | + | {{TB|[[The Simpsons]]}} |
− | + | {{TBT|<big><big><tt><nowiki>[[Homer's Odyssey|'''Homer's Odyssey''']]</nowiki></tt></big></big>}} | |
− | | [[The Simpsons]] | + | {{TB|[[Homer's Odyssey|'''Homer's Odyssey''']]}} |
− | | | + | {{TBT|<big><big><tt><nowiki>[[This article doesn't exist]]</nowiki></tt></big></big>}} |
− | + | {{TB|font color=#CC2200|This article doesn't exist}} | |
− | | [[Homer's Odyssey|'''Homer's Odyssey''']] | + | {{TBT|<big><big><tt><nowiki>[[Wikisimpsons:Policies and Guidelines]]</nowiki></tt></big></big>}} |
− | | | + | {{TB|[[Wikisimpsons:Policies and Guidelines]]}} |
− | + | {{TBT|<big><big><tt><nowiki>[[Wikisimpsons:Policies and Guidelines|]]</nowiki></tt></big></big>}} | |
− | | | + | {{TB|[[Wikisimpsons:Policies and Guidelines|Policies and Guidelines]]}} |
− | + | }} | |
− | |||
− | | [[Wikisimpsons:Policies and Guidelines]] | ||
− | | | ||
− | |||
− | | [[Wikisimpsons:Policies and Guidelines|Policies and Guidelines]] | ||
− | |||
You can also make external links to other websites using the following formatting rules: | You can also make external links to other websites using the following formatting rules: | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>[[Wikipedia:The Simpsons]]</nowiki></tt></big></big>}} | |
− | | | + | {{TB|[[Wikipedia:The Simpsons]]}} |
− | + | {{TBT|<big><big><tt><nowiki>[[Wikipedia:The Simpsons|The Simpsons]]</nowiki></tt></big></big>}} | |
− | | [[Wikipedia:The Simpsons]] | + | {{TB|[[Wikipedia:The Simpsons|The Simpsons]]}} |
− | | | + | {{TBT|<big><big><tt><nowiki>http://www.thesimpsons.com/</nowiki></tt></big></big>}} |
− | + | {{TB|http://www.thesimpsons.com/}} | |
− | | [[Wikipedia:The Simpsons|The Simpsons]] | + | {{TBT|<big><big><tt><nowiki>[http://www.thesimpsons.com/]</nowiki></tt></big></big>}} |
− | | | + | {{TB|[http://www.thesimpsons.com/]}} |
− | + | {{TBT|<big><big><tt><nowiki>[http://www.thesimpsons.com/ The Simpsons.com]</nowiki></tt></big></big>}} | |
− | | http://www.thesimpsons.com/ | + | {{TB|[http://www.thesimpsons.com/ The Simpsons.com]}} |
− | | | + | }} |
− | |||
− | | [http://www.thesimpsons.com/] | ||
− | | | ||
− | |||
− | | [http://www.thesimpsons.com/ The Simpsons.com] | ||
− | |||
'''See also:''' [[Help:Interwiki|Interwiki links]] | '''See also:''' [[Help:Interwiki|Interwiki links]] | ||
Line 123: | Line 95: | ||
You can also create a horizontal divider by using four dashes in a row. | You can also create a horizontal divider by using four dashes in a row. | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>==Header Two==</nowiki></tt></big></big>}} | |
− | | | + | {{TB|<h2>Header Two</h2>}} |
− | + | {{TBT|<big><big><tt><nowiki>===Header Three===</nowiki></tt></big></big>}} | |
− | | | + | {{TB|<h3>Header Three</h3>}} |
− | | | + | {{TBT|<big><big><tt><nowiki>====Header Four====</nowiki></tt></big></big>}} |
− | + | {{TB|<h4>Header Four</h4>}} | |
− | | | + | {{TBT|<big><big><tt><nowiki>----</nowiki></tt></big></big>}} |
− | | | + | {{TB|<hr/>}} |
− | + | }} | |
− | | | ||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
== Images and other media == | == Images and other media == | ||
Line 151: | Line 117: | ||
The MediaWiki software has a number of built-in variables for common elements that may change depending on the date. | The MediaWiki software has a number of built-in variables for common elements that may change depending on the date. | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki>{{LOCALMONTH}}</nowiki></tt></big></big>}} | |
− | | | + | {{TB|{{LOCALMONTH}}}} |
− | | <tt><nowiki>{{LOCALMONTH}}</nowiki></tt> | + | {{TBT|<big><big><tt><nowiki>{{LOCALMONTHNAME}}</nowiki></tt></big></big>}} |
− | | {{LOCALMONTH}} | + | {{TB|{{LOCALMONTHNAME}}}} |
− | | | + | {{TBT|<big><big><tt><nowiki>{{LOCALMONTHNAMEGEN}}</nowiki></tt></big></big>}} |
− | + | {{TB|{{LOCALMONTHNAMEGEN}}}} | |
− | | {{ | + | {{TBT|<big><big><tt><nowiki>{{LOCALDAY}}</nowiki></tt></big></big>}} |
− | | | + | {{TB|{{LOCALDAY}}}} |
− | + | {{TBT|<big><big><tt><nowiki>{{LOCALDAYNAME}}</nowiki></tt></big></big>}} | |
− | | {{ | + | {{TB|{{LOCALDAYNAME}}}} |
− | | | + | {{TBT|<big><big><tt><nowiki>{{LOCALYEAR}}</nowiki></tt></big></big>}} |
− | + | {{TB|{{LOCALYEAR}}}} | |
− | | {{LOCALDAY}} | + | {{TBT|<big><big><tt><nowiki>{{LOCALTIME}}</nowiki></tt></big></big>}} |
− | | | + | {{TB|{{LOCALTIME}}}} |
− | + | {{TBT|<big><big><tt><nowiki>{{NUMBEROFARTICLES}}</nowiki></tt></big></big>}} | |
− | | {{ | + | {{TB|{{NUMBEROFARTICLES}}}} |
− | | | + | }} |
− | |||
− | | {{ | ||
− | | | ||
− | |||
− | | {{ | ||
− | | | ||
− | |||
− | | {{NUMBEROFARTICLES}} | ||
− | |||
NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect (i.e. number of articles, stubs containing a link, and disambiguation pages). | NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect (i.e. number of articles, stubs containing a link, and disambiguation pages). | ||
Line 188: | Line 145: | ||
It's also possible to tell MediaWiki to ''ignore'' any of the above rules using a simple tag: | It's also possible to tell MediaWiki to ''ignore'' any of the above rules using a simple tag: | ||
− | {| | + | {{Table|width=53%| |
− | | | + | {{THT|What you type}} |
− | + | {{TH|What you see}} | |
− | + | {{TBT|<big><big><tt><nowiki><nowiki>'''text here'''</nowiki></nowiki></tt></big></big>}} | |
− | | | + | {{TB|<nowiki>'''text here'''</nowiki>}} |
− | + | }} | |
− | | <nowiki>'''text here'''</nowiki> | ||
− | |||
{{Help}} | {{Help}} |
Latest revision as of 10:03, July 22, 2015
This page is a tutorial for learning to work with the essential rules of wiki-formatted text, or "wikitext". Wikitext is designed to be as simple as possible so that an article may be quickly typed and styled without having to take a break to type out long HTML codes. The goal is to make it as easy as possible to channel your thoughts into writing the perfect article (or even a not-so-perfect article!).
Contents
Text formatting[edit]
Creating italicized or bold text is the simplest rule — simply use the apostrophe character in groups of two or three to create the style. (Be sure to use the "straight" apostrophe and not the curved "smart quote" characters used in some text editors and word processors!)
|
To create a tabbed list or a block of text using a monospace font, start the line with a space. (Be sure not to make the line too long, or it will stretch the page horizontally!) Text can also be indented in blockquotes using the colon character.
|
Lists[edit]
Both unordered and numbered lists are simple to create as well: simply use the asterisk or hash characters at the beginning of a line to create the entry. To create nested lists, simply add an extra asterisk or hash to the front of the line. You can even mix and match the kinds of list in a single group!
|
Links and URLs[edit]
In a wiki, it's important to help build the wiki by creating links to other articles in every appropriate context. Use the following techniques to create "free links" to other Simpsons articles:
|
You can also make external links to other websites using the following formatting rules:
|
See also: Interwiki links
Sections[edit]
If an article is long enough, you can divide the page into different sections. Wikisimpsons will automatically generate a table of contents based on the content for all articles with more than three sections.
You can also create a horizontal divider by using four dashes in a row.
|
Images and other media[edit]
See: Help: Image markup
Tables[edit]
See: Help: Table markup
Variables[edit]
The MediaWiki software has a number of built-in variables for common elements that may change depending on the date.
|
NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect (i.e. number of articles, stubs containing a link, and disambiguation pages).
See also: Help:Templates
Suppressing markup[edit]
It's also possible to tell MediaWiki to ignore any of the above rules using a simple tag:
|
Help pages
| ||
---|---|---|
Archiving • Categories • Copyrights • Edit conflicts • Edit summary • Editing • How to log in/Create an account • Licensing Images • Image markup • Interwiki links • Introduction • Minor edits • Namespaces • New pages • Orphans • Page history • Preferences • Recent changes • Redirects • Related changes • Rename a Page • Searching • Table markup • Talk pages • Using templates • Upload files • User contributions • User style • Watchlist • What links here • Wiki markup | ||
Admin only | ||
Delete a page • Protect a page |