Difference between revisions of "Help:Editing pages"

From GPVWC Wiki
Jump to: navigation, search
Line 263: Line 263:
 
}}</pre>
 
}}</pre>
  
 +
==Editing Tables==
 +
 +
Editing tables is one of the harder tasks at present, but the following is intended to be a basic guide.
 +
 +
===Example===
 +
 +
{| 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 2]]
 +
|bgcolor="#FFDF9F"|AUS
 +
<small>3</small>
 +
|bgcolor="#FFFFBF"|CHN
 +
<small>1</small>
 +
|bgcolor="#FFFFFF"|JAP
 +
<small></small>
 +
|-
 +
|}
 +
 +
The table above is generated from the code below:
 +
<pre>{| 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>
 +
|-
 +
|}</pre>
 +
 +
===Basic Codes===
 +
 +
These are the basic codes you need to create cell, row and columns in a table.
 +
 +
{| class="wikitable" border="1" style="text-align:center; font-size:90%;"
 +
! You type
 +
!width=100| You get
 +
! Notes
 +
|-
 +
|'''<nowiki>{| class="wikitable" border="1" style="text-align:center; font-size:90%;"</nowiki>'''
 +
|
 +
| Opening line for a standard table
 +
|-
 +
|'''<nowiki>! Text</nowiki>'''
 +
! Text
 +
| A Cell formatted as a heading
 +
|-
 +
|'''<nowiki>| Text</nowiki>'''
 +
| Text
 +
| A normal cell
 +
|-
 +
|'''<nowiki>| </nowiki>'''
 +
|
 +
| A blank cell
 +
|-
 +
|'''<nowiki>|-</nowiki>'''
 +
|
 +
| End of a row
 +
|-
 +
|'''<nowiki>|bgcolor="#ffffbf"|Text</nowiki>'''
 +
|bgcolor="#ffffbf"|Text
 +
|Cell background is coloured
 +
|-
 +
|'''<nowiki>|rowspan=2|Text</nowiki>'''
 +
|rowspan=2|Text
 +
|rowspan=2| Cell spans 2 rows (use with caution)
 +
|-
 +
| &nbsp;
 +
|-
 +
|'''<nowiki>|}</nowiki>'''
 +
|
 +
| End of a table
 +
|}
 +
 +
===Colour codes for race results===
 +
 +
{| class="wikitable" border="1" style="text-align:center; font-size:90%;"
 +
!width=300| Code
 +
! Result
 +
!width=200| Usage
 +
|-
 +
|'''<nowiki>|bgcolor="#ffffbf"| 1</nowiki>'''
 +
|bgcolor="#ffffbf"| 1
 +
| Race Win
 +
|-
 +
|'''<nowiki>|bgcolor="#dfdfdf"| 2</nowiki>'''
 +
|bgcolor="#dfdfdf"| 2
 +
| 2nd Position
 +
|-
 +
|'''<nowiki>|bgcolor="#ffdf9f"| 3</nowiki>'''
 +
|bgcolor="#ffdf9f"| 3
 +
| 3rd Position
 +
|-
 +
|'''<nowiki>|bgcolor="#dfffdf"| 4</nowiki>'''
 +
|bgcolor="#dfffdf"| 4
 +
| Points Finish
 +
|-
 +
|'''<nowiki>|bgcolor="#cfcfff"| 11</nowiki>'''
 +
|bgcolor="#cfcfff"| 11
 +
| Non-points Finish
 +
|-
 +
|'''<nowiki>|bgcolor="#efcfff"| Ret</nowiki>'''
 +
|bgcolor="#efcfff"| Ret
 +
| Retired
 +
|-
 +
|'''<nowiki>|bgcolor="#000000" style="color:white"| DSQ</nowiki>'''
 +
|bgcolor="#000000" style="color:white"| DSQ
 +
| Disqualified
 +
|-
 +
|'''<nowiki>| DNS</nowiki>'''
 +
| DNS
 +
| Did not Start
 +
|}
  
 
[[Category:Information pages]]
 
[[Category:Information pages]]

Revision as of 16:43, 29 July 2011

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) 23:52, 31 October 2024 (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


Useful Templates

Drivers' templates

Superleague Drivers

England Adam Rouse
H2rel.png
Superleague Career
Nationality United Kingdom British
Active Years 5
Team(s) Triple-Double Racing
Nordsjoen Racing
Vod:Bul
Puma
Grand Prix 47
Championships 0
Wins 2
Podium finishes    8
Pole positions 0
Fastest laps  ?
First Grand Prix 2006 Malaysian Grand Prix
First Win 2009 Australian Grand Prix
Last Win 2009 Brazilian Grand Prix
Last Grand Prix 2011 Austrian Grand Prix

For Superleague drivers, you should use the following template.

{{Template:Infobox SL driver}}

If you copy and paste one that's already done from the list of drivers you can fill or change the details yourself. The code below produces the one for Adam Rouse on the right, for example:

{{Infobox SL driver |
Name            = {{flagicon|ENG}} Adam Rouse |
Logo            = [[File:H2rel.png]]|
Nationality     = {{flagicon|UK}} British |
Years           = 5 |
Team(s)         = [[Triple-Double Racing]]<br />[[Nordsjoen Racing]]<br />[[Vod:Bul]]<br />[[Puma]]|
Races           = 47 |
Championships   = 0 |
Wins            = 2 |
Podiums         = 8 |
Poles           = 0 |
Fastest laps    = ? |
First race      = [[2006 Malaysian Grand Prix]] |
First win       = [[2009 Australian Grand Prix]] |
Last win        = [[2009 Brazilian Grand Prix]] |
Last race       = [[2011 Austrian Grand Prix]] |
Last season     = [[2011 Superleague season|2011]]|
}}

Supercup Drivers

For drivers who haven't yet driven any Superleague races, but have raced in the Supercup, use this slight variation:

{{Infobox SC driver
| Name            = {{flagicon|GRE}} Georgios Davakos
| Logo            = [[File:Silhouette placeholder 300x.png|200px]]
| Nationality     = {{flagicon|GRE}} Greek
| Years           = 1 ([[2011 Supercup season|2011]])
| Team(s)         = [[Nordsjoen Racing]], [[Water Blue Racing]]
| Races           = 7
| Championships   = 0
| Wins            = 0
| Podiums         = 2
| Poles           = 0
| Fastest laps    = 0
| First race      = [[2011 Australian Grand Prix]]
| First win       = 0
| Last win        = 0
| Last race       = [[2011 French Grand Prix]]
| Last season     = 2011
}}

Combined Superleague/Supercup Infobox

{{Infobox SL-SC driver |
Name            = {{flagicon|ENG}} Chris Williamson |
Logo            = [[File:ChrisWilliamsonHelmet.jpg|220px]]|
Nationality     = {{flagicon|UK}} British |
Years           = 2 |
Team(s)         = [[ST Racing]], [[Nijo Racing]] |
Races           = 19 |
Championships   = 0 |
Wins            = 0 |
Podiums         = 0 |
Poles           = 0 |
Fastest laps    = 0 |
First race      = [[2010 Chinese Grand Prix]] |
First win       = N/A |
Last win        = N/A |
Last race       = {{Latest F1GP}} |
Last season     = [[2011 Superleague season|2011]]|
SCYears           = 2 |
SCTeam(s)         = [[PB Racing]], [[Nijo Racing]]|
SCRaces           = 29 |
SCChampionships   = 0 |
SCWins            = 1 |
SCPodiums         = 8 |
SCPoles           = 0 |
SCFastest laps    = 0 |
SCFirst race      = [[2010 Supercup Australian Grand Prix]] |
SCFirst win       = [[2010 Supercup Chinese Grand Prix]] |
SCLast win        = [[2010 Supercup Chinese Grand Prix]] |
SCLast race       = {{Latest SCGP}} |
SCLast season     = [[2011 Supercup season|2011]]|
}}

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 2 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
| DNS DNS Did not Start