模板:Recently revised

Ph9讨论 | 贡献2020年12月27日 (日) 14:51的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

{{#ifeq:{{{small}}}|left|}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Recently revised}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Recently revised}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:模板|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Recently revised from 
   ||}}
 |[[Category:{{#if:
              ||Recently revised}}]]}}{{#if:

|[[Category:]]}}}}}}

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

{{#ifeq:recently revised |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Recently revised
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Usage

Adding this template automatically inserts the page into the category Category:Recently revised. If you want to be more specific (such as "project page" instead of "article or section"), use the syntax {{recently revised|(type of page)}}, like {{recently revised|template}}.

See also

{{#if:{{#ifeq:Recentl|sandbox|1}}{{#ifeq:Recently revised|doc|1}}|| }}