Help:Contents

From ml2sig

Revision as of 19:05, 4 December 2007 by Suzchap (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

[edit] Other links to editing guides

[edit] Basic Wiki Formatting

[edit] Creating New Pages

To create a new page, simply begin by editing a current page and enter the markup to link to the page you want to create. [[Name of page]]. Save the current page and then click on the red link to go directly to the edit mode of the new page.


[edit] Page Titles

For consistency, major words in all page titles should be in capital letters.

Pages pertaining to specific classes should include that class in their page title. Ex. “Mounting the Collection Online” should be "Mounting the Text Class Collection Online."

[edit] Sections & Paragraphs

Sections: using four or more headers on a page will create a table of contents (TOC) to appear in front of the first header.
= Section =

== Sub-section ==

=== Sub-sub-section ===

==== Sub-sub-sub-section ====
Paragraphs: leave a blank line between paragraphs
Line one

Line two


[edit] Text Formatting

Style When to use Markup Example
Bold '''Bold text''' Bold text
Italic ''Italicized text'' Italicized text
Bold & Italic '''''Italicized & Bold text''''' Italicized & Bold text
Inline code Use when displaying in line code (code embedded in other text) and names of scripts This is a sentence with <code>a bit of code</code> in it. This is a sentence with a bit of code in it.
Blocks of code Use when you want to display large blocks of code and keep original formatting. <code> should always go outside <pre> <code><pre><ul> <li class="list">list item 1</li> <li class="list">list item 2</li> </ul></pre></code>
<ul>
  <li class="list">list item 1</li>
  <li class="list">list item 2</li>
</ul>
Keep original formatting of text (not for code) Use when displaying non-code text that you want to set apart from rest of text. (This can also be done with leading spaces, but is not recommended). <pre>lorem ipsum</pre>
lorem 
     ipsum
Show wiki markup Use when you need to display code that is used by the wiki. <nowiki><markup>lorem ipsum</markup></nowiki> <markup>lorem ipsum</markup>
strikethrough Use when you want to indicate that something no longer applies, but don't want to delete it yet. <strikethrough>lorem ipsum</strikethrough> lorem ipsum
Citations Use when you cite another source. <cite>lorem ipsum</cite> lorem ipsum
block quote For a long citation (not for code) that you want indented. <blockquote>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer eget sapien eu libero porttitor eleifend. Mauris ornare nunc a ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.</blockquote>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer eget sapien eu libero porttitor eleifend. Mauris ornare nunc a ligula. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos.

[edit] Linking

Style Markup Example
Link to another wiki page Go to [[Main_Page]] Main_Page
Link to another wiki page but have the link say something different Go to [[Main_Page|Home]] Home
Link to a section within another wiki page [[Flickr#Examples_of_how_other_libraries_are_using_flickr]] Flickr#Examples_of_how_other_libraries_are_using_flickr
Link to a section on the current page [[Help:Contents#Page_Titles]] Help:Contents#Page_Titles
Link to a section on the current page but have the link say something different [[Help:Contents#Page_Titles|Help with page titles]] Help with page titles
Link to an external (non-wiki) source [http://en.wikipedia.org Wikipedia] Wikipedia

[edit] Lists

Type Markup Example
Bullet list
* Item 1
** Item 1.1
** Item 1.2
* Item 2
** Item 2.1
*** Item 2.1.1
*** Item 2.1.2
*** Item 2.1.3
** Item 2.2
* Item 3
  • Item 1
    • Item 1.1
    • Item 1.2
  • Item 2
    • Item 2.1
      • Item 2.1.1
      • Item 2.1.2
      • Item 2.1.3
    • Item 2.2
  • Item 3
Numbered list
# Item 1
## Item 1.1
## Item 1.2
# Item 2
## Item 2.1
### Item 2.1.1
### Item 2.1.2
### Item 2.1.3
## Item 2.2
# Item 3
  1. Item 1
    1. Item 1.1
    2. Item 1.2
  2. Item 2
      1. Item 2.1
      2. Item 2.1.1
      3. Item 2.1.2
      4. Item 2.1.3
    1. Item 2.2
  3. Item 3


[edit] Tables

You can use wiki table formatting or html table formatting

<table cellpadding="5" cellspacing="0" border="1">
  <tr>
    <th>heading 1</th>
    <th>heading 2</th>
  </tr>
  <tr>
    <td>cell 1</td>
    <td>cell 2</td>
  </tr>
</table>
heading 1 heading 2
cell 1 cell 2
{| cellpadding="15" cellspacing="0" border="1"
|-
!heading 1
!heading 2
|-
|cell 1
|cell 2
|}

OR

{| cellpadding="15" cellspacing="0" border="1"
|-
!heading 1 !! heading 2
|-
|cell 1 || cell 2
|}
heading 1 heading 2
cell 1 cell 2


[edit] Images

image upload page

image list of uploaded images

Style Markup Example
Basic image w/custom alt text [[Image:MLibrary20_tiny.jpg|The MLibrary2.0 logo]] The MLibrary2.0 logo
Image w/custom alt text & floated to write [[Image:MLibrary20_tiny.jpg|right|The MLibrary2.0 logo]] Here is the MLibrary2.0 logo floated to the right, if you put code for the image before the text, the text should be on the left side of the image and then wrap below the image something like this.
The MLibrary2.0 logo
Here is the MLibrary2.0 logo floated to the right, if you put code for the image before the text, the text should be on the left side of the image and then wrap below the image.
Resize image [[Image:MLibrary20_tiny.jpg|100px|The MLibrary2.0 logo]] The MLibrary2.0 logo
Link directly to an image without displaying it: [[:media:MLibrary20_tiny.jpg|Image of the MLibrary2.0 logo]] Image of the MLibrary2.0 logo

[edit] Hidden Comments

You can comment in the wiki the same way you would comment in html. Use when you want to leave comments that can only be seen when editing the page.

<!-- comment here -->

Personal tools