الگو:Ship in active service

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

در سرویس فعال، تا تاریخ ۲۰۲۴

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

This template is designed for use in the ship infobox of articles on ships that are in active service. The template uses Template:As of, so any changes to that template may be reflected in this template even if this one has not been edited.

Usage[ویرایش]

Add {{ship in active service}} to the field "Ship status"[۱] like this:

|Ship status={{ship in active service}}

This will display as in the sample infobox at right:

پیشینه
مالک (Country name)
وضعیت: در سرویس فعال، تا تاریخ ۲۰۲۴

Parameters[ویرایش]

The template will default to using the current year, ۲۰۲۴, but for ships where the status is known only for an earlier year or date, optional parameters can display the earlier date.

  • {{ ship in active service}}
  • {{ ship in active service | year | month | day | url = }}

For ships known to be active in the current year:

{{ ship in active service }}در سرویس فعال، تا تاریخ ۲۰۲۴

For ships known to be active in a previous year:

{{ ship in active service | 2008 }}در سرویس فعال، تا تاریخ ۲۰۰۸

For ships known to be active at a more specific earlier date:

{{ ship in active service | 2005 | June }}در سرویس فعال، تا تاریخ ژوئن ۲۰۰۵
{{ ship in active service | 2000 | March | 11 }}در سرویس فعال، تا تاریخ ۱۱ مارس ۲۰۰۰ (۲۰۰۰ -03-۱۱)

To provide a link through which future editors might check to see if the ship's status has been changed, use the url field. For example, for یوا Enterprise (CVN-65), enter this:

{{ship in active service | url = http://www.nvr.navy.mil/nvrships/details/CVN65.htm }}در سرویس فعال، تا تاریخ ۲۰۲۴

For editors who have these links enabled (see Wikipedia:As of), this would display as:

In active service, as of ۲۰۲۴[ref]

See also[ویرایش]

Notes[ویرایش]

  1. Despite the name of the template, it is better placed in the "Ship status" field rather than "Ship fate"; status implies an on-going condition, where fate implies a final, perhaps irreversible, condition.