الگو: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.