Template:Loadteamdata: Difference between revisions

From Dharmaraja College Archives
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:LastColnPos|{{#rpos:{{PAGENAME}}|:}}}}
__NOEDITSECTION__
{{#vardefine:LastColnNextPos|{{#expr:{{#var:LastColnPos}}+1}}}}
==Team Photo==  
{{#vardefine:FindTeamYear|{{#sub:{{PAGENAME}}|{{#var:LastColnNextPos}}}}}}
{{TeamData}}
{{#vardefine:LeftStringFromColn|{{#sub:{{PAGENAME}}|0|{{#var:LastColnPos}}}}}}
==Team Members==  
{{#vardefine:LastColnPos|{{#rpos:{{#var:LeftStringFromColn}}|:}}}}
{{#vardefine:LastColnNextPos|{{#expr:{{#var:LastColnPos}}+1}}}}
{{#vardefine:FindTeamTypeName|{{#sub:{{#var:LeftStringFromColn}}|{{#var:LastColnNextPos}}}}}}
{{#vardefine:LeftStringFromColn|{{#sub:{{#var:LeftStringFromColn}}|0|{{#var:LastColnPos}}}}}}
{{#vardefine:FindTeamName|{{#var:LeftStringFromColn}}}}
{{#get_db_data:
|server=drck-db
|from=wikiyearsofteams
|where=(TeamTypeName='{{#var:FindTeamTypeName}}') and (TeamName='{{#var:FindTeamName}}') and (Year='{{#var:FindTeamYear}}')
|order by=Year DESC
|data=Year=Year,TeamTypeName=TeamTypeName,TeamName=TeamName,TeamTypePageName=TeamTypePageName,TeamPhoto=TeamPhoto
}}
{| class="wikitable"
{{#for_external_table:<nowiki/>
{{!}}-
{{!}} {{{TeamPhoto}}}
}}
|}
{{TeamMembers}}
{{TeamMembers}}
{{{{PAGENAME}}}}
==Team Details==

Latest revision as of 20:13, 2 June 2024

Team Photo

Team Members

Row (First to Last) Column (Left to Right) Name Photo

Team Details