الگو:جدول موفقیت

از ویکی‌پدیا، دانشنامهٔ آزاد
پرش به: ناوبری، جستجو
سال مسابقه محل مقام پاورقی
نشان توضیحات توضیحات الگو [ویرایش] [تاریخچه] [پاکسازی میانگیر]

The AchievementTable template is a simple way to start a table to list دو و میدانی or athletics achievements on an athlete's article. For an in-use example, see James Kwalia.

استفاده[ویرایش]

In order to use the template, simply open a table and add the template as follows:

{| {{AchievementTable}}

Using this template can help you write tables like the one below

سال مسابقه محل مقام رویداد پاورقی
2001 World Youth Championships دبرسن, مجارستان 3rd 3000 m
2003 World Athletics Final مونته کارلو, موناکو 5th 3000 m
2004 World Athletics Final مونته کارلو, موناکو 2nd 3000 m
2005 World Cross Country Championships سن‌اتین, فرانسه 15th Short race
World Championships هلسینکی, فنلاند 13th 5000 m
World Athletics Final مونته کارلو, موناکو 6th 5000 m
Asian Athletics Championships اینچئون, کره جنوبی 1st 5000 m

Basic examples[ویرایش]

You can start to add the details immediately after using the AchievementTable template. For example, the following code:

{|{{AchievementTable}}

|2004

|2004 Summer Olympics

|Athens, Greece

|4th

|10.04 seconds

|-

|2008

|2008 Summer Olympics

|Beijing, China

|5th

|10.08 seconds

|}

Would give you the following table:

سال مسابقه محل مقام پاورقی
2004 2004 Summer Olympics Athens, Greece 4th 10.04 seconds
2008 2008 Summer Olympics Beijing, China 5th 10.08 seconds

Event feature[ویرایش]

Many athletes compete in more than one event, sometimes within the same competition – اوسین بولت in the 100 and 200 metres at the 2008 Olympics for instance. If you need to note the specific event which the athlete was competing in, then you can activate the "Event" column.

{|{{AchievementTable|Event=yes}}

|2004

|2004 Summer Olympics

|Athens, Greece

|4th

|100 metres

|10.04 seconds

|-

|2004

|2004 Summer Olympics

|Athens, Greece

|8th

|200 metres

|20.45 seconds

|-

|2008

|2008 Summer Olympics

|Beijing, China

|5th

|100 metres

|10.08 seconds

|-

|2008

|2008 Summer Olympics

|Beijing, China

|7th

|200 metres

|20.31 seconds

|}

Would give you the following table:

سال مسابقه محل مقام رویداد پاورقی
2004 2004 Summer Olympics Athens, Greece 4th 100 metres 10.04 seconds
2004 2004 Summer Olympics Athens, Greece 8th 200 metres 20.45 seconds
2008 2008 Summer Olympics Beijing, China 5th 100 metres 10.08 seconds
2008 2008 Summer Olympics Beijing, China 7th 200 metres 20.31 seconds

NotesOff feature[ویرایش]

To turn off the notes column in the table simply add "NotesOff=yes" into the template.

{|{{AchievementTable|Event=yes|NotesOff=yes}}

|2004

|2004 Summer Olympics

|Athens, Greece

|4th

|100 metres

|-

|2004

|2004 Summer Olympics

|Athens, Greece

|8th

|200 metres

|}

Would give you the following table:

سال مسابقه محل مقام رویداد
2004 2004 Summer Olympics Athens, Greece 4th 100 metres
2004 2004 Summer Olympics Athens, Greece 8th 200 metres


Note that the خط عمودی ( | ) character can be written by holding shift and pressing the " \ " key.

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