Help:Editing pages

From GPVWC Wiki
Jump to: navigation, search

This page is designed to both help people new to wikis and those new to what we've made available for our members.

Editing Cheatsheet

Works anywhere in the text
Description You type You get
Italic text

''italic''

italic

Bold text

'''bold'''

bold

Bold and italic text

'''''bold & italic'''''

bold & italic

Link to another page

[[Name of page]]
[[Name of page|Text to display]]

Name of page
Text to display

Add an image

[[File:RFactor.png|thumb|alt=Alt text|Caption]]

Alt text
Caption
Add a page to a category [[Category:Category name]] Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved.
Signature
Sign your contributions when posting to a Talk Page.
Do not sign when contributing to an article.

~~~~

Username (talk) 13:20, 11 June 2020 (UTC)

Works only at the beginning of lines
Description You type You get
Redirect to another page
Redirects must be placed at the start of the first line.

#REDIRECT [[Target page]]

Target page

Redirect to a section of another page
Redirects must be placed at the start of the first line.

#REDIRECT [[Target page#anchorName]]

Target page#anchorName

Section headings
A Table of Contents will automatically be generated when four headings are added to an article.
Do not use =Level 1=; it is reserved for page titles.

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2
Level 3
Level 4
Level 5
Level 6
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Indenting text
This is used when replying on a talk page, to make it easier to follow conversations.

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent


Adding Categories

When creating pages or uploading images it helps the organization of the wiki if you add categories for the item to belongs to. You simply need to add [[Category:Category name]] at the end of a page or image description and you can add an item to as many categories as you wish.


Some examples of useful categories include:


Useful Templates

Driver infobox

England Adam Rouse
Adam Rouse helmet.png
Nationality United Kingdom British
Year Joined 2005
First Race Malaysia 2006
Series Entered SL, SC, Masters
Current Team(s) Halcyon Racing
Championships {{{Championships}}}
Wins {{{Wins}}}
Podiums {{{Podiums}}}
Poles {{{Poles}}}
Fastest Laps {{{Fastest Laps}}}


For the basic driver infobox, you should use the following template:

{{Infobox driver}}

If you're creating a new driver page you can copy and paste the following code and change the details yourself. As an example the code below produces the infobox for Adam Rouse on the right.

{{Infobox driver |
Name            = {{flagicon|ENG}} Adam Rouse |
Image           = [[File:Adam Rouse helmet.png|250px]] |
Nationality     = {{flagicon|UK}} British |
JoinYear        = 2005 |
FirstRace       = Malaysia 2006 |
Series          = SL, SC, Masters |
Team(s)         = [[Halcyon Racing]] |
}}

Driver statsbox

Nordsjoen 10.png
Superleague Career (up to 2012 R18)
Debut Year 2006
Associated Teams Nordsjoen Racing, Halcyon Racing
Races 48
Championships 0
Race Wins 2
Podium Finishes 8
Pole positions 1
Fastest laps 4
First Race Malaysia 2006


For the basic driver stats infobox, you should use the following template:

{{Infobox driver stats}}

If you want to add a stats box to a driver page you can copy and paste the following code and change the details yourself. As an example the code below produces the infobox for Adam Rouse on the left.

{{Infobox driver stats |
Name            = {{flagicon|ENG}} Adam Rouse |
Image           = [[File:Nordsjoen 10.png|250px]] |
Series          = Superleague |
Updated         = 2012 R18 |
DebutYear       = 2006 |
First race      = Malaysia 2006 |
Team(s)         = [[Nordsjoen Racing]], [[Halcyon Racing]] |
Races           = 48 |
Championships   = 0 |
Wins            = 2 |
Podiums         = 8 |
Poles           = 1 |
Fastest laps    = 4 |
}}



Team infobox

Italy Nordsjøen
Nordsjoen logo.png
Full name Nordsjøen Racing
Owner/s Norway Birgitte Wangensteen
Base Wales Cardiff, Wales
Key staff Italy William Ponissi
Year Joined 2002
Series Entered SL, SC, Masters
Associated Teams EIRE
Website http://www.nordsjoen-racing.com/


For the basic team infobox, you should use the following template:

{{Infobox team}}

If you're creating a new team page you can copy and paste the following code and change the details yourself. As an example the code below produces the infobox for Nordsjøen Racing on the right.

{{Infobox team |
Short_name    = {{flagicon|ITA}} Nordsjøen |
Long_name     = Nordsjøen Racing |
Logo          = [[File:Nordsjoen_logo.png|300px]] |
Owner         = {{flagicon|NOR}} [[Birgitte Wangensteen]] |
Base          = {{flagicon|WAL}} Cardiff, Wales |
Staff         = {{flagicon|ITA}} [[William Ponissi]] |
JoinYear      = 2002 |
Series        = SL, SC, Masters |
AssociatedTeams = [[EIRE]] |
Website         = http://www.nordsjoen-racing.com/ |
}}

Editing Tables

Editing tables is one of the harder tasks at present, but the following is intended to be a basic guide.

Example

Heading 1 Heading 2 Heading 3 Heading 4
Row 2 Column 1 Row 2 Column 2 Row 2 Column 3 Row 2 Column 4
Row 3 Column 1 Row 3 Column 2 Row 3 Column 3a Row 3 Column 4
Row 3 Column 3b
Example Driver 1 2 3
Example Driver 2 4 11 Ret
Example Driver 3 AUS

3

CHN

1

JAP

The table above is generated from the code below:

{| class="wikitable" border="1" style="text-align:center; font-size:90%;"
! Heading 1
! Heading 2
! Heading 3
! Heading 4
|-
! Row 2 Column 1
| Row 2 Column 2
| Row 2 Column 3
| Row 2 Column 4
|-
!rowspan=2| Row 3 Column 1
|rowspan=2| Row 3 Column 2
| Row 3 Column 3a
|rowspan=2| Row 3 Column 4
|-
| Row 3 Column 3b
|-
| [[Example Driver]]
|bgcolor="#ffffbf"| 1
|bgcolor="#dfdfdf"| 2
|bgcolor="#ffdf9f"| 3
|-
| [[Example Driver 2]]
|bgcolor="#dfffdf"| 4
|bgcolor="#cfcfff"| 11
|bgcolor="#efcfff"| Ret
|-
| [[Example Driver 3]]
|bgcolor="#FFDF9F"|AUS
<small>3</small>
|bgcolor="#FFFFBF"|CHN
<small>1</small>
|bgcolor="#FFFFFF"|JAP
<small></small>
|-
|}

Basic Codes

These are the basic codes you need to create cell, row and columns in a table.

You type You get Notes
{| class="wikitable" border="1" style="text-align:center; font-size:90%;" Opening line for a standard table
! Text Text A Cell formatted as a heading
| Text Text A normal cell
| A blank cell
|- End of a row
|bgcolor="#ffffbf"|Text Text Cell background is coloured
|rowspan=2|Text Text Cell spans 2 rows (use with caution)
 
|} End of a table

Colour codes for race results

Code Result Usage
|bgcolor="#ffffbf"| 1 1 Race Win
|bgcolor="#dfdfdf"| 2 2 2nd Position
|bgcolor="#ffdf9f"| 3 3 3rd Position
|bgcolor="#dfffdf"| 4 4 Points Finish
|bgcolor="#cfcfff"| 11 11 Non-points Finish
|bgcolor="#efcfff"| Ret Ret Retired
|bgcolor="#000000" style="color:white"| DSQ DSQ Disqualified
|bgcolor="#ffffff"| DNS DNS Did not start
| - - Did not participate