Template:As of
2021年時点
テンプレート:As_of(jawp)を参照。
使用法
{{As of}} というテンプレートは、暫定的な記述に日付を添えて示し、その記事をCategory:Articles containing potentially dated statementsに分類します。 編集者にとって、時間の経過とともに陳腐化する記述をまとめることができるテンプレートです。 当該の記述に添える日付は、必ず(その記述が有効である日付として)テンプレートを追加した時点を示す数値にするか、典拠を追加した日付の数値にします(例えば国勢調査の日付など。) ただしこのテンプレートはsubst展開をしてはいけません。
このテンプレートを使っても、文中にハイパーリンクを表示しません。
構文
このテンプレートは、次の書式で使用されることを想定しています:
{{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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | 1 | The year the statement is valid to. Must be in full numerical format (yyyy) | Number | required |
| Month | 2 | The month the statement is valid to. Full, abbreviated or numerical formats supported (mm recommended). | Line | optional |
| Day | 3 | The day the statement is valid to (not included in link). Numerical format only (dd). | Number | optional |