The logo competition for the 2025 4chan Winter Cup is now taking submissions. | ||
The deadline is January 6th, 23:59 UTC. Logos will be placed in this gallery to facilitate discussion. This will be followed by a polling period to determine which logo will be used. Please send all submissions to Potatotron. You must supply a high-res PNG file (5000x5000 limit) and the original multi-layer source file. | ||
Cloverleaf logo: .png .svg |
|
Cloverball logo: .ai .png .svg |
Difference between revisions of "Template:Fb cl3 team"
Jump to navigation
Jump to search
Fractalzoom (talk | contribs) m (→Usage) |
(Test.) |
||
Line 1: | Line 1: | ||
|- style="{{#if:{{{bc|}}}|background-color:{{{bc}}};}} {{#if:{{{border|}}}|border-bottom:3px solid {{{border}}};}}" | |- style="{{#if:{{{bc|}}}|background-color:{{{bc}}};}} {{#if:{{{border|}}}|border-bottom:3px solid {{{border}}};}}" | ||
{{#if:{{{p|}}}|{{!}}{{#if:{{{rows|}}}|rowspan={{{rows}}}{{!}}}}{{#if:{{{p|}}}|{{{p}}}|}}}} | {{#if:{{{p|}}}|{{!}}{{#if:{{{rows|}}}|rowspan={{{rows}}}{{!}}}}{{#if:{{{p|}}}|{{{p}}}|}}}} | ||
| style="text-align: left" | {{#if:{{{nat|}}}|{{flagicon|{{{nat|}}}|{{{var|}}}}}}} {{#if:{{{h|}}}|''|}}{{#if:{{{t|}}}|{{{t}}}}}{{#if:{{{h|}}}|''|}} || {{#if:{{{pldb|}}}|'''}}{{#if:{{{w|}}}|{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}}{{#if:{{{pldb|}}}|'''}} || {{#if:{{{wb|}}}|'''}}{{#if:{{{w|}}}|{{{w}}}}}{{#if:{{{wb|}}}|'''}} || {{#if:{{{db|}}}|'''}}{{#if:{{{d|}}}|{{{d}}}}}{{#if:{{{db|}}}|'''}} || {{#if:{{{lb|}}}|'''}}{{#if:{{{l|}}}|{{{l}}}}}{{#if:{{{lb|}}}|'''}} || {{#if:{{{ptsb|}}}|'''}}{{#if:{{{pn|}}}|{{0}}}}{{#if:{{{w|}}}|{{#expr:{{#if:{{{wpts|}}}|{{{wpts}}}|3}}*{{{w}}}+{{{d}}}{{#if:{{{dp|}}}|-{{{dp}}}}}{{#if:{{{bp|}}}|+{{{bp}}}}}}}}}{{#if:{{{pn|}}}|<sup>'''{{{pn}}}'''</sup>}}{{#if:{{{ptsb|}}}|'''}} || {{#if:{{{aptsb|}}}|'''}}{{#if:{{{w|}}}|{{Decimals|({{#expr:({{#expr:{{#if:{{{wpts|}}}|{{{wpts}}}|3}}*{{{w}}}+{{{d}}}{{#if:{{{dp|}}}|-{{{dp}}}}}{{#if:{{{bp|}}}|+{{{bp}}}}}}})/{{#if:{{{w|}}}|({{#expr:{{{w}}}+{{{d}}}+{{{l}}}}})}}}})|2}}}}{{#if:{{{aptsb|}}}|'''}} || {{#if:{{{gfb|}}}|'''}}{{#if:{{{gf|}}}|{{{gf}}}}}{{#if:{{{gfb|}}}|'''}} || {{#if:{{{agfb|}}}|'''}}{{#if:{{{gf|}}}|{{Decimals|({{#expr:{{{gf}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{agfb|}}}|'''}} || {{#if:{{{gab|}}}|'''}}{{#if:{{{ga|}}}|{{{ga}}}}}{{#if:{{{gab|}}}|'''}} || {{#if:{{{agab|}}}|'''}}{{#if:{{{ga|}}}|{{Decimals|({{#expr:{{{ga}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{agab|}}}|'''}} || {{#if:{{{gdb|}}}|'''}}{{#if:{{{gf|}}}{{{ga|}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}>0|+{{#expr:{{{gf}}}-{{{ga}}}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}=0|0|–{{#expr:{{{ga}}}-{{{gf}}}}}}}}}}}{{#if:{{{gdb|}}}|'''}} || {{#if:{{{agdb|}}}|'''}}{{#if:{{{gf|}}}{{{ga|}}}|{{Decimals|({{#expr:({{#ifexpr:{{{gf}}}-{{{ga}}}>0|{{#expr:{{{gf}}}-{{{ga}}}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}=0|0|-{{#expr:{{{ga}}}-{{{gf}}}}}}}}})/({{#expr:{{{w}}}+{{{d}}}+{{{l}}}}})}})|2}}}}{{#if:{{{agdb|}}}|'''}} {{#if:{{{no-extras|}}}||{{!!}} {{#if:{{{csb|}}}|'''}}{{#if:{{{cs|}}}|{{{cs}}}}}{{#if:{{{csb|}}}|'''}} {{!!}} {{#if:{{{acsb|}}}|'''}}{{#if:{{{cs|}}}|{{Decimals|({{#expr:{{{cs}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{acsb|}}}|'''}} {{!!}} {{#if:{{{ycb|}}}|'''}}{{#if:{{{yc|}}}|{{{yc}}}}}{{#if:{{{ycb|}}}|'''}} {{!!}} {{#if:{{{aycb|}}}|'''}}{{#if:{{{yc|}}}|{{Decimals|({{#expr:{{{yc}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{aycb|}}}|'''}} {{!!}} {{#if:{{{rcb|}}}|'''}}{{#if:{{{rc|}}}|{{{rc}}}}}{{#if:{{{rcb|}}}|'''}} {{!!}} {{#if:{{{arcb|}}}|'''}}{{#if:{{{rc|}}}|{{Decimals|({{#expr:{{{rc}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{arcb|}}}|'''}} }}<noinclude><!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | | style="text-align: left" | {{#if:{{{nat|}}}|{{flagicon|{{{nat|}}}|{{{var|}}}}}}} {{#if:{{{h|}}}|''|}}{{#if:{{{t|}}}|{{{t}}}}}{{#if:{{{h|}}}|''|}} || {{#if:{{{pldb|}}}|'''}}{{#if:{{{w|}}}|{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}}{{#if:{{{pldb|}}}|'''}} || {{#if:{{{wb|}}}|'''}}<span class="explain" title="{{#ifexpr:{{#expr:{{{w|0}}}>0}}|{{#expr:{{{w|0}}} * 100 / ({{{w|0}}}+{{{d|0}}}+{{{l|0}}}) round2}}|0}}%">{{#if:{{{w|0}}}|{{{w|0}}}}}</span>{{#if:{{{wb|}}}|'''}} || {{#if:{{{db|}}}|'''}}<span class="explain" title="{{#ifexpr:{{#expr:{{{d|0}}}>0}}|{{#expr:{{{d|0}}} * 100 / ({{{w|0}}}+{{{d|0}}}+{{{l|0}}}) round2}}|0}}%">{{#if:{{{d|0}}}|{{{d|0}}}}}</span>{{#if:{{{db|}}}|'''}} || {{#if:{{{lb|}}}|'''}}<span class="explain" title="{{#ifexpr:{{#expr:{{{l|0}}}>0}}|{{#expr:{{{l|0}}} * 100 / ({{{w|0}}}+{{{d|0}}}+{{{l|0}}}) round2}}|0}}%">{{#if:{{{l|0}}}|{{{l|0}}}}}</span>{{#if:{{{lb|}}}|'''}} || {{#if:{{{ptsb|}}}|'''}}{{#if:{{{pn|}}}|{{0}}}}{{#if:{{{w|}}}|{{#expr:{{#if:{{{wpts|}}}|{{{wpts}}}|3}}*{{{w}}}+{{{d}}}{{#if:{{{dp|}}}|-{{{dp}}}}}{{#if:{{{bp|}}}|+{{{bp}}}}}}}}}{{#if:{{{pn|}}}|<sup>'''{{{pn}}}'''</sup>}}{{#if:{{{ptsb|}}}|'''}} || {{#if:{{{aptsb|}}}|'''}}{{#if:{{{w|}}}|{{Decimals|({{#expr:({{#expr:{{#if:{{{wpts|}}}|{{{wpts}}}|3}}*{{{w}}}+{{{d}}}{{#if:{{{dp|}}}|-{{{dp}}}}}{{#if:{{{bp|}}}|+{{{bp}}}}}}})/{{#if:{{{w|}}}|({{#expr:{{{w}}}+{{{d}}}+{{{l}}}}})}}}})|2}}}}{{#if:{{{aptsb|}}}|'''}} || {{#if:{{{gfb|}}}|'''}}{{#if:{{{gf|}}}|{{{gf}}}}}{{#if:{{{gfb|}}}|'''}} || {{#if:{{{agfb|}}}|'''}}{{#if:{{{gf|}}}|{{Decimals|({{#expr:{{{gf}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{agfb|}}}|'''}} || {{#if:{{{gab|}}}|'''}}{{#if:{{{ga|}}}|{{{ga}}}}}{{#if:{{{gab|}}}|'''}} || {{#if:{{{agab|}}}|'''}}{{#if:{{{ga|}}}|{{Decimals|({{#expr:{{{ga}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{agab|}}}|'''}} || {{#if:{{{gdb|}}}|'''}}{{#if:{{{gf|}}}{{{ga|}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}>0|+{{#expr:{{{gf}}}-{{{ga}}}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}=0|0|–{{#expr:{{{ga}}}-{{{gf}}}}}}}}}}}{{#if:{{{gdb|}}}|'''}} || {{#if:{{{agdb|}}}|'''}}{{#if:{{{gf|}}}{{{ga|}}}|{{Decimals|({{#expr:({{#ifexpr:{{{gf}}}-{{{ga}}}>0|{{#expr:{{{gf}}}-{{{ga}}}}}|{{#ifexpr:{{{gf}}}-{{{ga}}}=0|0|-{{#expr:{{{ga}}}-{{{gf}}}}}}}}})/({{#expr:{{{w}}}+{{{d}}}+{{{l}}}}})}})|2}}}}{{#if:{{{agdb|}}}|'''}} {{#if:{{{no-extras|}}}||{{!!}} {{#if:{{{csb|}}}|'''}}{{#if:{{{cs|}}}|{{{cs}}}}}{{#if:{{{csb|}}}|'''}} {{!!}} {{#if:{{{acsb|}}}|'''}}{{#if:{{{cs|}}}|{{Decimals|({{#expr:{{{cs}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{acsb|}}}|'''}} {{!!}} {{#if:{{{ycb|}}}|'''}}{{#if:{{{yc|}}}|{{{yc}}}}}{{#if:{{{ycb|}}}|'''}} {{!!}} {{#if:{{{aycb|}}}|'''}}{{#if:{{{yc|}}}|{{Decimals|({{#expr:{{{yc}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{aycb|}}}|'''}} {{!!}} {{#if:{{{rcb|}}}|'''}}{{#if:{{{rc|}}}|{{{rc}}}}}{{#if:{{{rcb|}}}|'''}} {{!!}} {{#if:{{{arcb|}}}|'''}}{{#if:{{{rc|}}}|{{Decimals|({{#expr:{{{rc}}}/{{#expr:{{{w}}}+{{{d}}}+{{{l}}}}}}})|2}}}}{{#if:{{{arcb|}}}|'''}} }}<noinclude><!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
==Usage== | ==Usage== | ||
Revision as of 13:14, 5 May 2015
|- style=" "
| style="text-align: left" | || || 0 || 0 || 0 || || || || || || || || || || || || || ||
Usage
- See also: Template:Fb cl3 region
Template:Fb cl team (Football - classification - team)
This template is best for use with the Fb cl3 header navbar and Fb cl3 footer templates on statistics pages, e.g. 2013 4chan Summer Cup statistics.
{{Fb cl3 team|p= |h= |t= |w= |d= |l= |gf= |ga= |cs= |yc= |rc= }}
Parameters
Par. | Explanation |
---|---|
bc | background color for the template |
border | border color for the template (border appears at the bottom) |
p | ranking of team; "p" must also be active in Fb cl3 header navbar and Fb cl3 footer |
rows | spans the "p" value by the given number of rows |
t | name of team |
h | when active, "t" is rendered in italics to denote the host nation(s) |
w | total games won |
d | total games drawn (tied) |
l | total games lost |
gf | total goals scored (goals for) |
ga | total goals conceded (goals against) |
cs | clean sheets |
yc | yellow cards |
rc | red and/or yellow-red cards |
no-extras | when "yes" is typed in, the "cs", "yc" and "rc" values are removed; "no-extras" must also be active in Fb cl3 header navbar and Fb cl3 footer |
The following parameters enable the editor to render values in bold and are all optional.
Par. | Possible values | Explanation |
---|---|---|
pldb | y = yes; blank = no | renders the "Pld" value in bold |
wb | renders the "w" value in bold | |
db | renders the "d" value in bold | |
lb | renders the "l" value in bold | |
ptsb | renders the points accumulated in bold | |
aptsb | renders the average points per game in bold | |
gfb | renders the "gf" value in bold | |
agfb | renders the average goals scored in bold | |
gab | renders the "ga" value in bold | |
agab | renders the average goals conceded in bold | |
gdb | renders the goal difference in bold | |
agdb | renders the average goal difference in bold | |
csb | renders the "cs" value in bold | |
acsb | renders the average clean sheets in bold | |
ycb | renders the "yc" value in bold | |
aycb | renders the average yellow cards in bold | |
rcb | renders the "rc" value in bold | |
arcb | renders the average red cards in bold |