模板:Advert

wikilife>Jonesey952020年9月15日 (二) 22:21的版本 (sorry, I picked the wrong link from multiple tabs that were open)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

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

{{#ifeq:advert |doc

    | 

{{#ifeq:show |show

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

When to use

Add this to articles that need help from other editors because in whole or part they are advertisements masquerading as articles. For example, they may tell users to buy the company's product, provide price lists, give links to online sellers, or use unencyclopedic or meaningless buzzwords.

The advert tag is for Wikipedia articles that in whole or part have been made into public relations documents or brochures, with content that portrays an issue, a product, an organization, or a person in a positive or negative light.

The issue this tag addresses is the policy WP:PROMO, which forbids content that reflects:

  • Advocacy, propaganda, or recruitment of any kind: commercial, political, scientific, religious, national, sports-related, or otherwise. An article can report objectively about such things, as long as an attempt is made to describe the topic from a neutral point of view.
  • Self-promotion.
  • Advertising, marketing or public relations. Information about people, organizations, issues, and products must be written in an objective and unbiased style, free of puffery.

If an article appears to be any of the above, this tag is appropriate.

This template adds articles to Category:Articles with a promotional tone.

How to use

Articles

  • Place {{Advert|date=11月 2024}} at the top of the article.
  • You can adjust the default "article" text with something more specific, such as: {{Advert|article's "Controversy" section}}.

Sections

  • To mark specific sections instead of the whole article, place {{Advert section|date=11月 2024}} at the top of the section.

Remarks

  • To replace the text "an advertisement", you may use {{Advert|article/section|yourtext}} or {{Advert|2=yourtext}} or {{Advert|type=yourtext}}

See also

TemplateData

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Advert}}.
|#default=[1]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Advert}}.
|#default=[2]

}}}}

TemplateData for Advert

{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:Advert|sandbox|1}}{{#ifeq:Advert|doc|1}}||

}} | other | #default = }} <templatedata> {

   "params": {
       "1": {
           "label": "Scope (e.g. section)",
           "description": "This parameter allows an editor to replace the default word \"article\" with another word, usually \"section\"",
           "type": "content",
           "default": "article"
       },
       "type": {
           "autovalue": "",
           "aliases": [
               "2"
           ],
           "label": "Type",
           "description": "To replace the text \"an advertisement\" with another phrase",
           "type": "content",
           "default": "an advertisement"
       },
       "date": {
           "label": "Month and year",
           "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'",
           "type": "string",
           "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
           "suggested": true
       }
   },
   "format": "inline",
   "description": "Template for tagging advertisements masquerading as articles"

} </templatedata>

{{#if:{{#ifeq:Advert|sandbox|1}}{{#ifeq:Advert|doc|1}}|| }}