模板:Only primary sources

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

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

{{#ifeq:only primary sources |doc

    | 

{{#ifeq:show |show

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

This template should be used on pages on which their ONLY references are primary sources. Pages using this template will be added to Category:Articles lacking reliable references, organized by date.

Parameters编辑

Date

The date parameter is used to specify the date when the template was added to the article. See the following example:

{{Only primary sources|date=5月 2024}}

If the date parameter is not specified, a bot will automatically add it shortly after the template was put into the article.

{{{1}}}

The first parameter can be used to make the template apply to a specific section.

{{Only primary sources|section}}

Produces:

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

If the template is used on an article in the main namespace, the word "page" will be replaced with "article."

{{#if:{{#ifeq:Only pr|sandbox|1}}{{#ifeq:Only primary sources|doc|1}}|| }}