Help:Editing: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (Fixed NOTOC command)
(add note about capitalization)
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
First and foremost '''capitalization matters'''! [[Main Page]] is not the same as [[main page]] is not the same as [[MaIn paGE]]! That applies to not only page names, but all options, magic words, templates, and functions.
Please see http://www.mediawiki.org/wiki/Help:Editing for detailed general wiki editing/syntax/formatting information
 
Please see http://www.mediawiki.org/wiki/Help:Editing for detailed generic wiki editing/syntax/formatting information


[[ClubWiki:Creating_a_Trail]] has information on how to add (or modify) a trail specific to this site
[[ClubWiki:Creating_a_Trail]] has information on how to add (or modify) a trail specific to this site
[[ClubWiki:Using GMaps]] has information on how to add the Google maps to the site (or just copy/paste/modify from other uses)


== Typically used syntax for this site ==
== Typically used syntax for this site ==
=== Categorization ===
When creating or modifying trail or park pages, applying wiki categories are not used. The templates will appropriately apply the single category of Trails or Parks. The typical Wikipedia use of categories has been replaced by Semantic Properties which are much easier to define and later search by the site. Please see [[ClubWIKI:Categorization Plan]] for the categories in use on this site.


=== Links ===
=== Links ===
Line 50: Line 56:
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</nowiki></tt>
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</nowiki></tt>
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
|-
|Link directly to an internal file (not page)
|<tt><nowiki>[[Media:Doe_River_Gorge_Visitor_Registration_Form.pdf‎|visitor release form]]</nowiki></tt>
|[[Media:Doe_River_Gorge_Visitor_Registration_Form.pdf‎|visitor release form]]
|}
|}


Line 192: Line 202:
|}
|}


=== Other ===
== Paragraphs ==
MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <code><nowiki><br></nowiki></code>.
 
== Other ==
{| border="1" class="wikitable"
{| border="1" class="wikitable"
!Description
!Description
Line 209: Line 222:
: Five tildes give a timestamp: 20:48, 1 March 2011 (EST)
: Five tildes give a timestamp: 20:48, 1 March 2011 (EST)
'''Note:''' The server will fill in the link after you save.
'''Note:''' The server will fill in the link after you save.
|-
|Photo captions
|<pre><nowiki>
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|Caption]]
</nowiki></pre>
|
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|Caption]]
|-
|Image sizing
|<pre><nowiki>
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px]]
</nowiki></pre>
|
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px]]
|-
|Image placement with bottom captions
|<pre><nowiki>
Before before before before blah blah blah Before before before before blah blah blah
Before before before before blah blah blah Before before before before blah blah blah
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px|thumb|right|Caption]]
After after after after yada yada yada After after after after yada yada yada
After after after after yada yada yada After after after after yada yada yada
</nowiki></pre>
|
Before before before before blah blah blah Before before before before blah blah blah Before before before before blah blah blah Before before before before blah blah blah
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px|thumb|right|Caption]]
After after after after yada yada yada After after after after yada yada yada After after after after yada yada yada After after after after yada yada yada
|}
|}

Latest revision as of 12:36, 1 January 2020

First and foremost capitalization matters! Main Page is not the same as main page is not the same as MaIn paGE! That applies to not only page names, but all options, magic words, templates, and functions.

Please see http://www.mediawiki.org/wiki/Help:Editing for detailed generic wiki editing/syntax/formatting information

ClubWiki:Creating_a_Trail has information on how to add (or modify) a trail specific to this site

ClubWiki:Using GMaps has information on how to add the Google maps to the site (or just copy/paste/modify from other uses)

Typically used syntax for this site[edit]

Categorization[edit]

When creating or modifying trail or park pages, applying wiki categories are not used. The templates will appropriately apply the single category of Trails or Parks. The typical Wikipedia use of categories has been replaced by Semantic Properties which are much easier to define and later search by the site. Please see ClubWIKI:Categorization Plan for the categories in use on this site.

Links[edit]

Description You type You get
Internal link [[Main Page]] Main Page
Internal link with different label [[Main Page|different text]] different text
External link http://mediawiki.org http://mediawiki.org
External link with different label [http://mediawiki.org MediaWiki] MediaWiki
Numbered external link [http://mediawiki.org] [1]
External links with file icons [http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document]

video
sound
document

Mailto link [mailto:info@example.org email me] email me
Mailto named with subject line and body [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] info
Link directly to an internal file (not page) [[Media:Doe_River_Gorge_Visitor_Registration_Form.pdf‎|visitor release form]] visitor release form

Formatting[edit]

Description You type You get
Italic text
''italic''

italic

Bold text
'''bold'''

bold

Bold and italic
'''''bold & italic'''''

bold & italic

Escape wiki markup
<nowiki>no ''markup''</nowiki>

no ''markup''

section or line formatting – only at the beginning of the line
Headings of different levels
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2[edit]

Level 3[edit]

Level 4[edit]

Level 5[edit]
Level 6[edit]
Horizontal rule
Text above
----
Text below

Text above


Text below

Bullet list
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks gives deeper
*** and deeper levels.
* Line breaks<br />don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.
  • Start each line
  • with an asterisk (*).
    • More asterisks gives deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

Numbered list
# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs gives deeper
### and deeper
### levels.
# Line breaks<br />don't break levels.
### But jumping levels creates empty space.
# Blank lines

# end the list and start another.
Any other start also
ends the list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs gives deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

Definition list
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2
Indenting (Useful for discussions)
: Single indent
:: Double indent
::::: Multiple indent
Single indent
Double indent
Multiple indent

Paragraphs[edit]

MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <br>.

Other[edit]

Description You type You get
Signing (Useful for discussions)
: Your user name: ~~~
: Your user name plus timestamp: ~~~~
: Five tildes give a timestamp: ~~~~~
Your user name: Tim
Your user name plus timestamp: Tim 20:48, 1 March 2011 (EST)
Five tildes give a timestamp: 20:48, 1 March 2011 (EST)

Note: The server will fill in the link after you save.

Photo captions
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|Caption]]

Caption

Image sizing
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px]]

Pinnacle Mt Firetower - view of radio shack.jpg

Image placement with bottom captions
Before before before before blah blah blah Before before before before blah blah blah 
Before before before before blah blah blah Before before before before blah blah blah 
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px|thumb|right|Caption]]
After after after after yada yada yada After after after after yada yada yada 
After after after after yada yada yada After after after after yada yada yada 

Before before before before blah blah blah Before before before before blah blah blah Before before before before blah blah blah Before before before before blah blah blah

Caption

After after after after yada yada yada After after after after yada yada yada After after after after yada yada yada After after after after yada yada yada