Hi there,
I am trying to have the name 'Paul Pietsch' become a hyperlink to the page 'Paul Pietsch' (http://f1-revisited.wikidot.com/wiki:paul-pietsch).
However, having tried what works in other pages * http://f1-revisited.wikidot.com/wiki:paul-pietsch Paul Pietsch (with [ ] around it) this doesn't work here (presumably because that is only for simple tables).
Any advice on how to do this - my code so far is here - NB total noob at this, so speak slowly and with short words where possible (!):
[[HTML]]
<head>
<script type="text/javascript" src="http://community.wikidot.com/local--files/howto:sortable-tables-js/sorttable.js"></script>
<!CSS STYLE STARTS HERE>
<style type="text/css">
table.sortable {
border-collapse: collapse;
}
table.sortable thead tr {
background-color: #eee;
}
table.sortable thead tr th {
font-weight:bold;
}
table.sortable tbody tr td {
text-align:center;
}
table.sortable thead tr th, table.sortable tbody tr td {
border: 1px solid #888;
font-family: verdana;
font-size: 12px;
}
</style>
<!CSS STYLE ENDS HERE>
</head>
<body>
<table class="sortable">
<thead>
<tr>
<th> Name </strong></th>
<th> Country </strong></th>
<th> Seasons </strong></th>
<th> Championships </strong></th>
<th> Entries </strong></th>
<th> Starts </strong></th>
<th> Poles </strong></th>
<th> Wins </strong></th>
<th> Podiums </strong></th>
<th> Fastest Laps </strong></th>
<th> Points </strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Paul Pietsch</td>
<td align="left"><span class="flagicon"><img alt="" src="upload.wikimedia.org/wikipedia/en/thumb/b/ba/Flag_of_Germany.svg/23px-Flag_of_Germany.svg.png" decoding="async" width="23" height="14" class="thumbborder" srcset="upload.wikimedia.org/wikipedia/en/thumb/b/ba/Flag_of_Germany.svg/35px-Flag_of_Germany.svg.png 1.5x, upload.wikimedia.org/wikipedia/en/thumb/b/ba/Flag_of_Germany.svg/46px-Flag_of_Germany.svg.png 2x" data-file-width="1000" data-file-height="600" /> </span>Germany
</td>
<td>1950-1953</td>
<td>2</td>
<td>28</td>
<td>28</td>
<td>4</td>
<td>4</td>
<td>13</td>
<td>0</td>
<td>105</td>
</tr>
<tr>
<td>Toulo de Graffenried</td>
<td align="left"><span class="flagicon"><img alt="" src="upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Switzerland.svg/16px-Flag_of_Switzerland.svg.png" decoding="async" width="16" height="16" class="thumbborder" srcset="upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Switzerland.svg/24px-Flag_of_Switzerland.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Flag_of_Switzerland.svg/32px-Flag_of_Switzerland.svg.png 2x" data-file-width="512" data-file-height="512" />  </span>Switzerland
</td>
<td>1950-1954, 1956</td>
<td>0</td>
<td>43</td>
<td>43</td>
<td>2</td>
<td>2</td>
<td>10</td>
<td>1</td>
<td>70</td>
</tr>
<tr>
<td>Bob Gerard</td>
<td align="left"><span class="flagicon"><img alt="" src="upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/23px-Flag_of_the_United_Kingdom.svg.png" decoding="async" width="23" height="12" class="thumbborder" srcset="upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/35px-Flag_of_the_United_Kingdom.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/46px-Flag_of_the_United_Kingdom.svg.png 2x" data-file-width="1200" data-file-height="600" /> </span>United Kingdom
</td>
<td>1950-1954, 1956-1958</td>
<td>4</td>
<td>58</td>
<td>58</td>
<td>24</td>
<td>26</td>
<td>38</td>
<td>22</td>
<td>304</td>
</tr>
<tr>
<td>Bob Gerard</td>
<td align="left"><span class="flagicon"><img alt="" src="upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/23px-Flag_of_the_United_Kingdom.svg.png" decoding="async" width="23" height="12" class="thumbborder" srcset="//upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/35px-Flag_of_the_United_Kingdom.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/a/ae/Flag_of_the_United_Kingdom.svg/46px-Flag_of_the_United_Kingdom.svg.png 2x" data-file-width="1200" data-file-height="600" /> </span>United Kingdom
</td>
<td>1950-1954, 1956-1958</td>
<td>4</td>
<td>58</td>
<td>58</td>
<td>24</td>
<td>26</td>
<td>38</td>
<td>22</td>
<td>304</td>
</tr>
</table>
</body>
[[/html]]
Working page with this code is here:
http://f1-revisited.wikidot.com/wiki:driver-profiles-sortable