How To

From PGFSOA Wiki

Jump to: navigation, search

Contents

Printing

  1. Select the PGFSOA Draft 1.1 Public Release version (from the navigation links on the left). This is a single 'article' (in MediaWiki speak) that contains all of the PGFSOA sections on one page.
  2. Then use the Printable Version 'toolbox' feature (on the lower left) for a page numbered printout.
  • You can use the 'Printable Version' feature of the toolbox on any article on the wiki.

Syntax Cheatsheet

Basic Editing

Making Links

  1. A wikilink is embedded in one wiki article and links to another wiki article on the same wiki. It is made using the following syntax;
  2. An external link is embedded in one article and links to a different Web site that is external to the wiki. It is made using the following Mediawiki syntax;
  • These are the only link types you need to know for basic editing. For more information, see the MediaWiki MetaWiki.

Auto Generated Table of Contents

= H1 =

== H2 ==

=== H3 ===

==== H4 ====

= H1 =

== H2 ==


  • The syntax above creates the autogenerated TOC you see at the top of every article (that uses these);


 1
 1.1
 1.1.1
 1.1.1.1
 (etcetera)
 2
 2.1


  • Just click on any 'edit' button, and you'll see how straight forward and easy this is.


Create a PGFSOA 'sidebar' (aka document 'callout')

  • Here is the syntax used for a right justified formatted sidebar:


{| align="right" border="1" cellpadding="5" cellspacing="5" width="30%" ! align="left" style="background:lightblue; color:black;" | '''TEXT GOES HERE''' |}


TEXT GOES HERE
  • The syntax above produces this result - you can do basic text alignment with article contents that will show up on the left of the sidebar or callout table.


Create PGFSOA tables

  • Here is the syntax used for a basic table with column names:


{| border="1" cellpadding="5" cellspacing="0" align="center" width="100%"

|-

! style="background:blue; color:white;" | '''Column 1 Heading'''

! style="background:blue; color:white;" | '''Column 2 Heading'''

! style="background:blue; color:white;" | '''Column 3 Heading'''

! style="background:blue; color:white;" | '''Column 4 Heading'''

! style="background:blue; color:white;" | '''Column 5 Heading'''

|-

| Row 1 Cell 1 text

| Row 1 Cell 2 text

| Row 1 Cell 3 text

| Row 1 Cell 4 text

| Row 1 Cell 5 text

|-

|- align='center'

| Row 2 Cell 1 text

| Row 2 Cell 2 text

| Row 2 Cell 3 text

| Row 2 Cell 4 text

| Row 2 Cell 5 text

|-

|- align='right'

| Row 3 Cell 1 text

| Row 3 Cell 2 text

| Row 3 Cell 3 text

| Row 3 Cell 4 text

| Row 3 Cell 5 text

|-

|}

{|

|'''''Bold Italicized Table Name Below Table'''''

|}


  • The syntax above produces the following table:


Column 1 Heading Column 2 Heading Column 3 Heading Column 4 Heading Column 5 Heading
Row 1 Cell 1 text Row 1 Cell 2 text Row 1 Cell 3 text Row 1 Cell 4 text Row 1 Cell 5 text
Row 2 Cell 1 text Row 2 Cell 2 text Row 2 Cell 3 text Row 2 Cell 4 text Row 2 Cell 5 text
Row 3 Cell 1 text Row 3 Cell 2 text Row 3 Cell 3 text Row 3 Cell 4 text Row 3 Cell 5 text
Bold Italicized Table Name Below Table


  • Here is the syntax used for a basic table with row and column names:


{|

|'''''Bold and Italicized Table Name Above Table'''''

|}

{| border="1" cellpadding="5" cellspacing="0" align="center" width="100%"

|-

! style="background:white; color:black;" |

! style="background:lightgrey; color:black;" width="80%" | '''Column 2 Name'''

|-

| '''Row 1 Name'''

| Row 1 Cell 2 text

|-

! style="color:red;" align='left' | '''Row 2 Name (bold)''' (Cell 1)

! style="background:lightblue; color:purple;" align='left' | ''Row 2 text (italicized)''(Cell 2)

|-

|-

|}


  • The syntax above produces the following table:


Bold and Italicized Table Name Above Table
Column 2 Name
Row 1 Name (Cell 1) Row 1 Cell 2 text
Row 2 Name (bold) (Cell 1) Row 2 text (italicized) (Cell 2)


Uploading and formatting images

  • Here are a number of ways to display an image inline on a wiki article, from this [Wikipedia How To] article.
  • [[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]]


a fullsize, left justified, framed version
a fullsize, left justified, framed version



text here


a scaled down, centered version with a border



text here


this is a thumbnail
this is a thumbnail
  1. This text will show up next to the thumbnail image
  2. This text will show up next to the thumbnail image
  3. This text will show up next to the thumbnail image
  4. This text will show up next to the thumbnail image
  5. This text will show up next to the thumbnail image
  6. This text will show up next to the thumbnail image
  7. This text will show up next to the thumbnail image
  8. This text will show up next to the thumbnail image

Other PGFSOA MediaWiki syntax used

  • Other PGFSOA specific MediaWiki syntax used:

General MediaWiki Info

Using Trackback