local_copy_of_markup
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| local_copy_of_markup [2018/12/08 12:49] – created 0.0.0.0 | local_copy_of_markup [2019/01/30 11:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Local_copy_of_markup ====== | ||
| - | |||
| {{Wiki markup}} | {{Wiki markup}} | ||
| {{shortcut|H: | {{shortcut|H: | ||
| - | {{wiki:Learning WikiCode.ogv|A video about wikicode and how to use it.}} | + | [[File:Learning WikiCode.ogv|thumb|A video about wikicode and how to use it.]] |
| **Wiki markup** is the syntax and keywords used by the [[MediaWiki]] software to format a page. To learn how to see this markup and to save an edit, see: [[Help: | **Wiki markup** is the syntax and keywords used by the [[MediaWiki]] software to format a page. To learn how to see this markup and to save an edit, see: [[Help: | ||
| Line 11: | Line 9: | ||
| {{TOC limit}} | {{TOC limit}} | ||
| - | ======Layout====== | + | ===== Layout ===== |
| - | =====Sections===== | + | |
| - | ====Section headings==== | + | ==== Sections ==== |
| + | |||
| + | === Section headings === | ||
| {{Further2|[[Help: | {{Further2|[[Help: | ||
| Line 23: | Line 24: | ||
| ! style=" | ! style=" | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | // |
| + | into sections. The wiki software | ||
| + | can automatically generate a | ||
| + | [[Help: | ||
| + | from them. Start with 2 ' | ||
| + | (" | ||
| + | |||
| + | ==== Subsection ==== | ||
| + | |||
| + | Using more ' | ||
| + | creates a subsection. | ||
| + | |||
| + | === A smaller subsection === | ||
| + | |||
| + | Don't skip levels, like from two | ||
| + | (" | ||
| + | characters. | ||
| + | |||
| + | ;A defined term: A semicolon at the | ||
| + | start of a line is a way of making | ||
| + | a definition where the word being | ||
| + | defined appears in bold. | ||
| + | The definition itself follows the | ||
| + | colon and is not rendered bold by | ||
| + | default. It is not a heading and | ||
| + | does not appear in the table of | ||
| + | contents.</ | ||
| + | |||
| + | | | ||
| <div style=" | <div style=" | ||
| Line 48: | Line 77: | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | Separating with a horizontal |
| + | dividing line: | ||
| + | >this is above it... | ||
| + | ---- | ||
| + | >...and this is below it. | ||
| + | If you don't use a section header, | ||
| + | you don't get a TOC entry. | ||
| + | |||
| + | </ | ||
| + | |||
| + | | | ||
| **Horizontal line** | **Horizontal line** | ||
| Separating with a horizontal | Separating with a horizontal | ||
| dividing line:< | dividing line:< | ||
| - | :this is above it... | + | >this is above it... |
| ---- | ---- | ||
| - | :...and this is below it. | + | >...and this is below it. |
| If you don't use a section header, | If you don't use a section header, | ||
| Line 67: | Line 106: | ||
| |} | |} | ||
| - | ====Table of contents==== | + | === Table of contents === |
| When a page has at least four headings, a table of contents (TOC) will appear in front of the first header (after the lead). Putting < | When a page has at least four headings, a table of contents (TOC) will appear in front of the first header (after the lead). Putting < | ||
| - | =====Line breaks===== | + | ==== Line breaks ==== |
| - | * You can make the wikitext more readable by putting in newlines, but see [[Wikipedia: | + | |
| - | * To break lines use the < | + | * You can make the wikitext more readable by putting in newlines, but see [[Wikipedia: |
| - | * Please use these sparingly. | + | * To break lines use the < |
| - | * Close markup between lines; do not start a [[Help: | + | * Please use these sparingly. |
| - | * When used in a list, a newline //does// affect the layout (see [[Help: | + | * Close markup between lines; do not start a [[Help: |
| + | * When used in a list, a newline //does// affect the layout (see [[Help: | ||
| {| class=" | {| class=" | ||
| ! style=" | ! style=" | ||
| Line 81: | Line 121: | ||
| |- | |- | ||
| | | | | ||
| - | < | + | < |
| + | A single newline has no | ||
| + | effect on the layout. | ||
| + | |||
| + | But an empty line starts a new | ||
| + | paragraph, or ends a list or | ||
| + | an indented part. | ||
| + | </ | ||
| | | | | ||
| A single newline has no | A single newline has no | ||
| Line 91: | Line 138: | ||
| |- | |- | ||
| | | | | ||
| - | < | + | < |
| + | without starting a new paragraph.</ | ||
| | | | | ||
| - | You can break lines<br /> | + | You can break lines\\ |
| without starting a new paragraph. | without starting a new paragraph. | ||
| |} | |} | ||
| - | =====Indent text===== | + | ==== Indent text ==== |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| Line 106: | Line 155: | ||
| |- | |- | ||
| | | | | ||
| - | < | + | < |
| + | >A colon at the start of a line | ||
| + | >> | ||
| + | >>> | ||
| + | </ | ||
| | | | | ||
| - | :A colon at the start of a line | + | >A colon at the start of a line |
| - | ::causes the line to be indented, | + | >>causes the line to be indented, |
| - | :::most commonly used on Talk pages. | + | >>> |
| |- | |- | ||
| | colspan=" | | colspan=" | ||
| Line 129: | Line 182: | ||
| |} | |} | ||
| - | =====Center text===== | + | ==== Center text ==== |
| {| class=" | {| class=" | ||
| ! style=" | ! style=" | ||
| Line 140: | Line 194: | ||
| Template {{tl|center}} uses the same markup. To center a table, see [[Help: | Template {{tl|center}} uses the same markup. To center a table, see [[Help: | ||
| - | =====Lists===== | + | ==== Lists ==== |
| {{Further2|[[Help: | {{Further2|[[Help: | ||
| Line 147: | Line 201: | ||
| ! style=" | ! style=" | ||
| |- id=" | |- id=" | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | * Start every line with a star. |
| - | | + | * More stars indicate a deeper level. |
| - | * Start every line with a star. | + | * : Previous item continues. |
| - | * More stars indicate a deeper level. | + | * A new line |
| - | **: Previous item continues. | + | * in a list |
| - | * A new line | + | |
| - | * in a list | + | |
| marks the end of the list. | marks the end of the list. | ||
| - | * Of course you can start again. | + | * Of course you can start again.</ |
| + | | | ||
| + | * //Unordered [[Help: | ||
| + | * Start every line with a star. | ||
| + | * More stars indicate a deeper level. | ||
| + | * : Previous item continues. | ||
| + | * A new line | ||
| + | * in a list | ||
| + | marks the end of the list. | ||
| + | * | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | - Very organized |
| - | - //Numbered lists// are: | + | - Easy to follow |
| - | - Very organized | + | - : Previous item continues |
| - | - Easy to follow | + | A new line marks the end of the list. |
| - | #: Previous item continues | + | - New numbering starts with 1.</ |
| + | | | ||
| + | - //Numbered lists// are: | ||
| + | - Very organized | ||
| + | - Easy to follow | ||
| + | | ||
| A new line marks the end of the list. | A new line marks the end of the list. | ||
| - | - New numbering starts with 1. | + | - New numbering starts with 1. |
| |- | |- | ||
| | | | | ||
| - | < | + | < |
| + | ;Hamlet: Also useful for texts of plays.</ | ||
| | | | | ||
| ;Definition lists: Terms and their definitions. | ;Definition lists: Terms and their definitions. | ||
| Line 176: | Line 243: | ||
| |} | |} | ||
| - | =====Retaining newlines and spaces===== | + | ==== Retaining newlines and spaces ==== |
| {{shortcut|H: | {{shortcut|H: | ||
| Line 185: | Line 252: | ||
| ! style=" | ! style=" | ||
| |- | |- | ||
| - | | < | + | | < |
| + | In Xanadu did Kubla Khan | ||
| + | A stately pleasure-dome decree: | ||
| + | Where Alph, the sacred river, ran | ||
| + | Through caverns measureless to man | ||
| + | Down to a sunless sea. | ||
| + | |||
| + | So twice five miles of fertile ground | ||
| + | With walls and towers were girdled round: | ||
| + | And there were gardens bright with sinuous rills, | ||
| + | Where blossomed many an incense-bearing tree; | ||
| + | And here were forests ancient as the hills, | ||
| + | Enfolding sunny spots of greenery. | ||
| + | </ | ||
| | < | | < | ||
| In Xanadu did Kubla Khan | In Xanadu did Kubla Khan | ||
| + | < | ||
| A stately pleasure-dome decree: | A stately pleasure-dome decree: | ||
| + | </ | ||
| Where Alph, the sacred river, ran | Where Alph, the sacred river, ran | ||
| + | < | ||
| Through caverns measureless to man | Through caverns measureless to man | ||
| + | </ | ||
| Down to a sunless sea. | Down to a sunless sea. | ||
| So twice five miles of fertile ground | So twice five miles of fertile ground | ||
| + | < | ||
| With walls and towers were girdled round: | With walls and towers were girdled round: | ||
| + | </ | ||
| And there were gardens bright with sinuous rills, | And there were gardens bright with sinuous rills, | ||
| + | < | ||
| Where blossomed many an incense-bearing tree; | Where blossomed many an incense-bearing tree; | ||
| + | </ | ||
| And here were forests ancient as the hills, | And here were forests ancient as the hills, | ||
| + | < | ||
| Enfolding sunny spots of greenery. | Enfolding sunny spots of greenery. | ||
| + | </ | ||
| </ | </ | ||
| |} | |} | ||
| {| class=wikitable style=" | {| class=wikitable style=" | ||
| - | | < | + | | < |
| + | | ||
| + | | ||
| + | | ||
| + | In Xanadu did Kubla Khan | ||
| + | A stately pleasure-dome decree: | ||
| + | Where Alph, the sacred river, ran | ||
| + | Through caverns measureless to man | ||
| + | Down to a sunless sea. | ||
| + | </ | ||
| | <poem style=" | | <poem style=" | ||
| + | < | ||
| | | ||
| | | ||
| | | ||
| + | </ | ||
| In Xanadu did Kubla Khan | In Xanadu did Kubla Khan | ||
| + | < | ||
| A stately pleasure-dome decree: | A stately pleasure-dome decree: | ||
| + | </ | ||
| Where Alph, the sacred river, ran | Where Alph, the sacred river, ran | ||
| + | < | ||
| Through caverns measureless to man | Through caverns measureless to man | ||
| + | </ | ||
| Down to a sunless sea. | Down to a sunless sea. | ||
| </ | </ | ||
| |} | |} | ||
| - | ======Format====== | + | ===== Format ===== |
| - | =====Text formatting===== | + | |
| + | ==== Text formatting ==== | ||
| {| class=" | {| class=" | ||
| |- valign=" | |- valign=" | ||
| Line 223: | Line 330: | ||
| ! What it looks like | ! What it looks like | ||
| |- id=" | |- id=" | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | 2 apostrophes on each side. |
| + | |||
| + | 3 apostrophes will **bold the text** | ||
| + | |||
| + | 5 apostrophes for **//bold italics**// | ||
| + | |||
| + | For text as {{Smallcaps|small caps}}, | ||
| + | that uses a [[Help: | ||
| + | </ | ||
| + | | | ||
| To //italicize text//, just put | To //italicize text//, just put | ||
| 2 apostrophes on each side. | 2 apostrophes on each side. | ||
| Line 233: | Line 349: | ||
| 3 apostrophes will **bold the text** | 3 apostrophes will **bold the text** | ||
| - | 5 apostrophes for //**bold italics//** | + | 5 apostrophes for **//bold italics**// |
| For text as {{Smallcaps|small caps}}, | For text as {{Smallcaps|small caps}}, | ||
| Line 244: | Line 360: | ||
| Code is displayed in a monospace font. | Code is displayed in a monospace font. | ||
| | | | | ||
| - | < | + | < |
| | | | | ||
| function < | function < | ||
| |- valign=" | |- valign=" | ||
| - | | | + | | |
| [[mw: | [[mw: | ||
| Computer code has colored text and more stringent formatting. | Computer code has colored text and more stringent formatting. | ||
| For example, to define a function: < | For example, to define a function: < | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | - include < |
| + | int m2 (int ax, char *p_ax) { | ||
| + | std::cout <<" | ||
| + | return 0; | ||
| + | }</ | ||
| + | | | ||
| < | < | ||
| - | #include < | + | - include < |
| int m2 (int ax, char *p_ax) { | int m2 (int ax, char *p_ax) { | ||
| + | < | ||
| std::cout <<" | std::cout <<" | ||
| return 0; | return 0; | ||
| + | </ | ||
| }</ | }</ | ||
| |- valign=top | |- valign=top | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | A span tag can set text font-size as | ||
| + | being <span style=" | ||
| + | of prior size</ | ||
| + | image caption.</ | ||
| + | | | ||
| Use < | Use < | ||
| Line 275: | Line 403: | ||
| image caption. | image caption. | ||
| |- valign=" | |- valign=" | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | Better not use < |
| + | unless < | ||
| + | small</ | ||
| + | </ | ||
| + | | | ||
| Better not use < | Better not use < | ||
| Line 286: | Line 418: | ||
| |- | |- | ||
| - | | | + | | |
| You can include a **non-breaking space** (sometimes called **non-printing character**) where you require two words to always appear together on the same line, such as // | You can include a **non-breaking space** (sometimes called **non-printing character**) where you require two words to always appear together on the same line, such as // | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | | |
| Mr.& | Mr.& | ||
| |- | |- | ||
| - | | | + | | |
| **Extra spacing** within text can best be achieved using the [[Template: | **Extra spacing** within text can best be achieved using the [[Template: | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | | |
| Mary {{pad|4em}} had a little lamb. | Mary {{pad|4em}} had a little lamb. | ||
| |- | |- | ||
| - | | | + | | |
| - | **Typewriter font**. | + | **Typewriter font**. |
| (Also works beyond the end of a paragraph.) | (Also works beyond the end of a paragraph.) | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | New paragraph </ | ||
| + | | | ||
| < | < | ||
| Line 316: | Line 454: | ||
| |} | |} | ||
| - | =====Special characters===== | + | ==== Special characters ==== |
| - | ====Egyptian Hieroglyphs==== | + | |
| + | === Egyptian Hieroglyphs === | ||
| {{main|Help: | {{main|Help: | ||
| Line 327: | Line 466: | ||
| |< | |< | ||
| }} | }} | ||
| - | ====Chess symbols==== | + | === Chess symbols === |
| {{main|Chess symbols in Unicode}} | {{main|Chess symbols in Unicode}} | ||
| - | ====Diacritical marks==== | + | === Diacritical marks === |
| - | * See [[Help: | + | |
| + | * See [[Help: | ||
| {| class=" | {| class=" | ||
| Line 337: | Line 477: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | & |
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | | | ||
| À Á Â Ã Ä Å Æ | À Á Â Ã Ä Å Æ | ||
| Line 363: | Line 521: | ||
| |} | |} | ||
| - | ====Punctuation==== | + | === Punctuation === |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | |||
| + | & | ||
| + | </ | ||
| + | | | ||
| ¿ ¡ § ¶ | ¿ ¡ § ¶ | ||
| Line 383: | Line 551: | ||
| |} | |} | ||
| - | ====Other punctuation==== | + | === Other punctuation === |
| - | The ‹[[HTML_element# | + | |
| + | The ‹[[HTML_element# | ||
| + | |||
| + | === Commercial symbols === | ||
| - | ====Commercial symbols==== | ||
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| Line 392: | Line 562: | ||
| |- | |- | ||
| | | | | ||
| - | < | + | < |
| + | & | ||
| + | & | ||
| + | </ | ||
| | | | | ||
| ™ © ® ¢ € ¥ <br/> | ™ © ® ¢ € ¥ <br/> | ||
| Line 398: | Line 571: | ||
| |} | |} | ||
| - | ====Subscripts and superscripts==== | + | === Subscripts and superscripts === |
| - | *The [[Wikipedia: | + | |
| - | *The latter methods of sub/ | + | |
| + | * The latter methods of sub/ | ||
| {| class=" | {| class=" | ||
| Line 407: | Line 581: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | x< |
| - | x< | + | x& |
| - | x₀ x₁ x₂ x₃ x₄ | + | x& |
| + | </ | ||
| + | | | ||
| + | |||
| + | x< | ||
| + | |||
| + | x₀ x₁ x₂ x₃ x₄ | ||
| x₅ x₆ x₇ x₈ x₉ | x₅ x₆ x₇ x₈ x₉ | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | x< |
| + | |||
| + | x& | ||
| + | |||
| + | x& | ||
| + | </ | ||
| + | | | ||
| - | x< | + | x< |
| - | x⁰ x¹ x² x³ x⁴ | + | x⁰ x¹ x² x³ x⁴ |
| x⁵ x⁶ x⁷ x⁸ x⁹ | x⁵ x⁶ x⁷ x⁸ x⁹ | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | & |
| + | |||
| + | 1 [[hectare]] = [[1 E4 m& | ||
| + | </ | ||
| + | | | ||
| & | & | ||
| Line 445: | Line 635: | ||
| |} | |} | ||
| - | ====Greek characters==== | + | === Greek characters === |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | & |
| - | α β γ δ ε ζ | + | & |
| - | η θ ι κ λ μ ν | + | & |
| - | ξ ο π ρ σ ς | + | & |
| - | τ υ φ χ ψ ω | + | & |
| - | Α Β Γ Δ Ε Ζ | + | & |
| - | Η Θ Ι Κ Λ Μ | + | & |
| - | Ν Ξ Ο Π Ρ Σ | + | & |
| + | </ | ||
| + | | | ||
| - | Τ Υ Φ Χ Ψ Ω | + | α β γ δ ε ζ |
| + | |||
| + | η θ ι κ λ μ ν | ||
| + | |||
| + | ξ ο π ρ σ ς | ||
| + | |||
| + | τ υ φ χ ψ ω | ||
| + | |||
| + | Α Β Γ Δ Ε Ζ | ||
| + | |||
| + | Η Θ Ι Κ Λ Μ | ||
| + | |||
| + | Ν Ξ Ο Π Ρ Σ | ||
| + | |||
| + | Τ Υ Φ Χ Ψ Ω | ||
| |} | |} | ||
| - | ====Mathematical characters==== | + | === Mathematical characters === |
| - | * See also [[Wikipedia: | + | |
| + | * See also [[Wikipedia: | ||
| {| class=" | {| class=" | ||
| Line 479: | Line 687: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | & |
| - | ∫ ∑ ∏ √ | + | & |
| - | − ± ∞ | + | &asymp; & |
| - | ≈ ∝ ≡ ≠ | + | & |
| - | ≤ ≥ | + | & |
| - | × · ÷ ∂ | + | &prime; & |
| - | ′ ″ | + | &nabla; &permil; & |
| - | ∇ ‰ ° ∴ ℵ | + | & |
| - | ø | + | & |
| - | ∈ ∉ ∩ ∪ | + | & |
| - | ⊂ ⊃ ⊆ ⊇ | + | & |
| - | ¬ ∧ ∨ ∃ ∀ | + | & |
| - | ⇒ ⇐ ⇓ ⇑ ⇔ | + | & |
| + | </ | ||
| + | | | ||
| + | |||
| + | ∫ ∑ ∏ √ | ||
| + | |||
| + | − ± ∞ | ||
| + | |||
| + | ≈ ∝ ≡ ≠ | ||
| + | |||
| + | ≤ ≥ | ||
| + | |||
| + | × · ÷ ∂ | ||
| + | |||
| + | ′ & | ||
| + | |||
| + | ∇ ‰ ° ∴ ℵ | ||
| + | |||
| + | ø | ||
| + | |||
| + | ∈ ∉ ∩ ∪ | ||
| + | |||
| + | ⊂ ⊃ ⊆ ⊇ | ||
| + | |||
| + | ¬ ∧ ∨ ∃ ∀ | ||
| + | |||
| + | ⇒ ⇐ ⇓ ⇑ ⇔ | ||
| - | → ↓ ↑ ← ↔ | + | → ↓ ↑ ← ↔ |
| |} | |} | ||
| - | ====Mathematical formulae==== | + | === Mathematical formulae === |
| {{main|Help: | {{main|Help: | ||
| - | *Formulae that include mathematical letters, like {{math|x}}, and operators like < | + | |
| - | *The {{tag|math|o}} tag typesets using [[MOS: | + | |
| - | *The {{tl|math}} template [[MOS: | + | |
| {{markup | {{markup | ||
| |< | |< | ||
| - | < | + | < |
| - | - \frac {y}{z^2} = 0</ | + | < |
| + | | ||
| + | </code> | ||
| {{crlf|}} | {{crlf|}} | ||
| {{math|2x & | {{math|2x & | ||
| 6z + 8 & | 6z + 8 & | ||
| + | < | ||
| |y|z< | |y|z< | ||
| + | </ | ||
| - | < | + | < |
| - | < | + | < |
| {{math|sin 2& | {{math|sin 2& | ||
| </ | </ | ||
| - | |< | + | |< |
| - | - \frac {y}{z^2} = 0</ | + | < |
| + | | ||
| + | </code> | ||
| {{crlf|}} | {{crlf|}} | ||
| {{math|2x × 4y ÷ | {{math|2x × 4y ÷ | ||
| 6z + 8 − {{Fraction | 6z + 8 − {{Fraction | ||
| + | < | ||
| |y|z< | |y|z< | ||
| + | </ | ||
| - | < | + | < |
| }} | }} | ||
| - | < | + | < |
| }} | }} | ||
| {{math|sin 2π//x// + ln //e//}} | {{math|sin 2π//x// + ln //e//}} | ||
| }} | }} | ||
| - | ====Spacing in simple math formulae==== | + | === Spacing in simple math formulae === |
| - | * Using **< | + | |
| + | * Using **< | ||
| {| class=" | {| class=" | ||
| Line 558: | Line 801: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | It follows that {{math |
| + | |// | ||
| + | </ | ||
| + | | | ||
| It follows that {{math | It follows that {{math | ||
| - | |// | + | |// |
| |} | |} | ||
| - | ====Complicated formulae==== | + | === Complicated formulae === |
| - | * See [[Help: | + | |
| - | * A formula displayed on a line by itself should probably be indented by using the colon (:) character. | + | * See [[Help: |
| + | * A formula displayed on a line by itself should probably be indented by using the colon (:) character. | ||
| {| class=" | {| class=" | ||
| Line 575: | Line 822: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | > < |
| + | </ | ||
| + | | | ||
| - | : < | + | > < |
| |} | |} | ||
| - | ======Links and URLs====== | + | ===== Links and URLs ===== |
| - | =====Free links===== | + | |
| + | ==== Free links ==== | ||
| In [[Wikipedia]] and some other [[wiki]]s, **free links** are used in [[wikitext]] markup to produce [[internal link]]s between pages, as opposed to the concept of [[CamelCase]] for the same purpose, which was used in the early days of Wikipedia — see [[Wikipedia: | In [[Wikipedia]] and some other [[wiki]]s, **free links** are used in [[wikitext]] markup to produce [[internal link]]s between pages, as opposed to the concept of [[CamelCase]] for the same purpose, which was used in the early days of Wikipedia — see [[Wikipedia: | ||
| - | In [[Wikipedia: | + | In [[Wikipedia: |
| - | ====Link to another wiki article==== | + | === Link to another wiki article === |
| - | * Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended). | + | |
| - | * Thus the link hereafter is to the Web address < | + | * Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended). |
| - | * [[Intentionally permanent red link|A red link]] is a page that doesn' | + | * Thus the link hereafter is to the Web address < |
| - | * [[Help:Self link|A link to its own page]] will appear only as bold text. | + | * [[Intentionally permanent red link|A red link]] is a page that doesn' |
| + | * [[Help:Self link|A link to its own page]] will appear only as bold text. | ||
| {| class=" | {| class=" | ||
| Line 599: | Line 851: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| London has [[public transport]]. | London has [[public transport]]. | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| Link to this own article: " | Link to this own article: " | ||
| |} | |} | ||
| - | ====Renamed link==== | + | === Renamed link === |
| - | * Same target, different name. | + | |
| - | * The target (" | + | * Same target, different name. |
| + | * The target (" | ||
| {| class=" | {| class=" | ||
| Line 618: | Line 871: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| | | | | ||
| Line 624: | Line 877: | ||
| |} | |} | ||
| - | ====Automatically rename links==== | + | === Automatically rename links === |
| - | * Simply typing the pipe character (|) after a link will automatically rename the link in certain circumstances. The next time you open the edit box you will see the expanded piped link. When [[Help:Show preview|previewing]] your edits, you will not see the expanded form until you press **Save** and **Edit** again. The same applies to [[# | + | |
| - | * See [[Help:Pipe trick|Pipe trick]] for details. | + | * Simply typing the pipe character (|) after a link will automatically rename the link in certain circumstances. The next time you open the edit box you will see the expanded piped link. When [[Help:Show preview|previewing]] your edits, you will not see the expanded form until you press **Save** and **Edit** again. The same applies to [[# |
| + | * See [[Help:Pipe trick|Pipe trick]] for details. | ||
| {| class=" | {| class=" | ||
| Line 633: | Line 887: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[kingdom (biology)|kingdom]] | [[kingdom (biology)|kingdom]] | ||
| |- | |- | ||
| Line 644: | Line 898: | ||
| | [[Seattle, Washington|Seattle]] | | [[Seattle, Washington|Seattle]] | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Wikipedia: | [[Wikipedia: | ||
| |- | |- | ||
| - | | | + | | |
| //Or both// | //Or both// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Wikipedia: | [[Wikipedia: | ||
| |- | |- | ||
| - | | | + | | |
| //< | //< | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Wikipedia: | [[Wikipedia: | ||
| |} | |} | ||
| - | ====Blend link==== | + | === Blend link === |
| - | * Endings are blended into the link. | + | |
| - | * // | + | * Endings are blended into the link. |
| - | * Preferred style is to use this instead of a piped link, if possible. | + | * // |
| - | * Blending can be suppressed by using the {{tag|nowiki|s}} tag, which may be desirable in some instances. | + | * Preferred style is to use this instead of a piped link, if possible. |
| + | * Blending can be suppressed by using the {{tag|nowiki|s}} tag, which may be desirable in some instances. | ||
| {| class=" | {| class=" | ||
| Line 677: | Line 932: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| //Blending active.// | //Blending active.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, | San Francisco also has [[public transport]]ation. Examples include [[bus]]es, [[taxicab]]s, | ||
| |- | |- | ||
| - | | | + | | |
| //Blending suppressed.// | //Blending suppressed.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| A [[micro-]]< | A [[micro-]]< | ||
| |} | |} | ||
| - | ====Link to a section of a page==== | + | === Link to a section of a page === |
| - | * The part after the number sign (#) must match a [[Section_editing# | + | |
| - | * Include "| link title" to create a stylish ([[WP: | + | * The part after the number sign (#) must match a [[Section_editing# |
| - | * If sections have the same title, add a number to link to any but the first. [[#Example section 3]] goes to the third section named " | + | * Include "| link title" to create a stylish ([[WP: |
| + | * If sections have the same title, add a number to link to any but the first. [[#Example section 3]] goes to the third section named " | ||
| {| class=" | {| class=" | ||
| Line 701: | Line 957: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Wikipedia: | [[Wikipedia: | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[#Links and URLs]] is a link to another section on the current page. [[#Links and URLs|Links and URLs]] is a link to the same section without showing the # symbol. | [[#Links and URLs]] is a link to another section on the current page. [[#Links and URLs|Links and URLs]] is a link to the same section without showing the # symbol. | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Wikipedia: | [[Wikipedia: | ||
| |} | |} | ||
| - | ====Create page link==== | + | === Create page link === |
| - | * To create a new page: | + | |
| - | *# Create a link to it on some other (related) page. | + | * To create a new page: |
| - | *# Save that page. | + | * # Create a link to it on some other (related) page. |
| - | *# Click on the link you just made. The new page will open for editing. | + | * # Save that page. |
| - | * For more information, | + | * # Click on the link you just made. The new page will open for editing. |
| - | * Please do not create a new article without linking to it from at least one other article. | + | * For more information, |
| + | * Please do not create a new article without linking to it from at least one other article. | ||
| {| class=" | {| class=" | ||
| Line 730: | Line 987: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| //Links to pages that don’t exist yet look red.// | //Links to pages that don’t exist yet look red.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| The article about [[cardboard sandwiches]] doesn' | The article about [[cardboard sandwiches]] doesn' | ||
| |} | |} | ||
| - | =====Redirects===== | + | ==== Redirects ==== |
| - | * [[Wikipedia: | + | |
| - | * It is possible to redirect to a section. For example, a redirect to [[United States# | + | * [[Wikipedia: |
| + | * It is possible to redirect to a section. For example, a redirect to [[United States# | ||
| {| class=" | {| class=" | ||
| Line 757: | Line 1015: | ||
| |} | |} | ||
| - | =====Link to another [[Help: | + | ==== Link to another [[Help: |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| | | | | ||
| Line 768: | Line 1027: | ||
| |} | |} | ||
| - | =====Link to the same article in another language (interlanguage links)===== | + | ==== Link to the same article in another language (interlanguage links) ==== |
| - | * To link to a corresponding page in another language, use the form: < | + | |
| - | * It is recommended interlanguage links be placed at the very end of the article. | + | * To link to a corresponding page in another language, use the form: < |
| - | * Interlanguage links are not visible within the formatted article, but instead appear as language links on the sidebar (to the left) under the menu section " | + | * It is recommended interlanguage links be placed at the very end of the article. |
| - | * For further help, please see [[Help: | + | * Interlanguage links are not visible within the formatted article, but instead appear as language links on the sidebar (to the left) under the menu section " |
| - | < | + | * For further help, please see [[Help: |
| + | < | ||
| {| class=" | {| class=" | ||
| Line 784: | Line 1044: | ||
| //" | //" | ||
| | | | | ||
| - | < | + | < |
| + | [[es: | ||
| + | </ | ||
| |- | |- | ||
| Line 790: | Line 1052: | ||
| //Other examples: German (< | //Other examples: German (< | ||
| | | | | ||
| - | < | + | < |
| + | [[de: | ||
| + | [[ru: | ||
| + | [[simple: | ||
| + | </ | ||
| |} | |} | ||
| - | =====[[InterWiki|Interwiki]] link===== | + | ==== [[InterWiki|Interwiki]] link ==== |
| - | * Link to any page on other Wikimedia wikis. | + | |
| - | * Note that interwiki links use the // | + | * Link to any page on other Wikimedia wikis. |
| - | * See [[MetaWikiPedia: | + | * Note that interwiki links use the // |
| - | * See also [[Wikipedia: | + | * See [[MetaWikiPedia: |
| + | * See also [[Wikipedia: | ||
| {| class=" | {| class=" | ||
| Line 805: | Line 1072: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | colspan=" | + | | colspan=" |
| Linking to a page on another wiki in English. | Linking to a page on another wiki in English. | ||
| All of these forms lead to the URL < | All of these forms lead to the URL < | ||
| |- | |- | ||
| - | | | + | | |
| //Simple link.// | //Simple link.// | ||
| Line 816: | Line 1083: | ||
| //Named link.// | //Named link.// | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | <code>< | ||
| + | |||
| + | <code>< | ||
| + | | | ||
| [[Wiktionary: | [[Wiktionary: | ||
| Line 825: | Line 1096: | ||
| [[Wiktionary: | [[Wiktionary: | ||
| |- | |- | ||
| - | | colspan=" | + | | colspan=" |
| Linking to a page on another wiki in another language. | Linking to a page on another wiki in another language. | ||
| All of these forms lead to the URL < | All of these forms lead to the URL < | ||
| |- | |- | ||
| - | | | + | | |
| //Simple link.// | //Simple link.// | ||
| Line 836: | Line 1107: | ||
| //Named link.// | //Named link.// | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | <code>< | ||
| + | |||
| + | <code>< | ||
| + | | | ||
| [[Wiktionary: | [[Wiktionary: | ||
| Line 846: | Line 1121: | ||
| |} | |} | ||
| - | =====Categories===== | + | ==== Categories ==== |
| - | * To put an article in a [[Wikipedia: | + | |
| - | * To link to a category page without putting the article into the category, use a colon prefix (": | + | * To put an article in a [[Wikipedia: |
| + | * To link to a category page without putting the article into the category, use a colon prefix (": | ||
| {| class=" | {| class=" | ||
| Line 855: | Line 1131: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| // | // | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| |- | |- | ||
| - | | | + | | |
| //Link to a category.// | //Link to a category.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[: | [[: | ||
| |- | |- | ||
| - | | | + | | |
| //Without prefix.// | //Without prefix.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[: | [[: | ||
| |} | |} | ||
| - | =====External links===== | + | ==== External links ==== |
| <!-- linked from [[Wikipedia: | <!-- linked from [[Wikipedia: | ||
| - | *Square brackets indicate an external link. Note the use of a //space// (not a pipe) to separate the URL from the link text in the " | + | |
| - | *An [[Uniform Resource Locator|URL]] must begin with a supported [[URI scheme]]: < | + | * An [[Uniform Resource Locator|URL]] must begin with a supported [[URI scheme]]: < |
| - | *An URL containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by < | + | * An URL containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by < |
| - | :*Use the link button | + | >*Use the link button |
| - | :*Or manually encode the URL by replacing these characters: | + | >*Or manually encode the URL by replacing these characters: |
| {| class=" | {| class=" | ||
| - | ! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [[|!! ]] | + | ! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [[ !! ]] |
| |- | |- | ||
| | %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d | | %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d | ||
| |} | |} | ||
| - | :*Or use the < | + | >*Or use the < |
| - | * See [[Wikipedia: | + | * See [[Wikipedia: |
| - | {| class=" | + | {| class=" |
| ! Description | ! Description | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| //Named link// with an [[Help: | //Named link// with an [[Help: | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[http:// | [[http:// | ||
| |- | |- | ||
| - | | | + | | |
| //Unnamed link// | //Unnamed link// | ||
| //(Only used within article body for footnotes)// | //(Only used within article body for footnotes)// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[http:// | [[http:// | ||
| |- | |- | ||
| - | | | + | | |
| //Bare URL// | //Bare URL// | ||
| //(Bad style)// | //(Bad style)// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| http:// | http:// | ||
| |- | |- | ||
| - | | | + | | |
| //Link without arrow// | //Link without arrow// | ||
| //(Not often used)// | //(Not often used)// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| <span class=" | <span class=" | ||
| |} | |} | ||
| - | =====Miscellaneous===== | + | ==== Miscellaneous ==== |
| - | ===="As of" tag==== | + | |
| - | * " | + | === "As of" tag === |
| + | |||
| + | * " | ||
| For an explanation of the parameters see [[Template: | For an explanation of the parameters see [[Template: | ||
| Line 943: | Line 1221: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| {{As of|2009|4|df=us}} | {{As of|2009|4|df=us}} | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| {{As of|2009|4|df=us|lc=on}} | {{As of|2009|4|df=us|lc=on}} | ||
| |} | |} | ||
| - | ====Media link==== | + | === Media link === |
| - | * To include links to non image uploads such as sounds, use a " | + | |
| - | * Some uploaded sounds are listed at [[Commons: | + | * To include links to non image uploads such as sounds, use a " |
| + | * Some uploaded sounds are listed at [[Commons: | ||
| {| class=" | {| class=" | ||
| Line 962: | Line 1241: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[media: | [[media: | ||
| |} | |} | ||
| - | ====Links directly into edit mode==== | + | === Links directly into edit mode === |
| {| class=" | {| class=" | ||
| ! Description | ! Description | ||
| Line 974: | Line 1254: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| //Full URL.// | //Full URL.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| {{fullurl: | {{fullurl: | ||
| |- | |- | ||
| - | | | + | | |
| //" | //" | ||
| - | | | + | | |
| [[template: | [[template: | ||
| - | | | + | | |
| {{edit}} | {{edit}} | ||
| |} | |} | ||
| - | ====Automatic links==== | + | === Automatic links === |
| - | ===Book sources=== | + | |
| - | * Link to books using their [[Wikipedia: | + | == Book sources == |
| - | * To create a link to [[Special: | + | |
| + | * Link to books using their [[Wikipedia: | ||
| + | * To create a link to [[Special: | ||
| {| class=" | {| class=" | ||
| Line 998: | Line 1280: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| ISBN 012345678X | ISBN 012345678X | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| ISBN 0-12-345678-X | ISBN 0-12-345678-X | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| Link to a book using [[Special: | Link to a book using [[Special: | ||
| |} | |} | ||
| - | ===RFC number=== | + | == RFC number == |
| - | * Link to an [[Internet Engineering Task Force]] [[Request for Comments|Request for Comments (RFC)]]. | + | |
| + | * Link to an [[Internet Engineering Task Force]] [[Request for Comments|Request for Comments (RFC)]]. | ||
| {| class=" | {| class=" | ||
| Line 1021: | Line 1304: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| | | | | ||
| Line 1027: | Line 1310: | ||
| |} | |} | ||
| - | ======Pronunciation aids====== | + | ===== Pronunciation aids ===== |
| It is often desirable to provide an aid to pronunciation for a word. The [[Template: | It is often desirable to provide an aid to pronunciation for a word. The [[Template: | ||
| Line 1034: | Line 1318: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| **Konjac** ({{IPAc-en|lang|pron|ˈ|k|oʊ|n|j|æ|k}}) | **Konjac** ({{IPAc-en|lang|pron|ˈ|k|oʊ|n|j|æ|k}}) | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| | | | | ||
| **Konjac** ({{IPAc-en|lang|pron|ˈ|k|oʊ|n|j|æ|k}} {{respell|KOHN|yak}}) | **Konjac** ({{IPAc-en|lang|pron|ˈ|k|oʊ|n|j|æ|k}} {{respell|KOHN|yak}}) | ||
| - | | | + | | |
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| //Konjac// is pronounced {{IPAc-en|ˈ|k|oʊ|n|j|æ|k}} in English. | //Konjac// is pronounced {{IPAc-en|ˈ|k|oʊ|n|j|æ|k}} in English. | ||
| |} | |} | ||
| Line 1053: | Line 1337: | ||
| Refer to [[Wikipedia: | Refer to [[Wikipedia: | ||
| - | ======Images====== | + | ===== Images ===== |
| Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special: | Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special: | ||
| Line 1062: | Line 1347: | ||
| ! Notes | ! Notes | ||
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | A picture: | | A picture: | ||
| - | {{wiki:wiki.png}} | + | [[File:wiki.png]] |
| - | | | + | | |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | With alternative text: | | With alternative text: | ||
| - | {{wiki: | + | [[File: |
| - | | | + | | |
| - | * Alternative text, used when the image is unavailable or when the image is loaded in a text-only browser, or when spoken aloud, is **strongly** encouraged. See [[Wikipedia: | + | * Alternative text, used when the image is unavailable or when the image is loaded in a text-only browser, or when spoken aloud, is **strongly** encouraged. See [[Wikipedia: |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | With link: | | With link: | ||
| - | [[Wikipedia|{{wiki:wiki.png}}]]<br clear=all /> | + | [[File:wiki.png|link=Wikipedia]]<br clear=all /> |
| - | | | + | | |
| - | * Links direct to a page instead of the file. | + | * Links direct to a page instead of the file. |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | Floating to the right side of the page using the //frame// attribute and a caption: | | Floating to the right side of the page using the //frame// attribute and a caption: | ||
| - | {{wiki: | + | [[File:wiki.png|frame|alt=Puzzle globe|Wikipedia logo]]<br clear=all /> |
| - | | | + | | |
| - | * The frame tag automatically floats the image right. | + | * The frame tag automatically floats the image right. |
| - | * The last parameter is the caption that appears below the image. | + | * The last parameter is the caption that appears below the image. |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | Floating to the right side of the page using the //thumb// attribute and a caption: | | Floating to the right side of the page using the //thumb// attribute and a caption: | ||
| - | {{wiki: | + | [[File:wiki.png|thumb|alt=Puzzle globe|Wikipedia logo]]<br clear=all /> |
| - | | | + | | |
| - | * The thumb tag automatically floats the image right. | + | * The thumb tag automatically floats the image right. |
| - | * An enlarge icon is placed in the lower right corner. | + | * An enlarge icon is placed in the lower right corner. |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | Floating to the right side of the page //without// a caption: | | Floating to the right side of the page //without// a caption: | ||
| - | {{wiki:wiki.png |Wikipedia encyclopedia}} | + | [[File:wiki.png|right|Wikipedia encyclopedia]] |
| - | | | + | | |
| - | * The [[WP: | + | * The [[WP: |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | A picture resized to 30 pixels... | | A picture resized to 30 pixels... | ||
| - | {{wiki: | + | [[File:wiki.png|30 px|Wikipedia encyclopedia]] |
| - | | | + | | |
| - | * The [[WP: | + | * The [[WP: |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | Linking directly to the description page of an image: | | Linking directly to the description page of an image: | ||
| [[: | [[: | ||
| - | | | + | | |
| - | * Clicking on an image displayed on a page (such as any of the ones above) also leads to the description page. | + | * Clicking on an image displayed on a page (such as any of the ones above) also leads to the description page. |
| |- valign=" | |- valign=" | ||
| - | | < | + | | < |
| + | < | ||
| | Linking directly to an image without displaying it: | | Linking directly to an image without displaying it: | ||
| [[Media: | [[Media: | ||
| - | | | + | | |
| - | * To include links to images shown as links instead of drawn on the page, use a " | + | * To include links to images shown as links instead of drawn on the page, use a " |
| |- valign=" | |- valign=" | ||
| - | | | + | | |
| - | < | + | < |
| + | <div style=" | ||
| + | Place images here </ | ||
| - | | | + | | |
| Example: | Example: | ||
| <div style=" | <div style=" | ||
| Place images here </ | Place images here </ | ||
| - | | | + | | |
| Using the [[Span and div|< | Using the [[Span and div|< | ||
| |- valign=" | |- valign=" | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | {| align=right |
| + | |- | ||
| + | | | ||
| + | Place images here | ||
| + | |}</ | ||
| + | |||
| + | | | ||
| Example: | Example: | ||
| {| align=right | {| align=right | ||
| |- | |- | ||
| - | | | + | | |
| Place images here | Place images here | ||
| |} | |} | ||
| - | | | + | | |
| Using wiki markup to make a table in which to place a vertical column of images (this helps edit links match headers, especially in Firefox browsers). | Using wiki markup to make a table in which to place a vertical column of images (this helps edit links match headers, especially in Firefox browsers). | ||
| Line 1175: | Line 1477: | ||
| For further help on images, including some more versatile abilities, see the [[WP: | For further help on images, including some more versatile abilities, see the [[WP: | ||
| - | ======Tables====== | + | ===== Tables ===== |
| - | There are two ways to build tables: | + | |
| - | * In special wiki-markup (see [[Help: | + | There are two ways to build tables: |
| - | * Using HTML elements: & | + | * In special wiki-markup (see [[Help: |
| + | * Using HTML elements: & | ||
| See also [[Wikipedia: | See also [[Wikipedia: | ||
| - | ======References and citing sources====== | + | ===== References and citing sources ===== |
| {{main|Wikipedia: | {{main|Wikipedia: | ||
| {{see also|APA style|Chicago style|Harvard style|MLA style}} | {{see also|APA style|Chicago style|Harvard style|MLA style}} | ||
| Line 1228: | Line 1531: | ||
| |} | |} | ||
| - | ======Templates and transcluding pages====== | + | ===== Templates and transcluding pages ===== |
| {{main|Wikipedia: | {{main|Wikipedia: | ||
| {{see also|Help: | {{see also|Help: | ||
| Line 1239: | Line 1542: | ||
| There are three pairs of [[html element|tags]] that can be used in [[wikitext]] to control how transclusion affects parts of a template or article. | There are three pairs of [[html element|tags]] that can be used in [[wikitext]] to control how transclusion affects parts of a template or article. | ||
| They determine whether or not wikitext renders, either in its own article, which we will call " | They determine whether or not wikitext renders, either in its own article, which we will call " | ||
| - | ***< | + | |
| - | ***< | + | * **< |
| - | ***< | + | * **< |
| There can be several such section " | There can be several such section " | ||
| - | If a page is transcluded without transclusion markup, | + | If a page is transcluded without transclusion markup, |
| - | it may cause an unintentional [[Help: | + | it may cause an unintentional [[Help: |
| Any page transcluding it will contain the same category as the original page. | Any page transcluding it will contain the same category as the original page. | ||
| Wrap the category markup with **< | Wrap the category markup with **< | ||
| Line 1255: | Line 1558: | ||
| !width=" | !width=" | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | | |
| {{Transclusion demo}} | {{Transclusion demo}} | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | | |
| {{Help: | {{Help: | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | This template takes two parameters, |
| + | and creates underlined text with a | ||
| + | hover box for many modern browsers | ||
| + | supporting CSS: | ||
| + | |||
| + | {{H: | ||
| + | Hover your mouse over this text}} | ||
| + | |||
| + | Go to this page to see the H:title | ||
| + | template itself: {{tl|H: | ||
| + | </ | ||
| + | | | ||
| This template takes two parameters, | This template takes two parameters, | ||
| Line 1282: | Line 1596: | ||
| |} | |} | ||
| - | ======Talk and project pages====== | + | ===== Talk and project pages ===== |
| - | =====Signing comments===== | + | |
| - | * The character **tilde** (~) is used when adding a comment to a Talk page. | + | ==== Signing comments ==== |
| - | * Your username provides a link to your [[Wikipedia: | + | |
| + | * The character **tilde** (~) is used when adding a comment to a Talk page. | ||
| + | * Your username provides a link to your [[Wikipedia: | ||
| {| class=" | {| class=" | ||
| Line 1292: | Line 1608: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| //You should sign your comments by appending four tildes to the comment, which adds your user name plus date/ | //You should sign your comments by appending four tildes to the comment, which adds your user name plus date/ | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Special: | [[Special: | ||
| |- | |- | ||
| - | | | + | | |
| //Adding three tildes will add just your user name.// | //Adding three tildes will add just your user name.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Special: | [[Special: | ||
| |- | |- | ||
| - | | | + | | |
| //Adding five tildes gives the date/time alone.// | //Adding five tildes gives the date/time alone.// | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| {{CURRENTTIME}}, | {{CURRENTTIME}}, | ||
| |} | |} | ||
| - | =====What links here and related changes===== | + | ==== What links here and related changes ==== |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Special: | [[Special: | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[Special: | [[Special: | ||
| |} | |} | ||
| - | =====Linking to old revisions of pages, diffs, and specific history pages===== | + | ==== Linking to old revisions of pages, diffs, and specific history pages ==== |
| - | * External link function is used for these. | + | |
| - | * Open an old revision or diff and copy the URL from the address bar, pasting it where you want it. | + | * External link function is used for these. |
| + | * Open an old revision or diff and copy the URL from the address bar, pasting it where you want it. | ||
| {| class=" | {| class=" | ||
| Line 1338: | Line 1656: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| [[http:// | [[http:// | ||
| |} | |} | ||
| - | =====User edits===== | + | ==== User edits ==== |
| - | * Link to a user's **Contributions** page. | + | |
| + | * Link to a user's **Contributions** page. | ||
| {| class=" | {| class=" | ||
| Line 1365: | Line 1684: | ||
| |} | |} | ||
| - | =====Coloring text===== | + | ==== Coloring text ==== |
| {| class=" | {| class=" | ||
| ! What you type | ! What you type | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| I will change the color in {{color|red|the middle part of}} this sentence. | I will change the color in {{color|red|the middle part of}} this sentence. | ||
| Line 1380: | Line 1700: | ||
| |} | |} | ||
| - | =====Show deleted or inserted text===== | + | ==== Show deleted or inserted text ==== |
| - | * When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way. | + | |
| - | * When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material. | + | * When editing regular Wikipedia articles, just make your changes and do not mark them up in any special way. |
| - | * For striking out material, the {{tag|s|content=}} markup is a less semantic element than {{tag|del|content=}}. | + | * When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material. |
| + | * For striking out material, the {{tag|s|content=}} markup is a less semantic element than {{tag|del|content=}}. | ||
| {| class=" | {| class=" | ||
| Line 1389: | Line 1710: | ||
| ! What it looks like | ! What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| - | | | + | | |
| You can < | You can < | ||
| |- | |- | ||
| - | | | + | | |
| < | < | ||
| You can {{tag|s|content=strike out deleted material}} and {{tag|u|content=underline new material}}.</ | You can {{tag|s|content=strike out deleted material}} and {{tag|u|content=underline new material}}.</ | ||
| - | | | + | | |
| Alternative markup: | Alternative markup: | ||
| Line 1409: | Line 1730: | ||
| ;Notes | ;Notes | ||
| - | :The {{tag|s}} element is listed as [[http:// | + | >The {{tag|s}} element is listed as [[http:// |
| + | |||
| + | ===== {{anchor|Limiting formatting}} Limiting formatting / escaping wiki markup ===== | ||
| - | ======{{anchor|Limiting formatting}} Limiting formatting / escaping wiki markup====== | ||
| A few different kinds of formatting will tell the wiki to display things as you typed them — what you see is what you get! —. | A few different kinds of formatting will tell the wiki to display things as you typed them — what you see is what you get! —. | ||
| Line 1419: | Line 1741: | ||
| !What it looks like | !What it looks like | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | & | ||
| + | The nowiki tag ignores [[wiki]] | ||
| + | //markup//. It reformats text by | ||
| + | removing newlines and multiple | ||
| + | spaces. It still interprets | ||
| + | special characters: & | ||
| + | & | ||
| + | | | ||
| **& | **& | ||
| Line 1432: | Line 1762: | ||
| </ | </ | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | & | ||
| + | //markup// as does the & | ||
| + | tag. Additionally, | ||
| + | in a mono-spaced font, and does | ||
| + | not reformat | ||
| + | It still interprets special | ||
| + | characters: & | ||
| + | & | ||
| + | | | ||
| **& | **& | ||
| - | < | + | < |
| + | //markup// as does the & | ||
| + | tag. Additionally, | ||
| + | in a mono-spaced font, and does | ||
| + | not reformat | ||
| + | It still interprets special | ||
| + | characters: →</ | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| - | **[[Text|without a URL]]:** | + | |
| Single square brackets holding | Single square brackets holding | ||
| - | [[text|without a HTTP URL]] are | + | [[text |
| + | preserved, but single square | ||
| + | brackets containing a URL are | ||
| + | treated as being an external | ||
| + | [[http:// | ||
| + | | | ||
| + | **[[Text without a URL]]:** | ||
| + | |||
| + | Single square brackets holding | ||
| + | [[text | ||
| preserved, but single square | preserved, but single square | ||
| brackets containing a URL are | brackets containing a URL are | ||
| Line 1451: | Line 1803: | ||
| [[http:// | [[http:// | ||
| |- | |- | ||
| - | | | + | | |
| - | < | + | < |
| - | | | + | |
| + | Leading spaces are another way | ||
| + | to preserve formatting. | ||
| + | | ||
| + | | ||
| + | stops the text | ||
| + | being reformatted. | ||
| + | < | ||
| + | It still interprets [[wiki]] //markup// and special characters: & | ||
| + | </ | ||
| + | | | ||
| **Leading space:** | **Leading space:** | ||
| - | Leading spaces are another way | + | Leading spaces are another way |
| to preserve formatting. | to preserve formatting. | ||
| + | < | ||
| | | ||
| | | ||
| stops the text from | stops the text from | ||
| - | being reformatted. | + | being reformatted. |
| It still interprets [[wiki]] //markup// and special characters: → | It still interprets [[wiki]] //markup// and special characters: → | ||
| + | </ | ||
| |} | |} | ||
| - | =====Nowiki===== | + | ==== Nowiki ==== |
| {{shortcut|WP: | {{shortcut|WP: | ||
| Line 1479: | Line 1843: | ||
| A singular {{tag|nowiki|s}} can be used to break wikimarkup. | A singular {{tag|nowiki|s}} can be used to break wikimarkup. | ||
| - | * Markup such as {{code|*}}, {{code|#}}, {{code|;}} and {{code|:}} only and always take effect at the beginning of a line. A {{tag|nowiki|s}} | + | * Markup such as {{code|*}}, {{code|#}}, {{code|;}} and {{code|:}} only and always take effect at the beginning of a line. A {{tag|nowiki|s}} |
| - | * An internal link immediately followed by characters are blended to form a single link. Where this is not desired, add a {{tag|nowiki|s}} after the link. | + | * An internal link immediately followed by characters are blended to form a single link. Where this is not desired, add a {{tag|nowiki|s}} after the link. |
| {{markup|title={{tag|nowiki|o}} examples | {{markup|title={{tag|nowiki|o}} examples | ||
| |< | |< | ||
| |{{crlf2}} | |{{crlf2}} | ||
| - | * Unordered list | + | * Unordered list |
| |< | |< | ||
| |{{crlf2}} | |{{crlf2}} | ||
| Line 1497: | Line 1861: | ||
| |< | |< | ||
| |[[< | |[[< | ||
| - | |< | + | |< |
| - | |[< | + | |[[<nowiki /> |
| }} | }} | ||
| Line 1520: | Line 1884: | ||
| When used in a template, {{tag|nowiki|o}} simply does not work as you may expect. | When used in a template, {{tag|nowiki|o}} simply does not work as you may expect. | ||
| - | * Including {{tag|nowiki|o}} immediately acts upon the enclosed markup. Attempting to escape or transclude the brackets causes {{tag|nowiki|s}} to not work at all. | + | * Including {{tag|nowiki|o}} immediately acts upon the enclosed markup. Attempting to escape or transclude the brackets causes {{tag|nowiki|s}} to not work at all. |
| - | * Using {{code|# | + | * Using {{code|# |
| - | * Templates, parameters, parser functions, and parser magic such as signatures are parsed, not nowikied. | + | * Templates, parameters, parser functions, and parser magic such as signatures are parsed, not nowikied. |
| - | * Included {{tag|ref|o}} tags will expose the [[Help: | + | * Included {{tag|ref|o}} tags will expose the [[Help: |
| {{markup | {{markup | ||
| Line 1537: | Line 1901: | ||
| }} | }} | ||
| - | =====Pre===== | + | ==== Pre ==== |
| {{shortcut|WP: | {{shortcut|WP: | ||
| Line 1543: | Line 1907: | ||
| {{markup|title={{tag|pre|o}} examples | {{markup|title={{tag|pre|o}} examples | ||
| - | |< | + | |< |
| - | |< | + | |
| + | [[wiki]] markup & | ||
| + | |< | ||
| + | |||
| + | [[wiki]] markup &</ | ||
| }} | }} | ||
| {{tag|pre|o}} formatted text does not wrap, thus text may extend past the browser window: | {{tag|pre|o}} formatted text does not wrap, thus text may extend past the browser window: | ||
| - | < | + | < |
| To resolve this, {{tag|pre|o}} may use CSS styling to add wrapping or a horizontal scrollbar: | To resolve this, {{tag|pre|o}} may use CSS styling to add wrapping or a horizontal scrollbar: | ||
| - | * {{tag|pre|o|params=style=" | + | * {{tag|pre|o|params=style=" |
| - | * {{tag|pre|o|params=style=" | + | * {{tag|pre|o|params=style=" |
| Since this involves quite a bit of markup, the template {{tl|pre2}} is useful. | Since this involves quite a bit of markup, the template {{tl|pre2}} is useful. | ||
| - | ======Invisible text (comments)====== | + | ===== Invisible text (comments) ===== |
| {{Merge to|Help: | {{Merge to|Help: | ||
| {{see also|Help: | {{see also|Help: | ||
| It's uncommon{{spaced ndash}}but on occasion acceptable for notes to other editors{{spaced ndash}}to add a hidden comment within the text of an article. These comments are only visible when editing or viewing the source of a page. Most comments should go on the appropriate [[Wikipedia: | It's uncommon{{spaced ndash}}but on occasion acceptable for notes to other editors{{spaced ndash}}to add a hidden comment within the text of an article. These comments are only visible when editing or viewing the source of a page. Most comments should go on the appropriate [[Wikipedia: | ||
| + | < | ||
| < | < | ||
| This won't be visible except in " | This won't be visible except in " | ||
| + | </ | ||
| Another way to include a comment in the wiki markup uses the {{tl|Void}} template, which can be abbreviated as {{tl|^}}. This template " | Another way to include a comment in the wiki markup uses the {{tl|Void}} template, which can be abbreviated as {{tl|^}}. This template " | ||
| - | ======Variables====== | + | ===== Variables ===== |
| {{seealso| Help: | {{seealso| Help: | ||
| Line 1579: | Line 1950: | ||
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| Monday = 1, Tuesday = 2, etc., but Sunday = 0 | Monday = 1, Tuesday = 2, etc., but Sunday = 0 | ||
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{CURRENTMONTHNAME}} | | {{CURRENTMONTHNAME}} | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{CURRENTMONTHNAMEGEN}} | | {{CURRENTMONTHNAMEGEN}} | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{NUMBEROFARTICLES}} | | {{NUMBEROFARTICLES}} | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{NUMBEROFPAGES}} | | {{NUMBEROFPAGES}} | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{NUMBEROFUSERS}} | | {{NUMBEROFUSERS}} | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{localurl: | | {{localurl: | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| | {{localurl: | | {{localurl: | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | {{fullurl: | + | | {{fullurl: |
| - | | | + | | |
| - | |- | + | |- |
| | < | | < | ||
| - | | {{fullurl: | + | | {{fullurl: |
| - | | | + | | |
| - | |- | + | |- |
| | < | | < | ||
| - | | | + | | |
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| < | < | ||
| |- | |- | ||
| | < | | < | ||
| - | | | + | | |
| |} | |} | ||
| Line 1667: | Line 2038: | ||
| In languages where it makes a difference, you can use constructs like < | In languages where it makes a difference, you can use constructs like < | ||
| - | ======HTML====== | + | ===== HTML ===== |
| {{main|Help: | {{main|Help: | ||
| Line 1681: | Line 2052: | ||
| [[ru: | [[ru: | ||
| [[ml: | [[ml: | ||
| + | |||
local_copy_of_markup.1544273361.txt.gz · Last modified: 2018/12/08 12:49 by 0.0.0.0
