قالب:اعتبارا من/شرح
هذه صفحة توثيق قالب:اعتبارا من الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
استخدام
The template {{اعتبارا من}}
is used to mark potentially dated statements, and add an article in the appropriate "As of..." category. This allows editors to catalogue statements that may become dated over time. The date used for a given statement should be the current date (for currently valid statements) or the date on which the cited reference was produced (for example, when using census data). It also includes the ايزو 8601 format needed by hAtom (class="updated"
) and hCalendar (class="dtstart"
) microformats through use of the {{تاريخ بداية}}
template. Unlike the {{Update after}}
template, اعتبارًا من {{{1}}}[تحديث] does not require the editor to give a full date. This template should not be subst'd.
Syntax
The template can be used in the following forms:
- {{As of|year|month|day}}
- {{As of|year|month}}
- {{As of|year}}
Several additional named parameters can also be used (see below).
المعلمات
Required
- year (first parameter) – must be in full numerical format (yyyy)
Optional
- month (second parameter) – full, abbreviated or numerical (recommended) formats supported
- day (third parameter) – numerical format only, not included in link
Named
- alt – optional; allows substitution of visible text output (defaults to "As of date") for different wording and case, if defined values for df and lc parameters are ignored
- df – optional; allows use of American date format with df=US
- lc – optional; gives lower case "as of date" when defined, recommended syntax is lc=on
- url – optional; adds an inline external link (hidden by default) suggesting a webpage for future editors to check for updates to the statement, use the full URL with no spaces. See Wikipedia:As of for displaying links.
أمثلة
- {{As of|2008}} — اعتبارًا من 2008[تحديث]
- {{As of|2008|7}} — اعتبارًا من يوليو 2008[تحديث]
- {{As of|2008|7|5}} — اعتبارًا من 5 يوليو 2008[تحديث]
- {{As of|2008|4|1|alt=as of the [[تعداد الولايات المتحدة 2000]]}} — as of the تعداد الولايات المتحدة 2000[تحديث]
- {{As of|2008|7|5|df=US}} — اعتبارًا من 5 يوليو 2008[تحديث]
- {{As of|2008|7|5|lc=on}} — اعتبارًا من 5 يوليو 2008[تحديث]
- {{As of|2008|7|url=http://en.wikipedia.org/}} returns:
- for logged in users, with links displayed (see Wikipedia:As of) — As of July 2008[ref]
- for all other users — As of July 2008
انظر أيضا
- أرابيكا:As of
- أرابيكا:Avoid statements that will date quickly
- تصنيف:All articles containing potentially dated statements
- قالب:Cat ASOF
- قالب:تحديث
- قالب:Update after
- قالب:تحديث