(Create template) Tag: 2017 source edit |
(Add param for expiry date (replaces it with regular stub ambox)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[Category:Stubs]]</includeonly> | <includeonly>[[Category:Stubs]]</includeonly>{{#ifexpr:{{CURRENTUNIXTIME}}>{{#time:U|{{{1|9999-01-01}}}}} | ||
{{ambox | |{{ambox stub}} | ||
|type=stub | |{{ambox | ||
|text={{{text|This is a draft article '''describing an event in the future''', so be aware that '''details are subject to change'''. It's framed in past tense to be consistent with the rest of the site. Sorry for any confusion.}}} | |type=stub | ||
|text={{{text|This is a draft article '''describing an event in the future''', so be aware that '''details are subject to change'''. It's framed in past tense to be consistent with the rest of the site. Sorry for any confusion.}}} | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
[[Template:Ambox|Article message box]] which indicates the containing page is about a future event. | [[Template:Ambox|Article message box]] which indicates the containing page is about a future event. | ||
Articles with this message box are automatically added to [[:Category:Stubs]]. | |||
Passing a date as the first argument (e.g. <code><nowiki>{{ambox future|2014-01-05}}</nowiki></code>) | |||
will soft-replace the ambox with the standard {{t|ambox stub}} shortly after that date (subject to MediaWiki's caching). | |||
{{TemplateData preamble}}<templatedata> | {{TemplateData preamble}}<templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | |||
"label": "Lapse date", | |||
"description": "YYYY-MM-DD; should match appearance's expected end-date", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"text": { | "text": { | ||
"label": "Label text", | "label": "Label text", | ||
Line 18: | Line 31: | ||
"description": "Article message box which indicates the containing page is about a future event.", | "description": "Article message box which indicates the containing page is about a future event.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | |||
"text" | "text" | ||
], | ], | ||
"format": " | "format": "{{_\n|_=_\n}}\n" | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:General-use_block_templates]]</noinclude> | [[Category:General-use_block_templates]]</noinclude> |
Latest revision as of 05:25, 9 October 2024
This is a draft article describing an event in the future, so be aware that details are subject to change. It's framed in past tense to be consistent with the rest of the site. Sorry for any confusion.
Collaborate on this template's talk page or on Discord.
Article message box which indicates the containing page is about a future event.
Articles with this message box are automatically added to Category:Stubs.
Passing a date as the first argument (e.g. {{ambox future|2014-01-05}}
)
will soft-replace the ambox with the standard {{ambox stub}} shortly after that date (subject to MediaWiki's caching).
The below documentation is automatically generated from JSON. It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.
Article message box which indicates the containing page is about a future event.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Lapse date | 1 | YYYY-MM-DD; should match appearance's expected end-date | Date | suggested |
Label text | text | no description
| Content | optional |