Template:As of/ja

From mediawiki.org
This page is a translated version of the page Template:As of and the translation is 100% complete.

2021年時点

テンプレートの解説

テンプレート:As_of(jawp)を参照。

使用法

{{As of }} というテンプレートは、暫定的な記述に日付を添えて示し、その記事をCategory:Articles containing potentially dated statements に分類します。 編集者にとって、時間の経過とともに陳腐化する記述をまとめることができるテンプレートです。 当該の記述に添える日付は、必ず(その記述が有効である日付として)テンプレートを追加した時点を示す数値にするか、典拠を追加した日付の数値にします(例えば国勢調査の日付など。) ただしこのテンプレートは参照読み込みしてはいけません

このテンプレートを使っても、文中にハイパーリンクを表示しません。

構文

このテンプレートは、次の書式で使用されることを想定しています:

{{As of|year}}
{{As of|year|month}}
{{As of|year|month|day}}

使い方としては{{As of|{{CURRENTYEAR}}|{{CURRENTMONTH}}}}あるいは類似の記述はしないでください。テンプレートの本来の目的を損ないます。

同様の機能を果たすには、他にも複数のパラメータがあります(以下をご参照。)

{{As of|2010}} – 2010年時点
{{As of|2010|7}} – 2010年7月時点
{{As of|2010|7|5}}時点

TemplateData

これは、ビジュアルエディターまたは他のツールで使用される、このテンプレート向けのテンプレートデータ説明文です。

As of

A template used to mark potentially dated statements, and will add an article to the “Category:Articles containing potentially dated statements”. This allows editors to catalogue statements that may become dated over time.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Year1

The year the statement is valid to. Must be in full numerical format (yyyy)

Numberrequired
Month2

The month the statement is valid to. Full, abbreviated or numerical formats supported (mm recommended).

Lineoptional
Day3

The day the statement is valid to (not included in link). Numerical format only (dd).

Numberoptional

関連項目