Difference between revisions of "Help:Editing pages"

From GPVWC Wiki
Jump to: navigation, search
(Useful Templates)
Line 177: Line 177:
 
==Useful Templates==
 
==Useful Templates==
  
 +
===Driver infobox===
  
===Drivers' templates===
+
{{Infobox driver |
 
+
 
+
====Superleague Drivers====
+
 
+
{{Infobox SL driver |
+
 
Name            = {{flagicon|ENG}} Adam Rouse |
 
Name            = {{flagicon|ENG}} Adam Rouse |
Logo            = [[File:H2rel.png]]|
+
Image          = [[File:Adam Rouse helmet.png|250px]] |
 
Nationality    = {{flagicon|UK}} British |
 
Nationality    = {{flagicon|UK}} British |
Years          = 5 |
+
JoinYear        = 2005 |
Team(s)        = [[Triple-Double Racing]]<br />[[Nordsjoen Racing]]<br />[[Vod:Bul]]<br />[[Puma]]|
+
FirstRace      = Malaysia 2006 |
Races          = 47 |
+
Series          = SL, SC, Masters |
Championships  = 0 |
+
Team(s)         = [[Halcyon Racing]] |
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]]|
+
 
}}
 
}}
  
For [[Superleague]] drivers, you should use the following template.
+
For the basic driver infobox, you should use the following template:
  
'''<nowiki>{{Template:Infobox SL driver}}</nowiki>'''
+
'''<nowiki>{{Template:Infobox driver}}</nowiki>'''
  
If you copy and paste one that's already done from the [[:Category:Drivers|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:
+
If you're creating a new driver page you can either 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.
  
<pre>{{Infobox SL driver |
+
<pre>{{Infobox driver |
 
Name            = {{flagicon|ENG}} Adam Rouse |
 
Name            = {{flagicon|ENG}} Adam Rouse |
Logo            = [[File:H2rel.png]]|
+
Image          = [[File:Adam Rouse helmet.png|250px]] |
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]]|
+
}}</pre>
+
 
+
====Supercup Drivers====
+
 
+
For drivers who haven't yet driven any [[Superleague]] races, but have raced in the [[Supercup]], change the '''first line''' of the Superleague template (above) to:
+
 
+
<pre>{{Infobox SC driver |</pre>
+
 
+
====Masters Drivers====
+
 
+
For drivers who have only taken part in the [[Masters Series]], change the '''first line''' of the Superleague template (above) to:
+
 
+
<pre>{{Infobox MS driver |</pre>
+
 
+
====Combined Superleague/Supercup Infobox====
+
 
+
For a combined Superleague & Supercup box, use the following variation:
+
 
+
<pre>{{Infobox SL-SC driver |
+
Name            = {{flagicon|ENG}} Chris Williamson |
+
Logo            = [[File:ChrisWilliamsonHelmet.jpg|220px]]|
+
 
Nationality    = {{flagicon|UK}} British |
 
Nationality    = {{flagicon|UK}} British |
Years          = 2 |
+
JoinYear       = 2005 |
Team(s)        = [[ST Racing]], [[Nijo Racing]] |
+
FirstRace       = Malaysia 2006 |
Races          = 19 |
+
Series          = SL, SC, Masters |
Championships  = 0 |
+
Team(s)        = [[Halcyon Racing]] |
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]]|
+
 
}}</pre>
 
}}</pre>
  

Revision as of 17:49, 2 December 2012

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) 03:56, 8 May 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


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:

{{Template:Infobox driver}}

If you're creating a new driver page you can either 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]] |
}}

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