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

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

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

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

This template should be placed on the beginning of a page that seems to focus solely on one aspect of a topic, rather than the topic as a whole. Articles with this template are added to one of the subcategories Category:Articles needing more viewpoints, depending on what date the template was added to that article.

Usage编辑

{{Coverage}} creates

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

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

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}

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

|{{#if:
 |{{#ifexist:Category:Articles needing more viewpoints from 
   ||}}
 |[[Category:{{#if:
              ||Articles needing more viewpoints}}]]}}{{#if:
     |[[Category:]]}}}}}}

{{Coverage|bat-related page}} creates

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

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

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}

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

|{{#if:
 |{{#ifexist:Category:Articles needing more viewpoints from 
   ||}}
 |[[Category:{{#if:
              ||Articles needing more viewpoints}}]]}}{{#if:
     |[[Category:]]}}}}}}

{{Coverage|Wikipedia essay|date={{safesubst:#switch:none

|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} 
|{{safesubst:#iferror: {{safesubst:#expr: +0 }}
   |
   |{{safesubst:#ifexpr: +0 > 10000000000000
      |
      |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | 
         | none 
         | 
       }}
    }}
 }}
|{{safesubst:#switch:   | none | asis | link | lnone =none }}
|{{safesubst:#ifexpr:  {{safesubst:#time:Y| }} < 1000 | none }}
|{{safesubst:#switch:  {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}}
|= {{safesubst:#if:
     |{{safesubst:#switch:{{{2}}}
        |link|lnone|l=[[{{{1}}}]]
        |{{{1}}}
      }}
   }}
|
 {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}}
 |20082004
 |
   {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd      = F j
     | mdy  | iso  | ymd       = F j
     | ldmy | l                = j F
     | #default                = j F
     }}|{{{1}}} 2000 }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd 
     | ldmy | l                = F
     | #default                = F
     }}|{{{1}}} 2000 }}
   }}
 |
   {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy                    = F j, Y
     | mdy                     = F j, Y
     | liso                    = Y-m-d
     | iso                     = Y-m-d
     | lymd                    = Y F j
     | ymd                     = Y F j
     | ldmy | l                = j F Y
     | #default                = j F Y
     }}| }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd | ldmy | l  = F Y
     | #default                = F Y
     }}| }}
   }}
 }}    

}}}} creates

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

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

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Coverage/doc}}

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

|{{#if:{{safesubst:#switch:none
|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} 
|{{safesubst:#iferror: {{safesubst:#expr: +0 }}
   |
   |{{safesubst:#ifexpr: +0 > 10000000000000
      |
      |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | 
         | none 
         | 
       }}
    }}
 }}
|{{safesubst:#switch:   | none | asis | link | lnone =none }}
|{{safesubst:#ifexpr:  {{safesubst:#time:Y| }} < 1000 | none }}
|{{safesubst:#switch:  {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}}
|= {{safesubst:#if:
     |{{safesubst:#switch:{{{2}}}
        |link|lnone|l=[[{{{1}}}]]
        |{{{1}}}
      }}
   }}
|
 {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}}
 |20082004
 |
   {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd      = F j
     | mdy  | iso  | ymd       = F j
     | ldmy | l                = j F
     | #default                = j F
     }}|{{{1}}} 2000 }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd 
     | ldmy | l                = F
     | #default                = F
     }}|{{{1}}} 2000 }}
   }}
 |
   {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy                    = F j, Y
     | mdy                     = F j, Y
     | liso                    = Y-m-d
     | iso                     = Y-m-d
     | lymd                    = Y F j
     | ymd                     = Y F j
     | ldmy | l                = j F Y
     | #default                = j F Y
     }}| }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd | ldmy | l  = F Y
     | #default                = F Y
     }}| }}
   }}
 }}    

}}

 |[[Category:Articles needing more viewpoints from {{safesubst:#switch:none
|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} 
|{{safesubst:#iferror: {{safesubst:#expr: +0 }}
   |
   |{{safesubst:#ifexpr: +0 > 10000000000000
      |
      |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | 
         | none 
         | 
       }}
    }}
 }}
|{{safesubst:#switch:   | none | asis | link | lnone =none }}
|{{safesubst:#ifexpr:  {{safesubst:#time:Y| }} < 1000 | none }}
|{{safesubst:#switch:  {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}}
|= {{safesubst:#if:
     |{{safesubst:#switch:{{{2}}}
        |link|lnone|l=[[{{{1}}}]]
        |{{{1}}}
      }}
   }}
|
 {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}}
 |20082004
 |
   {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd      = F j
     | mdy  | iso  | ymd       = F j
     | ldmy | l                = j F
     | #default                = j F
     }}|{{{1}}} 2000 }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd 
     | ldmy | l                = F
     | #default                = F
     }}|{{{1}}} 2000 }}
   }}
 |
   {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy                    = F j, Y
     | mdy                     = F j, Y
     | liso                    = Y-m-d
     | iso                     = Y-m-d
     | lymd                    = Y F j
     | ymd                     = Y F j
     | ldmy | l                = j F Y
     | #default                = j F Y
     }}| }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd | ldmy | l  = F Y
     | #default                = F Y
     }}| }}
   }}
 }}    

}}]]{{#ifexist:Category:Articles needing more viewpoints from {{safesubst:#switch:none

|{{safesubst:#iferror: {{safesubst:#time:Y_M_d| }} | none }} 
|{{safesubst:#iferror: {{safesubst:#expr: +0 }}
   |
   |{{safesubst:#ifexpr: +0 > 10000000000000
      |
      |{{safesubst:#ifeq: {{safesubst:#expr:+0}} | 
         | none 
         | 
       }}
    }}
 }}
|{{safesubst:#switch:   | none | asis | link | lnone =none }}
|{{safesubst:#ifexpr:  {{safesubst:#time:Y| }} < 1000 | none }}
|{{safesubst:#switch:  {{safesubst:#time:Ynj| }}|100031|110031|130031|140031|150031=none}}
|= {{safesubst:#if:
     |{{safesubst:#switch:{{{2}}}
        |link|lnone|l=[[{{{1}}}]]
        |{{{1}}}
      }}
   }}
|
 {{safesubst:#ifeq:{{safesubst:#time:Y|{{{1}}} 2008}}{{safesubst:#iferror: {{safesubst:#ifexpr: {{{1}}}>10000000000000 | no }} | }}{{safesubst:#time:Y|{{{1}}} 2004}}
 |20082004
 |
   {{safesubst:#ifeq:{{safesubst:#time:d|{{{1}}} 2036}}|{{safesubst:#time:d|{{{1}}} }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd      = F j
     | mdy  | iso  | ymd       = F j
     | ldmy | l                = j F
     | #default                = j F
     }}|{{{1}}} 2000 }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd 
     | ldmy | l                = F
     | #default                = F
     }}|{{{1}}} 2000 }}
   }}
 |
   {{safesubst:#if: {{safesubst:#iferror:{{safesubst:#time:j|2 }}|*D*|{{safesubst:#iferror:{{safesubst:#time:j|2000 }}|*D*| }}}}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy                    = F j, Y
     | mdy                     = F j, Y
     | liso                    = Y-m-d
     | iso                     = Y-m-d
     | lymd                    = Y F j
     | ymd                     = Y F j
     | ldmy | l                = j F Y
     | #default                = j F Y
     }}| }}
   |{{safesubst:#time:
     {{safesubst:#switch: {{safesubst:#ifeq:|y|l}}
     | lmdy | liso | lymd | ldmy | l  = F Y
     | #default                = F Y
     }}| }}
   }}
 }}    

}}

   ||}}
 |[[Category:{{#if:
              ||Articles needing more viewpoints}}]]}}{{#if:
     |[[Category:]]}}}}}}