الگو:Fb r/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

نام[ویرایش]

Fb r = Football - result

گل[ویرایش]

Facilitate to edit scores in a Results table like لیگ برتر فوتبال انگلستان ۰۸–۲۰۰۷.

با هم استفاده کنید[ویرایش]

این الگو را به همراه الگوهای زیر استفاده کنید:
Template:Fb r header
الگو:Fb r team
الگو:Fb r footer

متغیرها[ویرایش]

Parameter Required UT DUT Description Acceptable values
r Red XN use it when home and away are the same team
OR
use when match ended in overtime
OR
use when match was resolved by penalty kicks
"null"

"ot"

"pk"
gf Red XN goals for (home team) integer >=0
ga Red XN goals against (home team) integer >=0
pf Red XN penalties for (home team) in post-game shootout integer >=0
pa Red XN penalties against (home team) in post-game shootout integer >=0
ma Red XN match article a Wikipedia article title
nt Red XN use it when there is a note for a match to be displayed in the footer integer >=2

UT = use together those parameters with same color
DUT = DON'T use together those parameters with different color

مقالاتی که این الگو در آنها به کار گرفته شده است.[ویرایش]

برای دیدن مقالاتی که از این الگو در آنها استفاده شده است، اینجا کلیک کنید.

نمونه[ویرایش]

کد:

{{fb r header |nt=12 |Arsenal |Aston Villa |Birmingham |Blackburn |Bolton |Chelsea |Derby County |Everton |Fulham |Liverpool |Manchester City |Manchester United}}

{{Fb r team|t=Arsenal}}
<!-- Arsenal -->{{Fb r|r=null}}
<!-- Aston Villa -->{{Fb r}}
<!-- Birmingham -->{{Fb r|gf=2 |ga=1}}
<!-- Blackburn -->{{Fb r|gf=4 |ga=1 |r=ot}}
<!-- Bolton -->{{Fb r|gf=1 |ga=1 |r=pk |pf=4 |pa=2 |ma=West London derby}}
<!-- Chelsea -->{{Fb r|gf=4 |ga=4}}
<!-- Derby County -->{{Fb r|gf=2 |ga=2 |r=pk |pf=3 |pa=5}}
<!-- Everton -->{{Fb r|gf=1 |ga=3 |r=ot}}
<!-- Fulham -->{{Fb r|gf=0 |ga=2}}
<!-- Liverpool -->{{Fb r|ma=West London derby}}

{{Fb r footer|u=14 Aug 2007 |s= |a=yes}}

نتیجه:

ميزبان / ميهمان۱ ARS است BIR بلک بول CHE درب اور FUL لیو من‌س MNU
آرسنال ۲–۱ حاشیه ۱–۲

تاریخ بروز رسانی ۱۴ اوت
منبع: [نیازمند منبع]
۱تیمهای میزبان در جدول عمودی و میهمان در جدول افقی.
رنگ ها: آبی = برد در خانه خود; زرد = مساوی; قرمز = باخت در خانه خود.