Help:Formatting: Difference between revisions
m
→Wiki Formatting on Your Own: word order
(→Wiki Formatting on Your Own: Math tags now work) |
Thundergnat (talk | contribs) m (→Wiki Formatting on Your Own: word order) |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 6:
[[Image:Fifo.gif]]
Or to another form of media with the one after that. You can show mathematical formulas in [[LaTeX]]
==Wiki Formatting on Your Own==
Line 19:
<nowiki>[externalLink] or [externalLink Display title]</nowiki> to change what words show up on the page for the link.
<nowiki>[[wp:wikipedia link]] or [[wp:wikipedia link|Display title]]</nowiki>
<nowiki>[[oeis:AXXXXXX]] or [[oeis:AXXXXXX|Display title]]</nowiki> where AXXXXXX is the sequence index, to link to an OEIS sequence page. Leading zeros may be omitted. A1 is the same as A000001.
<nowiki>=Big headline=</nowiki> (has horizontal bar, not a button in the JavaScript editor)▼
<nowiki>===Medium headline===</nowiki> (not a button in the JavaScript editor)▼
<nowiki>[[Image:Example.jpg]]</nowiki>
<nowiki>[[Media:Example.ogg]]</nowiki>
▲<nowiki>=Big headline=</nowiki> (has horizontal bar, not a button in the JavaScript editor) Rarely used.
<nowiki>==Medium headline==</nowiki> (has horizontal bar) Avoid on task pages. Will be indexed in with the language entries in the table of contents.
▲<nowiki>===
<nowiki>=={{header|Language name}}==</nowiki> Task entry header (where language name is spelled exactly the same as on the language category page)
<nowiki><lang c>C code example</lang></nowiki>
Line 44 ⟶ 50:
Horizontal bar: <nowiki>----</nowiki>
Numbered list example (raw wiki text):
<pre>#Item 1
#Item 2
#Item 3
#Item 1</pre>
What it displays:
#Item 1
#Item 2
#Item 3
#Item 1
<nowiki>*Bulleted text</nowiki> (shown below, not a button in the JavaScript editor)
Line 108 ⟶ 127:
*To add superscripted text, put <nowiki><sup></sup></nowiki> around it. <nowiki><sup>example</sup></nowiki> shows <sup>example</sup>.
*To add subscripted text, put <nowiki><sub></sub></nowiki> around it. <nowiki><sub>example</sub></nowiki> shows <sub>example</sub>.
*To show your source code in a
<lang c>int main(char* argv, int argc){
printf("Hello, World!");
}</lang>
(See [[Help:Syntax highlighting]] for language arguments)
*To show text with wikicode in a code box, add a space before each line (including blank lines):
''This is italic text.''
''This is italic text in a box.''
*To show text without wikicode in a box, add a <nowiki><pre></nowiki> tag:
''This is
<pre>''This is not italic text in a box, but it shows the wikicode for italics.''</pre>
*Putting two spaces after a period (as is common practice) will only show up as one space when typing plain text. It basically wastes server space.
*If you have a question about something on a page, ask! Sometimes even we are wrong about coding, so if you think you see a problem or don't understand something, click the "discussion" tab at the top of the page and tell us about it.
Line 138 ⟶ 166:
:Response to message 2.
==External Links==
* [
* [
* [
* [
* [http://meta.wikimedia.org/wiki/Help:Displaying_a_formula Help:Displaying a formula] explains TeX syntax for <nowiki><math>...</math></nowiki> tags.
|