Help:Contents

From ccdevnet

Contents

Links

  • Link to a page - [[article name]]
  • Link using text other than the page name - [[article name|description]]
  • Redirect a page - #REDIRECT [[New Page's Name]]
  • Plural text for a non plural page name - [[example]]s


Images

Syntax: '''[[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]]''' Insert an image with [[Image:imagename.<extension>]]. Modifiers are separated by a pipe (|).

  • [[Image:Example.jpg]](basic image tag)
  • [[Image:Example.png|left]] (left justify)
  • [[Image:Example.jpg|right]] (right justify)
  • [[Image:Example.png|frame]] (place in frame)
  • [[Image:Example.png|thumb]] (place as thumbnail size, automatically includes frame and link to fullsize.)
  • [[Image:Example.png|thumb|left]] (left justify & frame)
  • [[Image:Example.png|frame|left|This is an example]] (left justify, frame and text)
  • [[Image:Example.jpg|thumb|600 px|center|This is an example.]](thumb, custom size, justify & text)

You can also specify an exact size for the image:

  • [[Image:Example.png|100px]]


Categories

  • To add a page to a Category - [[Category:Category's Name]] (put somewhere on page, bottom is standard)
  • To show a Link to a Category - [[:Category:Category's Name|description]]("|description" is optional.)

Basic Table

A table is marked by {| and |} - these are the opening and closing tags. The next line, |+, is optional. If used, it places a table title above the table; it may be omitted if no title is desired. A pipe, | (Do NOT confuse with capital I!), is used to denote each grouping and set of cell parameters on a row, while |- marks a new row. Double pipes || mark a new cell on the same row. Row 1 is an example of cells with formatting, Row 2 are default cells, without special formatting. All basic formatting options can be applied to individual cells and/or data within them.

  • REPLACE A with your border width. 0 will produce no border.
    • Example: 1
  • REPLACE B with the width of the table, in pixels.
    • Example: 240
  • REPLACE C with Table Title, if desired.
    • Example: <big> '''This is A Table''' </big>
  • REPLACE D with alignment - center, left or right


{| border="A" width="B"
|+ C
|-
| align="D" | Cell 1, Row 1 || align="D" | Cell 2, Row 1
|-
| Cell 1, Row 2 || Cell 2, Row 2 || Cell 3 Row 2
|}

Table Cell spanning more than one Column

  • REPLACE E with fixed row width, or omit if not desired.
  • REPLACE F with number of columns the cell should span.
  • REPLACE G with a number representing cell padding in pixels, omit if not desired.
  • REPLACE H with alignment of cell text, center, left or right. Omit for default.

|-
|width="E" colspan="F" cellpadding="G" align="H"| Table Cell Content


Add a Blank spacer around a Table

  • REPLACE X with desired margin, 10 recommended.
  • REPLACE Y with right, left or center, your desired table alignment.

{| border="0" cellpadding="X" align="Y"
|
Insert actual table here.
|}

Misc

Sign your name - ~~~ Sign your name and timestamp~~~~