Difference between revisions of "Template:RosterRow"

From Universal Gaming Alliance Wiki
Jump to navigation Jump to search
(Add join variables)
(Debug row)
Line 1: Line 1:
 +
{{{roster_id}}}=roster_member.id,{{{steam_id_64}}}=roster_member.steam_id_64,{{{teamspeak_id}}}=roster_member.teamspeak_id,{{{discord_id}}}=roster_member.discord_id,{{{discord_handle}}}=roster_member.discord_handle,{{{name}}}=roster_member.name,{{{join_date}}}=roster_member.join_date,{{{recruiter}}}=roster_member.recruiter,{{{status}}}=roster_status.name,{{{position}}}=roster_member.position,{{{rank}}}=roster_old_rank.name
 +
 
<includeonly>|-
 
<includeonly>|-
 
| style="text-align:center;" | {{#if:{{{steam_id_64}}}|[[File:Steam 16x16.png|link=https://steamcommunity.com/profiles/{{{steam_id_64}}}]]|}}
 
| style="text-align:center;" | {{#if:{{{steam_id_64}}}|[[File:Steam 16x16.png|link=https://steamcommunity.com/profiles/{{{steam_id_64}}}]]|}}
Line 4: Line 6:
 
| {{{name}}}
 
| {{{name}}}
 
| {{{join_date}}}
 
| {{{join_date}}}
| {{{recruiter}}} {{{rank_id}}} {{{rank_name}}}
+
| {{{recruiter}}}
 
| {{#switch: {{{status}}}
 
| {{#switch: {{{status}}}
 
  | Active = {{Active}}
 
  | Active = {{Active}}
Line 13: Line 15:
 
  | Banished = {{Banished}}
 
  | Banished = {{Banished}}
 
  | default = {{{status}}}
 
  | default = {{{status}}}
}} {{{status_id}}} {{{status_name}}}</includeonly>
+
}}</includeonly>

Revision as of 03:21, 12 March 2019

{{{roster_id}}}=roster_member.id,{{{steam_id_64}}}=roster_member.steam_id_64,{{{teamspeak_id}}}=roster_member.teamspeak_id,{{{discord_id}}}=roster_member.discord_id,{{{discord_handle}}}=roster_member.discord_handle,{{{name}}}=roster_member.name,{{{join_date}}}=roster_member.join_date,{{{recruiter}}}=roster_member.recruiter,{{{status}}}=roster_status.name,{{{position}}}=roster_member.position,{{{rank}}}=roster_old_rank.name