Difference between revisions of "Template:NewInfobox Team"

From comp.tf
Jump to navigation Jump to search
m
 
(25 intermediate revisions by 3 users not shown)
Line 82: Line 82:
 
   | 6s
 
   | 6s
 
   | 6v6 = [[:Category:6v6 Teams|6v6]]
 
   | 6v6 = [[:Category:6v6 Teams|6v6]]
 +
  | 7s
 +
  | 7v7
 +
  | prolander = [[:Category:7v7 Teams|7v7]]
 
   | 9v9
 
   | 9v9
 
   | hl
 
   | hl
Line 93: Line 96:
 
Icons
 
Icons
  
-->{{#if:{{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{etf2lold|}}} {{{etf2lold2|}}} {{{eseaold|}}} {{{ozfortressold|}}} {{{website|}}} {{{website2|}}} {{{twitter|}}} {{{steam|}}} {{{facebook|}}} {{{vk|}}} {{{youtube|}}} {{{gplus|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
+
-->{{#if:{{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{ozfcitadel|}}} {{{ugc|}}} {{{etf2lold|}}} {{{etf2lold2|}}} {{{eseaold|}}} {{{ozfortressold|}}} {{{website|}}} {{{website2|}}} {{{twitter|}}} {{{steam|}}} {{{facebook|}}} {{{vk|}}} {{{youtube|}}} {{{gplus|}}} {{{twitch|}}} {{{stream|}}} {{{fanclub|}}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
<div class="infobox-header infobox-header-2">Links</div>
 
</div>
 
</div>
{{#if:{{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}}|
+
{{#if:{{{etf2l|}}} {{{esea|}}} {{{ozfortress|}}} {{{ozfcitadel|}}} {{{ugc|}}}|
 
<div>
 
<div>
 
<div class="infobox-center infobox-icons"><!--
 
<div class="infobox-center infobox-icons"><!--
 +
--> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png|32px|RGL Team Page|link=https://rgl.gg/Public/Team.aspx?t={{{rgl|}}}]]}}<!--
 
--> {{#if:{{{esea|}}}|[[Image:EseaLogo.png|32px|ESEA Team Page|link=https://play.esea.net/teams/{{{esea}}}]]}}<!--
 
--> {{#if:{{{esea|}}}|[[Image:EseaLogo.png|32px|ESEA Team Page|link=https://play.esea.net/teams/{{{esea}}}]]}}<!--
 
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2l}}}]]}}<!--
 
--> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2l}}}]]}}<!--
--> {{#if:{{{ozfortress|}}}|[[Image:Ozfortress_Icon.png|32px|OzFortress Team Page|link=http://ozfortress.com/clan.php?do=viewclan&clanid={{{ozfortress}}}]]}}</div>
+
--> {{#if:{{{ozfcitadel|}}}|[[Image:Ozfortress_Icon.png|32px|ozfortress Citadel Team Page|link=https://warzone.ozfortress.com/teams/{{{ozfcitadel}}}]]}}<!--
 +
--> {{#if:{{{ozfortress|}}}|[[Image:Ozfortress_icon.png|32px|ozfortress Forum Team Page|link=https://ozfortress.com/teams/{{{ozfortress}}}]]}}<!--
 +
--> {{#if:{{{ugc|}}}|[[Image:UGC-Icon2.png|32px|UGC Team Page|link=https://www.ugcleague.com/team_page.cfm?clan_id={{{ugc}}}]]}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 112: Line 118:
 
--> {{#if:{{{etf2lold|}}}|[[Image:ETF2L-Icon_grey.png|x16px|Old ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2lold}}}]]}}<!--
 
--> {{#if:{{{etf2lold|}}}|[[Image:ETF2L-Icon_grey.png|x16px|Old ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2lold}}}]]}}<!--
 
--> {{#if:{{{etf2lold2|}}}|[[Image:ETF2L-Icon_grey.png|x16px|Old ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2lold2}}}]]}}<!--
 
--> {{#if:{{{etf2lold2|}}}|[[Image:ETF2L-Icon_grey.png|x16px|Old ETF2L Team Page|link=http://etf2l.org/teams/{{{etf2lold2}}}]]}}<!--
--> {{#if:{{{ozfortressold|}}}|[[Image:Ozfortress_Icon_Grey.png|16px|Old OzFortress Team Page|link=http://ozfortress.com/clan.php?do=viewclan&clanid={{{ozfortressold}}}]]}}<!--
+
--> {{#if:{{{ozfortressold|}}}|[[Image:Ozfortress_Icon_Grey.png|16px|Old OzFortress Team Page|link=https://ozfortress.com/teams/{{{ozfortressold}}}]]}}<!--
--> {{#if:{{{ozfortressold2|}}}|[[Image:Ozfortress_Icon_Grey.png|16px|Old OzFortress Team Page|link=http://ozfortress.com/clan.php?do=viewclan&clanid={{{ozfortressold2}}}]]}}</div>
+
--> {{#if:{{{ozfortressold2|}}}|[[Image:Ozfortress_Icon_Grey.png|16px|Old OzFortress Team Page|link=https://ozfortress.com/teams/{{{ozfortressold2}}}]]}}</div>
 
</div>
 
</div>
 
}}<!--
 
}}<!--
Line 124: Line 130:
 
--> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
 
--> {{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!--
 
--> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!--
 
--> {{#if:{{{facebook|}}}|[[Image:InfoboxIcon Facebook.png|32px|Facebook|link=http://facebook.com/{{{facebook}}}]]}}<!--
--> {{#if:{{{snapchat|}}}|[[Image:InfoboxIcon Snapchat.png|32px|Snapchat:{{{snapchat}}}]]}}<!--
+
--> {{#if:{{{snapchat|}}}|[[Image:InfoboxIcon Snapchat.png|32px|Snapchat: {{{snapchat|}}}|link=https://www.snapchat.com/add/{{{snapchat}}}]]}}<!--
 
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
 
--> {{#if:{{{youtube|}}}|[[Image:InfoboxIcon YouTube.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!--
 
--> {{#if:{{{gplus|}}}|[[Image:InfoboxIcon GooglePlus.png|32px|Google&#43;|link=http://plus.google.com/{{{gplus}}}]]}}<!--
 
--> {{#if:{{{gplus|}}}|[[Image:InfoboxIcon GooglePlus.png|32px|Google&#43;|link=http://plus.google.com/{{{gplus}}}]]}}<!--
Line 138: Line 144:
 
Achievements
 
Achievements
  
-->{{#if:{{{achievements|}}}|
+
-->{{#if:{{{achievements|}}}{{{1stplace|}}}{{{2ndplace|}}}{{{3rdplace|}}}{{{4thplace|}}}{{Team Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}{{Team Achievements|{{PAGENAME}}|2}}{{Team Achievements|{{PAGENAME}}|3|3-4}}{{Team Achievements|{{PAGENAME}}|4}}|
 
<div>
 
<div>
 
<div class="infobox-header infobox-header-2">Achievements</div>
 
<div class="infobox-header infobox-header-2">Achievements</div>
 
</div>
 
</div>
 
<div>
 
<div>
<div class="infobox-center">{{{achievements}}}</div>
+
<div class="infobox-center">{{#if:{{{achievements|}}}|{{{achievements}}}}}{{#if:{{{1stplace|}}}|{{Medal|1st}} {{{1stplace}}}{{Team Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}<br />|{{#if:{{Team Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}|{{Medal|1st}}{{Team Achievements|{{PAGENAME}}|1|1-2|1-3|1-4|1-5|1-6}}<br />|}} }}<!--
</div>
+
-->{{#if:{{{2ndplace|}}}|{{Medal|2nd}} {{{2ndplace}}}{{Team Achievements|{{PAGENAME}}|2}}<br />|{{#if:{{Team Achievements|{{PAGENAME}}|2}}|{{Medal|2nd}}{{Team Achievements|{{PAGENAME}}|2}}<br />|}} }}<!--
}}<!--
+
-->{{#if:{{{3rdplace|}}}|{{Medal|3rd}}/{{Medal|sf}} {{{3rdplace}}}{{Team Achievements|{{PAGENAME}}|3|3-4}}<br />|{{#if:{{Team Achievements|{{PAGENAME}}|3|3-4}}|{{Medal|3rd}}/{{Medal|sf}}{{Team Achievements|{{PAGENAME}}|3|3-4}}<br />|}} }}<!--
 +
-->{{#if:{{{4thplace|}}}|{{Medal|4th}} {{{4thplace}}}{{Team Achievements|{{PAGENAME}}|4}}<br />|{{#if:{{Team Achievements|{{PAGENAME}}|4}}|{{Medal|4th}}{{Team Achievements|{{PAGENAME}}|4}}<br />|}} }}</div>
 +
</div>|}}<!--
  
 
History
 
History
Line 184: Line 192:
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
<div class="infobox-center"><small>{{{footnotes}}}</small></div>
 
</div>
 
</div>
}}<!--
+
}}
 
+
</div>
Adbox
 
 
 
--></div>
 
<htmlet>infobox</htmlet>
 
 
</div><!--
 
</div><!--
  
Line 216: Line 220:
 
   | 6s
 
   | 6s
 
   | 6v6 = [[Category:6v6 Teams]]
 
   | 6v6 = [[Category:6v6 Teams]]
 +
  | 7s
 +
  | 7v7
 +
  | prolander = [[Category:7v7 Teams|7v7]]
 
   | 9v9
 
   | 9v9
 
   | hl
 
   | hl
Line 271: Line 278:
 
|has esea page={{#if:{{{esea|}}}|http://play.esea.net/teams/{{{esea}}}}}
 
|has esea page={{#if:{{{esea|}}}|http://play.esea.net/teams/{{{esea}}}}}
 
|has etf2l page={{#if:{{{etf2l|}}}|http://etf2l.org/teams/{{{etf2l}}}}}
 
|has etf2l page={{#if:{{{etf2l|}}}|http://etf2l.org/teams/{{{etf2l}}}}}
 +
|has ozfortress page={{#if:{{{ozfortress|}}}|http://ozfortress.com/clan.php?do=viewclan&clanid={{{ozfortress}}}|}}
 +
|has ugc page={{#if:{{{ugc|}}}|https://www.ugcleague.com/team_page.cfm?clan_id={{{ugc}}}}}
  
 
|was created={{{created|}}}
 
|was created={{{created|}}}
 
|was disbanded={{#if:{{{disbanded|}}}|{{{disbanded}}}}}
 
|was disbanded={{#if:{{{disbanded|}}}|{{{disbanded}}}}}
  
|has continent={{#switch:{{lc:{{{location|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia=Europe
+
|has continent={{#switch:{{lc:{{{location|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe
 
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America
 
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America
 
|australia|new zealand=Oceania}}
 
|australia|new zealand=Oceania}}
 
}}<!--
 
}}<!--
 
--></includeonly><noinclude>[[Category:Infoboxes]] [[Category:Source Liquipedia‏‎]]{{documentation}}</noinclude>
 
--></includeonly><noinclude>[[Category:Infoboxes]] [[Category:Source Liquipedia‏‎]]{{documentation}}</noinclude>

Latest revision as of 10:28, 23 June 2022

(view - edit) Documentation

[e][h]Template:NewInfobox Team
Crack Clan.png
Crack Clan's logo
Team Information
Tag:
//cc
Location:
Team Captain:
dawniii
Total Earnings:
0
Game Mode:
Links
ESEA Team Page ETF2L Team Page ozfortress Citadel Team Page ozfortress Forum Team Page
Old ESEA Team Page Old ETF2L Team Page Old OzFortress Team Page
Achievements
First Place 6v6 Season 21
Second Place 6v6 Season 21
Third Place/Semifinalist(s) 6v6 Season 21
History
Created:
26-11-2010
Recent Player Trades:
11-06-2015 - rockie leaves
20-05-2015 - Tuto joins
24-05-2015 - yak joins
feet


New InfoBox

Due to the current existance of a Season Infobox and a desire to update comp.tf to have a modern feel to it, this new template was created to avoid conflicting with previous infoboxes and result in losing information, which would be not very benificial.
Credit to Liquipedia for the code and inital template.

Template Explination

{{NewInfobox Team

This brings out the template you will be using.

|name=

The title of the page. This will also override the page display name.

|image=
|tcimage=

For a different image to be sent to any teamcard.

|caption=

The banner for the infobox and the caption.

|tag=

The team tag.

|location
|location2

The team's location.

|sponsor=

Team sponsors. This may be hyperlinked to the sponsor's page.

|earnings=

Total amount of money the team has made over the course of its lifetime.

|gamemode=

The team's game mode. 6v6, Highlander, 4v4, so on. If one team has plays two different formats, it would be best to make a different page for the different format.

|website=
|website2=

Team website

|rgl=
|esea=
|etf2l=
|ozfortress=
|ozfcitadel=

The teams current page for the corresponding leagues. More may be added in the future.

|eseaold=
|eseaold2=
|etf2lold=
|etf2lold2=
|ozfortressold=
|ozfortressold2=

The teams former page for the corresponding leagues. More may be added in the future.

|twitter=
|steam=
|facebook=
|vk=
|youtube=
|gplus=
|snapchat=
|twitch=
|stream=
|fanclub=

The team's Twitter, Steam group, facebook, snapchat, VK, YouTube, Google+, Twitch, other stream and fanclub pages.

|achievements

Don't use this parameter anymore. We will remove it once every (or most) of the team pages are updated.

|1stplace
|2ndplace
|3rdplace
|4thplace

Use this parameter for when a certain achievement is not automatically displayed. Use Template:LeagueIconSmall and link to the specific event. For example: "{{LeagueIconSmall/etf2l|link=ETF2L 6v6 Season 19}}" to produce: ETF2L 6v6 Season 19.

|created=
|disbanded=

Date the team was created and disbanded

|trades=

Recent trades within the team

|footnotes=

Additional information desired to be added.

}}

The end of your template.


Template: NewInfobox Team

Copy the content to your page.

{{NewInfobox Team
|name=
|image=
|caption=
|tag=
|location=
|location2=
|captain=
|sponsor=
|earnings=
|gamemode=
|website=
|website2=
|etf2l=
|ozfortress=
|ozfcitadel=
|esea=
|etf2lold=
|ozfortressold=
|eseaold=
|etf2lold2=
|ozfortressold2=
|eseaold2=
|twitter=
|steam=
|facebook=
|snapchat=
|vk=
|youtube=
|gplus=
|twitch=
|stream=
|fanclub=
|1stplace=
|2ndplace=
|3rdplace=
|4thplace=
|created=
|disbanded=
|trades=
|footnotes=
}}