الگو:جعبه فوتبال تاشو

(تغییرمسیر از الگو:Footballbox collapsible)
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage ویرایش

This template is meant to be used for abbreviated regular season results with expandable details. The goal with this template is to only consume one line of text (when collapsed) for each match. Therefore, avoid using line breaks (<br />) in parameters that are still visible when the box score is collapsed.

Sample:

{{جعبه فوتبال تاشو
|شناسه           = Italy v France
|تاریخ         = {{Start date|2006|7|9|df=y}}
|زمان         = ۲۰:۰۰ [[زمان تابستانی اروپای مرکزی|CEST]] ([[یوتی‌سی ۲:۰۰+|یوتی‌سی ۲+]])
|دور        = [[فینال جام جهانی فوتبال ۲۰۰۶|فینال]]
|نتیجه        = ۱–۱
|وقت اضافه          = بله
|گزارش       = https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html
|تیم۱        = {{fb-rt|ITA}}
|گل۱       =
* [[جانلوکا زامبروتا|زامبروتا]] {{زرد|۵}}
* [[مارکو ماترازی|ماترازی]] {{گل|۱۹}}
|تیم۲        = {{fb|FRA}}
|گل۲       =
* [[ویلی سانیول|سانیول]] {{زرد|۱۲}}
* [[کلود ماکلله|ماکلله]] {{زرد|۷۶}}
* [[زین‌الدین زیدان|زیدان]] {{گل|۷|پنالتی}}، {{اخراج|0|110}}
* [[فلورن مالودا|مالودا]] {{زرد|۱۱۱}}
|ورزشگاه      = [[ورزشگاه المپیک برلین]]
|مکان     = [[برلین]]، آلمان
|تماشاگران   = ۶۹۰۰۰
|داور      = [[هوراسیو الیزوندو]] ([[اتحادیه فوتبال آرژانتین|آزژانتین]])
|نتیجه پنالتی = ۵–۳
|پنالتی۱   =
* [[آندره‌آ پیرلو|پیرلو]] {{پنالتی گل}}
* [[مارکو ماترازی|ماترازی]] {{پنالتی گل}}
* [[دنیله د روسی|د روسی]] {{پنالتی گل}}
* [[آلساندرو دل پیرو|دل پیرو]] {{پنالتی گل}}
* [[فابیو گروسو|گروسو]] {{پنالتی گل}}
|پنالتی۲   =
* {{پنالتی گل}} [[سیلوین ویلتورد|ویلتورد]]
* {{پنالتی دفع}} [[دیوید ترزگه|ترزگه]]
* {{پنالتی گل}} [[اریک آبیدال|آبیدال]]
* {{پنالتی گل}} [[ویلی سانیول|سانیول]]
}}

Sample result:

Blank Template ویرایش

All available parameters are shown here.

{{جعبه فوتبال تاشو
<!-- recommended or required parameters -->
|تاریخ = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
|زمان =
|دور =
|تیم۱ =
|نتیجه =
|گزارش =
|تیم۲ =
|گل۱ =
|گل۲ =
|ورزشگاه =
<!-- optional parameters -->
|مکان =
|تماشاگران =
|داور =
|کمک‌داوران =
|داور چهارم =
|داوران پشت دروازه =
|گل زده در خانه حریف =
|مرد مسابقه =
|ارزشمندترین بازیکن =
<!-- penalty parameters, required if the match went to shootout -->
|پنالتی۱ =
|نتیجه پنالتی =
|پنالتی۲ =
<!-- formatting/color parameters -->
|اندازه = <!-- for example 80%, by default 100% -->
|حاصل  = <!-- W or L or D (or T) or V (or P)-->
|پس زمینه = <!-- color -->
|بی نوار = <!-- 1 to hide bars, 0 to show them, default: 0 -->
|پیوند = <!-- "yes" with multiple boxscores stacked together. Hides the bar at the bottom avoiding double lines between boxscores. -->
}}

Parameters ویرایش

Required parameters: team1, team2, score (if the match has occurred), and report. Everything else is optional, though goals1, goals2, referee, location, and stadium are highly encouraged wherever this template is used.

Content Parameters ویرایش

  • attendance - Match attendance as reported in the match report.
  • date - Date of the match. Use {{Start date}} (with df=y or mf=y; see: ویکی‌پدیا:شیوه‌نامه)
  • location & stadium - If location is not specified, the value of stadium will appear at the top of the far right column "above the fold". If location is specified, then only the location value will appear "above the fold" on the right, and the value of stadium will be shown with the prefix "Stadium:" beside it only when the box score is expanded.
  • goals1 and goals2 - Goals scored and optionally cards issued. Use {{goal}}, {{yel}}, and {{sent off}} with the last name (or professional name) of the player involved. Place a line break <br> between each player listed. If a player scores more than one goal (or cards) these can be grouped together so that the player's name only appears once. This is not required though. Preference should be given to listing goals (and cards) in chronological order.
  • penaltyscore - The result of the penalty shootout.
    • penalties1 and penalties2 - List of the results of each penalty kick taken. Use {{pengoal}} and {{penmiss}} with the last name (or professional name) of the player taking the kick. Place a line break <br> between each player listed.
  • score - The final score of the match. If the match went into extra time (and possibly penalties) the aet parameter should be set to yes.
  • aet - Set this parameter to yes if the match went to extra time.
  • aggregatescore - Optionally, the aggregate score if the match is the second of a two leg tie. Example: |aggregatescore = 4[[قانون گل زده در خانه حریف]]–4, which produces (4قانون گل زده در خانه حریف–4 agg.)
  • time - Time of the match. The local time of the match (local to the stadium it took place in). Either 24h or 12h formats are acceptable.
  • team1 and team2 - Typically team1 is the home team. Both should be wikilined to a team page if there is one.
  • referee - Name of head referee (wikilinked only if there is a page for the referee or you intend to create it soon). The referee's national federation in parenthesis is optional but recommended when the box score is for an international competition.
    • assistantreferees, fourthofficial & goallineassistants - Further detailed referee information. Same guidelines apply as referee.
  • motm - Man of the match.
  • mvp - Most valuable player.
  • report - An external link to an official match report or box score. It is important that match information be referenced, so please use this parameter! (See also: ویکی‌پدیا:اثبات‌پذیری and ویکی‌پدیا:تحقیق دست‌اول ممنوع)
  • round - For use when the match is part of a tournament with various rounds of play, such as Preliminary Round, First Round, Group Stage, etc. Wikilinking to the appropriate tournament page/section is recommended.

Formatting Parameters ویرایش

  • bg - Use this param to specify a custom background color (ignored if result is specified). Use RRGGBB values without the # sign. Example: |bg=99C0B0
  • nobars - Set this parameter to 1 if you don't want the one pixel bars to show above and below the template. Example: |nobars=1
  • result - Adjusts background color to indicate win (green), draw/tie (yellow), loss (red) or void/postponement (grey). Possible values: W, L, T, D, V or P. See the Legend section below when using this parameter.
  • size - By default Footballbox_collapsible is 100% wide. Use this param to specify a different width. Example: |size=80%
  • stack - Use when multiple {{footballbox collapsible}}s are stacked together. It causes the bottom bar to be hidden so that a thick bar does not appear between each box score. Example |stack=yes
  • class - Use this if you do not want the template collapsed. The options are "uncollapsed vevent" (removal of collapse function), "collapsible vevent" (box can be collapsed, but by default is not) and "collapsible collapsed vevent" (box is initially collapsed). If unused, the parameter will default to "collapsible collapsed vevent". Example: |class=collapsible vevent

Legend ویرایش

Simple coloring legend recommended when an article makes use of result parameter:

{{legend2|#CCFFCC|برد|border=1px solid #AAAAAA}}
{{legend2|#FFFFCC|مساوی|border=1px solid #AAAAAA}}
{{legend2|#FFCCCC|باخت|border=1px solid #AAAAAA}}
{{legend2|#CCCCCC|لغو|border=1px solid #AAAAAA}} <!-- optional -->
{{legend2|#CCCCCC|تعویق|border=1px solid #AAAAAA}} <!-- optional -->

Which produces:

      برد       مساوی       باخت       لغو       تعویق

Note: Given the rarity of voided results and postponements, those entries are optional and can be omitted in most cases.

توجه: در استفاده از پارامتر حاصل، عبارت کامل کلمه استفاده شود.

Microformats ویرایش

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name تجزیه‌کننده by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

  • fn (required)
  • nickname
  • org
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

نشانه‌گذاری اچ‌تی‌ام‌ال تولیدشده توسط این الگو شامل یک میکروفرمت اچ‌کلندر است که جزئیات رویداد را آمادهٔ تجزیه توسط برنامه‌های رایانه‌ای می‌کند. این به وظایفی نظیر فهرست‌نویسی مقاله‌ها و نگهداری از پایگاه‌های داده کمک می‌کند. برای کسب اطلاعات بیشتر پیرامون استفاده از میکروفرمت‌ها در ویکی‌پدیا، ویکی‌پروژه میکروفرمت در ویکی‌پدیای انگلیسی را ببینید.
کلاس‌های مورد استفاده

کلاس‌ها اچ‌تی‌ام‌ای این میکروفرمت شامل موارد زیر است:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید.
عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

جستارهای وابسته ویرایش

  • {{football box}} - almost the same thing, but not collapsible

الگوداده ویرایش

This template displays the summary of a football (soccer) match. The summary include date and time, stadium, competing teams, goal scorers and the minute of goal, a link to the official match report and attendance of the stadium. It also includes whether or not the match went to extra-time or penalty-shoots and displays respective results. It is collapsible.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
شناسهشناسه

Unique anchor to the match.

مثال
Italy v France
رشتهپیشنهادشده
تیم ۱تیم۱

First team displayed, usually home team.

مثال
Italy
رشتهضروری
تیم ۲تیم۲

Second team displayed, usually guest team.

مثال
France
رشتهضروری
وضعیتوضعیت

Used to uncollapse the box.

مثال
uncollapsed, collapsible, collapsible collapsed
رشتهاختیاری
بی‌نواربی نوار

Set to 1 to hide bars.

مثال
1
شمارهاختیاری
اندازهاندازه

Width of the box.

پیش‌فرض
100%
مثال
80%
شمارهاختیاری
حاصلحاصل

Changes the color of the box based on result.

مثال
W, D, L
رشتهاختیاری
پس‌زمینهپس‌زمینه

Background color.

مثال
red
رشتهاختیاری
قالبقالب

Set to 1 to leave more space for round/date and location.

مثال
1
شمارهاختیاری
تاریختاریخ

Displays the date the match took place.

مثال
9 July 2006
تاریخاختیاری
دوردور

The competition round the match belongs to.

مثال
2006 FIFA World Cup Final
رشتهپیشنهادشده
نتیجهنتیجه

The match score.

مثال
1–1
رشتهپیشنهادشده
یادداشت نتیجهیادداشت نتیجه

An optional note clarifying the final score

پیش‌فرض
no
مثال
Decided by a coin flip
مقدار خودکار
رشتهاختیاری
وقت اضافهوقت اضافه

Set to "yes" if the match went into extra time.

پیش‌فرض
no
مثال
yes
مقدار خودکار
بولیاختیاری
گل زده در خانه حریفگل زده در خانه حریف

The aggregate score for matches played over two legs.

رشتهاختیاری
نتیجه پنالتینتیجه پنالتی

The score in the penalty shoot-out.

مثال
5–3
رشتهاختیاری
نتیجه ضربه‌زدننتیجه ضربه‌زدن

The score in the penalty shoot-out (alternative to penaltyscore).

مثال
5–3
رشتهاختیاری
مکانمکان

The city the match took place in.

مثال
Berlin, Germany
رشتهپیشنهادشده
ورزشگاهورزشگاه

The name of the stadium that was played in.

مثال
Olympiastadion
رشتهپیشنهادشده
زمانزمان

Time the match took place.

مثال
20:00 CEST (UTC+02:00)
رشتهاختیاری
گل ۱گل۱

The goals (and cards) for the home team.

مثال
[[Marco Materazzi|Materazzi]] {{goal|19}}
رشتهپیشنهادشده
گزارشگزارش

The URL of a match report.

مثال
https://www.fifa.com/worldcup/matches/round=97410600/match=97410064/index.html#nosticky
نشانی اینترنتیضروری
گل ۲گل۲

The goals (and cards) for the guest team.

مثال
[[Zinédine Zidane|Zidane]] {{goal|7}}, {{sent off|0|110}}
رشتهپیشنهادشده
تماشاگرانتماشاگران

The number of people attending the match.

مثال
69,000
شمارهاختیاری
داورداور

The referee for the match.

مثال
Horacio Elizondo (Argentina)
ناشناختهاختیاری
کمک‌داورانکمک‌داوران

The assistant referees for the match.

مثال
Dario García (Argentina)
رشتهاختیاری
کمک‌داور دومکمک‌داور۲

Second assistant referee; rarely used as usually both assistants go in the "assistantreferees" field

مثال
Rodolfo Otero (Argentina)
ناشناختهاختیاری
داور چهارمداور چهارم

The fourth official for the match.

مثال
Luis Medina Cantalejo (Spain)
رشتهاختیاری
داور پنجمداور پنجم

The fifth official for the match.

مثال
Victoriano Giraldez Carrasco (Spain)
رشتهاختیاری
داوران پشت دروازهداوران پشت دروازه

The goal line assistants for the match.

رشتهاختیاری
داور پشت دروازه ۲داور پشت دروازه۲

Second goal line assistant; rarely used as usually both assistants go in the "goallineassistants" field

رشتهاختیاری
مرد مسابقهمرد مسابقه

The Man of the Match.

مثال
Andrea Pirlo
رشتهاختیاری
ارزشمندترین بازیکنارزشمندترین بازیکن

The Most Valuable Player

رشتهاختیاری
پنالتی ۱پنالتی۱

The penalties for the home team.

مثال
[[Andrea Pirlo|Pirlo]] {{pengoal}}
رشتهاختیاری
پنالتی ۲پنالتی۲

The penalties for the guest team.

مثال
{{pengoal}} [[Sylvain Wiltord|Wiltord]]
رشتهاختیاری
ضربه‌زدن ۱ضربه‌زدن۱

The shootout goal attempts for the home team.

مثال
[[Andrea Pirlo|Pirlo]] {{pengoal}}
رشتهاختیاری
ضربه‌زدن ۲ضربه‌زدن۲

The shootout goal attempts for the guest team.

مثال
{{pengoal}} [[Sylvain Wiltord|Wiltord]]
رشتهاختیاری
یادداشتیادداشت

Space for any notes regarding the match.

رشتهاختیاری