%if prefix != 'plain': %if prefix != 'printable': %endif %endif %if pool['UsesSalary'] : %if prefix == 'printable': ${teamname}${spacer} Cap room: ${team.remainFancy} ${spacer} Empty spots: ${team.emptySpots}
%endif %endif %if rosterType != 'history' :
%else :
%endif
%if prefix == 'plain' :

${teamname}

%endif
%for pos, fancyPos in positions:
%if prefix == 'plain':

${fancyPos}

%endif %if prefix == 'plain': %for statName in posInfo[pos]['stats'] : %endfor %endif %for player in roster[pos]: %if prefix != 'plain': %endif %if rosterType != 'history' : %else: %endif %for statName in posInfo[pos]['stats'] : %endfor %endfor
Player Name${statName}
${player.GetSortName()}${player.GetLinkName(True, prefix,'../')}${player.GetYahooLinkName(prefix)}${player.GetStat(statName, prefix)}
%endfor
%if prefix != 'printable':
%if rosterType != 'history' : %if prefix == '': %if 'logo' in team.__dict__: ${team.name} %endif

${teamname}

${spacer} GM: ${team.gm}${spacer} %endif %if pool['UsesSalary'] : Cap room: ${team.remainFancy}${spacer} %endif %if pool['MultiYearPool'] : Empty spots: ${team.emptySpots}${spacer} %endif %if 'email1' in team.__dict__ : Email: ${team.gm}${spacer} %endif %if 'email2' in team.__dict__ : Email: ${team.gm2}${spacer} %endif %if pool['MultiYearPool'] :
${pool['PoolYear'] + 1} Contracts:${spacer} Raises: $${"%.3f"%(team.contract['raises']/1000000)}M${spacer} RFA: ${team.contract['RFA']}  UFA: ${team.contract['UFA']}${spacer} Unknown: ${team.contract['unknown']}${spacer} %endif
%for otherRoster in otherRosters: ${otherRoster.capitalize()} Roster${spacer} %endfor %if pool['MultiYearPool'] : New Roster${spacer} History Roster${spacer} News${spacer} Draft Picks${spacer}
%endif %for other in teams: %if other.section != team.section: %endif ${other.name} %if other.section != team.section: %endif ${spacer} %endfor
%else:

${teamname}

Rank: ${team['rank']}${spacer} Points: ${round(team['points'],1)}${spacer}
%for other in teams: ${other['rank']}. %if other != team : ${other['name']} %else : ${other['name']} %endif ${round(other['points'],1)}${spacer} %endfor
%for other in years: %if other != year: ${other}${spacer} %endif %endfor
Main Roster${spacer} %endif Front Page${spacer} %if prefix == 'plain' : Javascript Page${spacer} %elif prefix == '': Non-Javascript Page${spacer} Printable Page${spacer} %endif
%endif