Help:Editing: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add note about capitalization)
 
(7 intermediate revisions by 4 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 generic 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


== Current issues with the site ==
[[ClubWiki:Using GMaps]] has information on how to add the Google maps to the site (or just copy/paste/modify from other uses)
*Only images can be uploaded - working on addressing this
*Uploaded images don't work - something goofy with our web host, I need to change the permissions on images and any auto-created resizes
**Email me at [mailto:webmaster@tehcc.org webmaster@tehcc.org] if you upload any images


== Typically used syntax for this site ==
== Typically used syntax for this site ==


=== Categorization ===
=== Categorization ===
Please add the appropriate categories to pages. This allows people to find trails/pages that are assigned to a particular category. This needs to be done in addition to any "Trail Use/Feature" icons added to the Info Box. Please see [[ClubWIKI:Categorization Plan]] for the categories in use on this site
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 114: Line 112:
==== Level 4 ====
==== Level 4 ====
===== Level 5 =====
===== Level 5 =====
AFAIC that's the best aenwsr so far!
====== Level 6 ======
|-
| Horizontal rule
| <pre>
Text above
----
Text below
</pre>
|
Text above
----
Text below
|-
| Bullet list
|
<pre>
* 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.
</pre>
|
* 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.
|-
| Numbered list
|
<pre>
# 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


=== Paragraphs ===
# end the list and start another.
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>&lt;br /></code>.
Any other start also
ends the list.
</pre>
|
# 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


=== Other ===
# end the list and start another.
Any other start also
ends the list.
|-
| Definition list
| <pre>
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
</pre>
|
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
|-
| Indenting (Useful for discussions)
| <pre>
: Single indent
:: Double indent
::::: Multiple indent
</pre>
|
: Single indent
:: Double indent
::::: Multiple indent
|}
 
== 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 139: Line 225:
|Photo captions
|Photo captions
|<pre><nowiki>
|<pre><nowiki>
Image:photo.jpg|caption
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|Caption]]
</nowiki></pre>
</nowiki></pre>
|
|
:Photograph
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|Caption]]
:Caption
|
|-
|-
|Image sizing
|Image sizing
|<pre><nowiki>
|<pre><nowiki>
Image:photo.jpg|200px
[[Image:Pinnacle Mt Firetower - view of radio shack.jpg|200px]]
</nowiki></pre>
</nowiki></pre>
|
|
:Photograph with 200 pixel width
[[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