साँचा:RFC countdown/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

Description

This template provides a simple countdown. The automatic default for the RFC bot is to let an RFC stay open for 30 days, so this has been taken as the default run time.

Warning: The figures may only update when a page is purged. Consequently this template may be of limited use for a rarely updated talk page.

Usage

{{RFC countdown| date RFC started | total run time in days | RFC}}

Only the first parameter is mandatory and should be set to the date the RFC was raised. The date should be in the format "YYYY-MM-DD".

The optional total run time defaults to 30 and may be set to any number.

The optional third parameter displays "This RFC will close in <n> days." only if the parameter equals "RFC".

Example 1 code
{{RFC countdown|2009-07-16}} days left.
Example 1 result (on 25 July 2009)

20 days left.

Example 2 code
{{RFC countdown|2009-07-16|30|RFC}}
Example 2 result (on 25 July 2009)

साँचा:small