From Palo Alto Wiki
If you have not yet read the introduction to editing, make sure to do that first.
This is a more advanced manual on editing. The following charts give the various wiki markup you can use to format a page. Wiki markup is the syntax system you can use to format a Palo Alto Wiki page.
Other resources: Help Main Page · Sandbox · Cheatsheet
[edit] Links and URLs
| What you want
| What you type
|
|
The Palo Alto Wiki was begun by the Palo Alto Weekly.
- A link to another Wiki article (in this case, Palo Alto Weekly).
- 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).
|
The Palo Alto Wiki was begun by the [[Palo Alto Weekly]].
|
|
Palo Alto has a weekly newspaper.
- Same target, different name.
- The target ("piped") text must be placed first, then the text that will be displayed second.
|
Palo Alto has a [[Palo Alto Weekly|weekly newspaper]].
|
|
Palo Alto has schools and trees.
- 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 <nowiki></nowiki> tags, which may be desirable in some instances. Example: a microsecond.
|
Palo Alto has [[school]]s and [[tree]]s.
a [[micro]]<nowiki>second
</nowiki>
|
|
Help:Editing#Internal Links is a link to a section within another page.
#blended-endings is a link to another section on the current page.
Internal Links is a piped link to a section within another page.
- The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case, and punctuation. Links to non-existent sections are not broken; they are treated as links to the top of the page.
|
[[Help:Editing#Internal Links]] is a link to a section within another page.
[[#blended-endings]] is a link to another section on the current page.
[[Help:Editing#Internal Links|Internal Links]] is a piped link to a section within another page.
|
|
Automatically hide stuff in parentheses:
Edward Frederick Roth
Automatically hide namespace:
Editing.
- The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link.
- If both parentheses and namespaces are in a page name, you may hide both at the same time using a pipe character.
- You cannot use the pipe character when linking to a section of a page with a namespace, e.g. Help:Editing#Internal Links
|
Automatically hide stuff in parentheses:
[[Edward Frederick (Fritz) Roth|Edward Frederick Roth]]
Automatically hide namespace:
[[Help:Editing|Editing]].
|
|
Arizona is a page that does not exist yet.
- You can create it by clicking on the link.
- To create a new page:
- Search for the page you are looking to create.
- You will be prompted to create the page if it does not exist.
- You must create a link to the new article from at least one other article.
|
[[Arizona]] is a page that does not exist yet.
|
|
Help:More on editing is a link to this page.
- Self links appear as bold text when the article is viewed.
- Do not use this technique to make the article name bold in the first paragraph.
|
[[Help:Wiki Markup]] is a link to this page.
|
- Redirect one article title to another by placing a directive like the one shown to the right on the first line of the article.
- It is possible to redirect to a section. For example, a redirect to Internal Links will redirect to the Help:Editing page, and to the Internal Links section if it exists.
|
#REDIRECT [[Page name]]
#REDIRECT [[Help:Editing|Internal Links]] will redirect to the [[Help:Editing]] page, and to the Internal Links section if it exists.
|
|
Three ways to link to external sources:
- Bare URL: http://www.paloaltowiki.org (avoid)
- Unnamed link: [1] (only used within article body for footnotes)
- Named link: Palo Alto Wiki
- 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 "named" version.
- In the URL, all symbols must be among:
A-Z a-z 0-9 . _ \ / ~ % - + & # ? ! = ( ) @
|
1. Bare URL: http://paloaltowiki.org
2. Unnamed link: [http://www.paloaltowiki.org]
3. Named link: [http://www.paloaltowiki.org Palo Alto Wiki]
|
[edit] Images
Only images that have been uploaded to Wikipedia can be used. To upload images, use the upload page, which can be reached by clicking "Upload file" on the left hand navigation bar.
| What you want
| What you type
|
| A picture:
| [[Image:toplogo.gif]]
|
| With alternative text:
| [[Image:toplogo.gif|Palo Alto Online logo]]
- Alternative text is strongly encouraged. It is viewed by putting your cursor over the image.
|
Floating to the right side of the page using the "frame" attribute and a caption:
Palo Alto Online logo
| [[Image:toplogo.gif|frame|Palo Alto Online logo]]
- The frame tag automatically floats the image right.
- The caption is also used as alternate text.
|
Floating to the right side of the page using the thumb attribute and a caption:
| [[Image:toplogo.gif|thumb|Palo Alto Online logo]]
- The thumb tag automatically floats the image right.
- The caption is also used as alternate text.
- An enlarge icon is placed in the lower right corner.
|
| Floating to the right side of the page without a caption:
| [[Image:toplogo.gif|right|Palo Alto Online logo]]
|
| A picture resized to 30 pixels...
| [[Image:toplogo.gif|30 px]]
|
| Linking directly to the description page of an image:
Image:toplogo.gif
| [[:Image:toplogo.gif]]
- Clicking on an image displayed on a page(such as any of the ones above) also leads to the description page
|
| Linking directly to an image without displaying it:
Image of the Palo Alto Online logo
| [[:media:toplogo.gif|Image of the Palo Alto Online logo]]
- To include links to images shown as links instead of drawn on the page, use a "media" link.
|
| Using the div tag to separate images from text (note that this may allow images to cover text):
| Example:
<div style="display:inline; width:220px; float:right;">
Place images here </div>
|
| 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):
| Example: {| align=right
|-
|
Place images here
|}
|
See the Wikipedia's image use policy as a guideline used on Wikipedia.
[edit] Character Formatting
| What it looks like
| What you type
|
|
Italicized text Bold text Italicized & Bold text
|
''Italicized text''
'''Bold text'''
'''''Italicized & Bold text'''''
|
|
A typewriter font for monospace text
or for computer code: int main()
- For semantic reasons, using
<code> where applicable is preferable to using <tt>.
|
A typewriter font for <tt>monospace text</tt>
or for computer code: <code>int main()</code>
|
|
You can use small text for captions.
|
You can use <small>small text</small> for captions.
|
|
Better stay away from big text, unless
it's within small text.
|
Better stay away from <big>big text</big>, unless
<small> it's <big>within</big> small</small> text.
|
|
You can strike out deleted material and underline new material.
You can also mark deleted material and inserted material using logical markup. For backwards compatibility better combine this potentially ignored new logical with the old physical markup.
- Do not mark up regular articles.
- When editing your own previous remarks in talk pages, it is sometimes appropriate to mark up deleted or inserted material.
|
You can <s>strike out deleted material</s>
and <u>underline new material</u>.
You can also mark <del>deleted material</del> and
<ins>inserted material</ins> using logical markup.
For backwards compatibility better combine this
potentially ignored new <del>logical</del> with
the old <s><del>physical</del></s> markup.
|
|
Suppressing interpretation of markup:
Link (''to'') the [[Palo Alto Wiki]] page
- Used to show literal data that would otherwise have special meaning.
- Escape all wiki markup, including that which looks like HTML tags.
- Does not escape HTML character references.
- To escape HTML character references such as → use &rarr;
|
<nowiki>Link (''to'') the [[Palo Alto Wiki]] page
</nowiki>
|
|
Commenting page source:
not shown when viewing page
- Used to leave comments in a page for future editors.
- Note that most comments should go on the appropriate Talk page.
|
<!-- comment here -->
|
|
Diacritical marks:
À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í
Î Ï Ñ Ò
Ó Ô Õ
Ö Ø Ù
Ú Û Ü ß
à á
â ã ä å æ
ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ
ö ø ù ú
û ü ÿ
|
À Á Â Ã Ä Å
Æ Ç È É Ê Ë
Ì Í Î Ï Ñ Ò
Ó Ô Õ Ö Ø Ù
Ú Û Ü ß à á
â ã ä å æ ç
è é ê ë ì í
î ï ñ ò ó ô
œ õ ö ø ù ú
û ü ÿ
|
|
Punctuation:
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”
|
¿ ¡ § ¶
† ‡ • – —
‹ › « »
‘ ’ “ ”
|
|
Commercial symbols:
™ © ® ¢ € ¥
£ ¤
|
™ © ® ¢ € ¥
£ ¤
|
|
Subscripts:
x1 x2 x3
Superscripts:
x1 x2 x3
|
x<sub>1</sub> x<sub>2</sub> x<sub>3</sub>
x<sup>1</sup> x<sup>2</sup> x<sup>3</sup> or
|
|
Greek characters:
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω
|
α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω
Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω
|
|
Mathematical characters:
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇐ ⇓ ⇑ ⇔
→ ↓ ↑ ← ↔
|
∫ ∑ ∏ √ − ± ∞
≈ ∝ ≡ ≠ ≤ ≥
× · ÷ ∂ ′ ″
∇ ‰ ° ∴ ℵ ø
∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀ ⇒ ⇐ ⇓ ⇑ ⇔
→ ↓ ↑ ← ↔
|
Please use these sparingly:
- The Table of Contents is automatically generated when there are four headings, but you can hide it by placing __NOTOC__ anywhere. Putting __TOC__ anywhere will force the Table of Contents to appear at that place instead of just before the first header.
- Each section on a page is editable. However, by placing __NOEDITSECTION__ in the text, you can remove this option.