How to create a team page

From SimRacingWiki

Before starting

Before starting I would suggest to get familar of the basics of MediaWiki formatting. You can find all explanation here.
You can always view the source code of other articles by clicking Edit which is displayed on the top right, this will help you understanding.


File:TeamName.png
Information
Founding date 22 March 2020
Country Pt.png Portugal
Team manager Pt.png Luís Moura
Simulations Simulation
Sponsors
3DRap
KGL
Links
Website32.png Facebook32.png Instagram32.png Twitter32.png Twitch32.png Youtube32.png Steam32.png


Create the content

Category

The page starts with the Category:

[[Category:Teams]]

This will make the page appear on the teams category page.

Infoxbox

The function {{infobox team}} creates an infobox on the top right with the most important information about the team.
The parameters name and country are manditory, any other is optional and will not appear in the infobox if empty. Make sure to only include personal information you acutally want to be displayed.

{{Infobox team
   |name={{Olympus eSports}}
   |image=[[File:TeamName.png|180px]]
   |founding_date=22 March 2020
   |country={{flagicon|POR}} Portugal
   |manager={{flagicon|POR}} [[Luís Moura]]
   |simulation=[[Simulation]]
   |sponsor1=[http://www.3drap.it 3DRap]
   |sponsor2= [http://www.kglcreationlab.com/?aff=8 KGL]
   |sponsor3=
   |sponsor4=
   |sponsor5=
   |sponsor6=
   |sponsor7=
   |sponsor8=
   |sponsor9=
   |website=http://www.example.com
   |facebook=azrmotorsport
   |instagram=azrmotorsport
   |twitter=profilename
   |twitch=profilename
   |youtube=profilename
   |steam=profilename
 }}
Parameter description
name The function {{PAGENAME}} wil automatically use the page name as name for the team. If you want to use anything else you can simply type the name you want to be displayed. Do not change this to {{Team Name}}, this will result in a false display: (Template:Team Name)
image Change "TeamName.jpg" to the actual team name and file type you want to use.

If the image you are using is wider than 290 pixel, you should include |290px at the end to automatically resize the image. If your image is smaller, simply remove it including the vertical bar.

founding_date Type the date as for exmaple 31 December 1999.
country The function {{Flagicon}} will include a small country flag, after the vertical bar use the ISO 3116-1 alpha-3 for the country, after the function put the countryname.
manager The function {{Flagicon}} will include a small country flag, after the vertical bar use the ISO 3116-1 alpha-3 for the country, after the function put the team manager's name in double square brackets, it will automatically link to the drivers's page.
simulation Putting the simulation in double square brackets will automatically link to the simulation's page.
sponsor# To create link to the sponsor, but the URL in square brackets. To rename the link, add a blank character followed by the link label.
website Use the full url to create a linked icon.
facebook Use only the facebook profilename to create a linked icon.
twitter Use only the twitter profilename to create a linked icon.
youtube Use only the youtube profilename to create a linked icon.
steam Use only the steam profilename to create a linked icon.

History

If you want to include a history about the team, it should follow right after the infobox.

Driver Roster

The driver rosters are easily compiled by the "Team roster" and "DR" functions.

Active drivers

{{Team roster
  |type=active
  |drivers=
  {{DR
  |type=active
  |name={{TNAME|Driver Name 1|XXX}}
  |join_date=MM/YYYY
  |series=[[Series1]]<br>[[Series2]]
  }}
  {{DR
  |type=active
  |name={{TNAME|Driver Name 2|XXX}}
  |join_date=MM/YYYY
  }}
}}

Inactive drivers

{{Team roster
  |type=inactive
  |drivers=
  {{DR
  |type=inactive
  |name={{TNAME|Driver Name 1|XXX}}
  |join_date=MM/YYYY
  }}
  {{DR
  |type=inactive
  |name={{TNAME|Driver Name 2|XXX}}
  |join_date=MM/YYYY
  }}
}}

Former drivers

{{Team roster
  |type=former
  |drivers=
  {{DR
  |type=former
  |name={{TNAME|Driver Name 1|XXX}}
  |join_date=MM/YYYY
  |leave_date=MM/YYYY
  |new_team=[[Team Name 1]]
  }}
  {{DR
  |type=former
  |name={{TNAME|Driver Name 2|XXX}}
  |join_date=MM/YYYY
  |leave_date=MM/YYYY
  |new_team=[[Team Name 2]]
  }}
}}

Parameter description
type select either active, inactive or former to get the correct display of columns for each category
name The function {{Flagicon}} will include a small country flag, after the vertical bar use the ISO 3116-1 alpha-3 for the country, after the function put the driver's name in double square brackets, it will automatically link to the drivers's page.
join_date Join date in the format MM/YYYY
leave_date Leave date in the format MM/YYYY
new_team Putting the new team's name in double square brackets will automatically link to the team's page.

Team results

Open the paragraph with ==Team results== and afterwards insert ===Series Name=== for each series you want to include.

For each series use this line to link a legend and give brief information about the meanings:
([[Template:Legend_results|key]]) (results in '''bold''' indicate pole position; results in ''italics'' indicate fastest lap)

This should be followed by a table of the driver's results like in this example.

{|
|valign="top"|
{|class="wikitable" style="font-size: 85%; text-align:center"
|- valign=top
!Season
!Team
!No.
!Drivers
!1
!2
!3
!4
!5
!6
!7
!8
!Pos
!Points
|-
|rowspan="12"|[[SeasonPage|YYYY]]
!rowspan="4"|[[Teampage|FullTeamName]]
!rowspan="4"|##
!{{TNAME|Driver Name|XXX}}
|rowspan="4" {{TPOS|26}}
|rowspan="4" {{TPOS|13}}
|rowspan="4" {{TPOS|5}}
|rowspan="4"|
|rowspan="4"|
|rowspan="4"|
|rowspan="4"|
|rowspan="4"|
!rowspan="4" {{TPOS|12th}}*
!rowspan="4"|97*
|-
!{{TNAME|Driver Name|XXX}}
|-
!{{TNAME|Driver Name|XXX}}
|-
!{{TNAME|Driver Name|XXX}}
|-
|}
|}

Snippet Explanation
[[SeasonPage|YYYY]] Creates a link to the series season page, replace YYYY with the year.
[[Teampage|FullTeamName]] Creates a link to the team page, after the vertical bar the full team name including sponsors can be used
!!{{TNAME|Driver Name|XXX}} ??? [[{{{1}}}]] creates a country flag and a link to the Driver's page

For more information about how to create the table, refer to MediaWiki Help:Tables

Template

Here you can find the Template_team_page