wikilife>Andrybak (use Template:Ambox globe current red; see discussion at Portal_talk:Current_events/News_Browser#Rotate_the_image) |
(没有差异)
|
2020年6月1日 (一) 21:47的版本
{{#ifeq:模板|模板||}}
[[File:{{#switch:{{#expr: floor(({{#time:G}} + 2) / 8) mod 3 }}
|0=Ambox current red Asia Australia.svg |1=Ambox current red.svg |2=Ambox current red Americas.svg }}|50x40px]] | This article or section documents a current or recent {{#if:|space mission|spaceflight}}{{#if:|-related activity}}. {{#if: |{{{details}}}|Details may change as the mission progresses. Initial news reports may be unreliable. The last updates to this {{#if:|{{{1}}}|article or section}} may not reflect the most current information. For more information please see WikiProject Spaceflight.}} (Learn how and when to remove this template message) |
{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Current spaceflight}}|1}} | {{ safesubst:#if:|{{{1}}}|模板:Current spaceflight}}
}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}
|{{#if: |{{#ifexist:Category:Current events ||}} |[[Category:{{#if: ||Current events}}]]}}{{#if: |[[Category:]]}}}}}}{{#switch: {{#if: | {{{demospace}}} | {{#ifeq:模板| | main | other }} }}
| main = {{#ifexist:Category:2024 in spaceflight||}} | other | #default = }}
{{#ifeq:current spaceflight |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Current spaceflight. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Current spaceflight | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
Usage
This template should only be used on missions which are expected to generate news in the immediate future, such as ongoing human missions, or where details are expected to change rapidly, such as when an anomaly occurs or during the launch and early operations phase of the mission. It should not be used for flights which are undergoing routine operations, such as spacecraft that have reached their operational orbits, or probes in heliocentric orbit coasting to their rendezvous with a planetary body. Under normal circumstances it should not usually be displayed for more than a few days, unless the mission is still generating news, or details are still rapidly changing.
To make the banner more specific, add article, or section:
{{Current spaceflight|article}}
{{Current spaceflight|section}}
Adding this template to an article places the article in Category:Current events and Category:2024 in spaceflight. To change the category year from the current year, use the |{{SAFESUBST:#if:year|year=}}
parameter or the third parameter (e.g. {{Current spaceflight|article|{{#expr:2024-1}}}}
).
See also
{{#if:{{#ifeq:Current|sandbox|1}}{{#ifeq:Current spaceflight|doc|1}}|| }}