Template:Fb r header: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
Hālian (talk | contribs)
No edit summary
 
Line 1: Line 1:
{| class="wikitable" style="font-size: {{#ifexpr:{{{nt|9}}}<=19|100%|{{#ifexpr:{{{nt|9}}}<=20|90%|{{#ifexpr:{{{nt|9}}}<=22|85%|80%}}}}}}; text-align: center;"
{| class="wikitable" style="font-size: {{#ifexpr:{{{nt|9}}}<=18|100%|{{#ifexpr:{{{nt|9}}}<=19|90%|{{#ifexpr:{{{nt|9}}}<=22|85%|80%}}}}}}; text-align: center;"
|-
|-
|Home \ Away<sup>1</sup>
|width={{#if:{{{t-width|}}}|{{{t-width}}}}}|{{nowrap|Home Away}}
|width={{Fb r width|{{{nt|9}}}}}|{{Fb r header/team|{{{1}}}}}
|width={{Fb r width|{{{nt|9}}}}}|{{Fb r header/team|{{{1}}}}}
|width={{Fb r width|{{{nt|9}}}}}|{{Fb r header/team|{{{2}}}}}
|width={{Fb r width|{{{nt|9}}}}}|{{Fb r header/team|{{{2}}}}}

Latest revision as of 15:52, 9 May 2018

Home ╲ Away [[{{{1}}}]] [[{{{2}}}]] [[{{{3}}}]] [[{{{4}}}]] [[{{{5}}}]] [[{{{6}}}]] [[{{{7}}}]] [[{{{8}}}]] [[{{{9}}}]]
[edit] [purge] Template documentation

Template:Fb r header (Football - result - header)

Parameters:
t-width : width of the "Home \ Away" column
nt : number of teams (Between 3 and 24 inclusive)
{{{1}}}...{{{24}}} : teams

Warning:
If the team name is displayed instead of its abbreviation, then go to the Fb team template (Category: Fb team templates) and add this code just after the team's country code:
|abb={{#if:{{{abb|}}}|EnterHereTheAbbreviationToBeDisplayed}} 
Example:
{{fb team |t=Arsenal |tan=Arsenal F.C. |tc=ENG |abb={{#if:{{{abb|}}}|ARS}} |oc={{#if:{{{oc|}}}|{{{oc}}} }} }}<!-- --><noinclude>[[Category:Fb_team_templates]]</noinclude>