Template:Fb r header: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{| class="wikitable" style="font-size: {{#ifexpr:{{{nt|9}}}<= | {| 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 | |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] []
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>
| The above documentation is transcluded from Template:Fb r header/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |