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

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

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|模板:Obituary}}|1}}
 | {{ safesubst:#if:|{{{1}}}|模板:Obituary}}

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

|{{#if:
 |{{#ifexist:Category:Articles needing POV-check from 
   ||}}
 |[[Category:{{#if:
              ||Articles needing POV-check}}]]}}{{#if:
     |[[Category:]]}}}}}}
50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:obituary |doc

    | 

{{#ifeq:show |show

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

Usage编辑

  • {{Obituary|{{subst:DATE}}}} – basic usage at top of article
  • {{Obituary|section|{{subst:DATE}}}} – to replace "article or section" with "section" (or something else specific, e.g. "article", "subsection", etc.)
  • {{Obituary|tone=eulogy|{{subst:DATE}}}} - change "obituary" to "eulogy"; this is not free-form text, but an actual Wikipedia article title, replacing the link to obituary.
  • {{Obituary|reason=A note about what the issue is.|{{subst:DATE}}}} – basic usage at top of article – include a note (only visible in the source at present) if the reason for using this tag isn't immediately apparent and/or isn't already under discussion on the talk page.
  • {{Obituary|paragraph|tone=panegyric|reason=The facts presented and sources cited are all in favor of the subject, and critical material has been ignored|{{subst:DATE}}}} – All these features can be combined.

This template will add pages to a dated subcategory of Category:Articles needing POV-check.

Redirects编辑

The following templates names redirect to this template:

See also编辑

{{#if:{{#ifeq:Obituar|sandbox|1}}{{#ifeq:Obituary|doc|1}}|| }}