“模板:Current spaceflight”的版本间的差异

wikilife>Andrybak
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:46的最新版本

{{#ifeq:模板|模板||}}

{{#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 = }}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:current spaceflight |doc

    | 

{{#ifeq:show |show

|
        }}{{#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}}}}).

Check main (article) namespace links

See also编辑

{{#if:{{#ifeq:Current|sandbox|1}}{{#ifeq:Current spaceflight|doc|1}}|| }}