Espd banner horizontal.png

Difference between revisions of "Template:TeamRoster/Simple"

From Esportspedia - Smite Esports Wiki
Jump to: navigation, search
(Created page with "<includeonly>{|class="prettytable"{{#vardefine:RosterN|{{#expr:1+{{#var:RosterN|0}}}}}} |+<span style="font-weight:700;">{{#vardefineecho:team|{{team|{{{team|}}}|teamname}}}...")
 
Line 1: Line 1:
<includeonly>{|class="prettytable"{{#vardefine:RosterN|{{#expr:1+{{#var:RosterN|0}}}}}}
+
<noinclude><!--
 +
-->{{#cargo_declare:_table=tournamentrosters<!--
 +
-->|tournament=Page<!--
 +
-->|team=WikiText<!--
 +
-->|acronym=WikiText<!--
 +
-->|roster=Text<!--
 +
-->|rtag=Text<!--
 +
-->}}<!--
 +
--><!--
 +
-->{{#cargo_attach:_table=tournamentplayer}}</noinclude><includeonly><!--
 +
--><!--
 +
-->{{#cargo_store:_table=tournamentrosters<!--
 +
-->|tournament={{PAGENAME}}<!--
 +
-->|team={{{team|}}}<!--
 +
-->|acronym={{{tacro|}}}<!--
 +
-->|roster={{#if:{{{player1|}}}|[[{{{player1|}}}]]}} {{#if:{{{player2|}}}|• [[{{{player2|}}}]]}} {{#if:{{{player3|}}}|• [[{{{player3|}}}]]}} {{#if:{{{player4|}}}|• [[{{{player4|}}}]]}} {{#if:{{{player5|}}}|• [[{{{player5|}}}]]}} {{#if:{{{player6|}}}|• [[{{{player6|}}}]]}} {{#if:{{{player7|}}}|• [[{{{player7|}}}]]}} {{#if:{{{player8|}}}|• [[{{{player8|}}}]]}} {{#if:{{{player9|}}}|• [[{{{player9|}}}]]}} {{#if:{{{player10|}}}|• [[{{{player10|}}}]]}} {{#if:{{{player11|}}}|• [[{{{player11|}}}]]}} {{#if:{{{player12|}}}|• [[{{{player12|}}}]]}} {{#if:{{{player13|}}}|• [[{{{player13|}}}]]}} {{#if:{{{player14|}}}|• [[{{{player14|}}}]]}} {{#if:{{{player15|}}}|• [[{{{player15|}}}]]}} {{#ifeq:{{{status|}}}|incomplete|• ''Roster Incomplete''}}<!--
 +
-->|rtag={{PAGENAME}}_{{{team|}}}<!--
 +
-->}}<!--
 +
--><!--
 +
--><!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role1|}}}|player={{{player1|}}}|link={{#if:{{{link1|}}}|{{{link1|}}}|{{{player1|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role2|}}}|player={{{player2|}}}|link={{#if:{{{link2|}}}|{{{link2|}}}|{{{player2|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role3|}}}|player={{{player3|}}}|link={{#if:{{{link3|}}}|{{{link3|}}}|{{{player3|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role4|}}}|player={{{player4|}}}|link={{#if:{{{link4|}}}|{{{link4|}}}|{{{player4|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role5|}}}|player={{{player5|}}}|link={{#if:{{{link5|}}}|{{{link5|}}}|{{{player5|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role6|}}}|player={{{player6|}}}|link={{#if:{{{link6|}}}|{{{link6|}}}|{{{player6|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role7|}}}|player={{{player7|}}}|link={{#if:{{{link7|}}}|{{{link7|}}}|{{{player7|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role8|}}}|player={{{player8|}}}|link={{#if:{{{link8|}}}|{{{link8|}}}|{{{player8|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role9|}}}|player={{{player9|}}}|link={{#if:{{{link9|}}}|{{{link9|}}}|{{{player9|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role10|}}}|player={{{player10|}}}|link={{#if:{{{link10|}}}|{{{link10|}}}|{{{player10|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role11|}}}|player={{{player11|}}}|link={{#if:{{{link11|}}}|{{{link11|}}}|{{{player11|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role12|}}}|player={{{player12|}}}|link={{#if:{{{link12|}}}|{{{link12|}}}|{{{player12|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role13|}}}|player={{{player13|}}}|link={{#if:{{{link13|}}}|{{{link13|}}}|{{{player13|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role14|}}}|player={{{player14|}}}|link={{#if:{{{link14|}}}|{{{link14|}}}|{{{player14|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
-->{{#cargo_store:_table=tournamentplayer|tournament={{PAGENAME}}|team={{{team|}}}|role={{{role15|}}}|player={{{player15|}}}|link={{#if:{{{link15|}}}|{{{link15|}}}|{{{player15|}}}}}|rtag={{PAGENAME}}_{{{team|}}}}}<!--
 +
--><!--
 +
-->{|class="prettytable"{{#vardefine:RosterN|{{#expr:1+{{#var:RosterN|0}}}}}}
 
|+<span style="font-weight:700;">[[{{#vardefineecho:team|{{team|{{{team|}}}|teamname}}}}{{#if:{{{display|}}}|{{!}}{{{display}}}}}]]</span>{{#if:{{{footnoteteam|}}}|<sup>{{{footnoteteam|}}}</sup>}}
 
|+<span style="font-weight:700;">[[{{#vardefineecho:team|{{team|{{{team|}}}|teamname}}}}{{#if:{{{display|}}}|{{!}}{{{display}}}}}]]</span>{{#if:{{{footnoteteam|}}}|<sup>{{{footnoteteam|}}}</sup>}}
 
|- class="_toggle RosterLogos Roster{{#var:RosterN}}Logo "
 
|- class="_toggle RosterLogos Roster{{#var:RosterN}}Logo "
Line 18: Line 54:
 
{{!-}}class=" _toggle_inithide _toggle RosterPlayers Roster{{#var:RosterN}}Players"
 
{{!-}}class=" _toggle_inithide _toggle RosterPlayers Roster{{#var:RosterN}}Players"
 
{{!}}width="150" style="font-weight:700;line-height:22px;" {{!}}{{player|{{{player{{#var:i}}|}}}|link={{{link{{#var:i}}|}}}|flag={{{flag{{#var:i}}|}}} }}{{#vardefine:i|{{#expr:{{#var:i}}+1}} }} }}
 
{{!}}width="150" style="font-weight:700;line-height:22px;" {{!}}{{player|{{{player{{#var:i}}|}}}|link={{{link{{#var:i}}|}}}|flag={{{flag{{#var:i}}|}}} }}{{#vardefine:i|{{#expr:{{#var:i}}+1}} }} }}
|}</includeonly><noinclude>{{documentation}}[[Category:Team Roster Templates]]</noinclude>
+
|}<!--
 +
-->{{#vardefine:team|{{{team|}}}}}</includeonly><noinclude>{{documentation}}[[Category:Team Roster Templates]]</noinclude>

Revision as of 16:38, November 6, 2018

This template defines the table "tournamentrosters". View table.This template adds rows to the table "tournamentplayer", which is declared by the template Sonabot/RosterCargo. View table.

(view - edit) Documentation

This template works with {{TeamRoster/Button}}. Please use this template instead of freeform tables.

Copyable Code

{{TeamRoster/Simple|team=
|player1= |flag1= 
|player2= |flag2= 
|player3= |flag3= 
|player4= |flag4= 
|player5= |flag5= 
|player6= |flag6= 
|player7= |flag7= 
|player8= |flag8= 
|player9= |flag9= 
|player10= |flag10= 
}}