Difference between revisions of "Template:Example"

Line 470: Line 470:
  
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
$("#team_name").html( wgPageName );  
+
$("#team_name").html( wgPageName.substring( 6, wgPageName.length ) );  
 
}
 
}
  

Revision as of 15:16, 14 April 2016