模板:Only primary sources
This {{#ifeq: | section | section | {{#ifeq: 模板 | | article | page}} }} only references primary sources.11月 2024) (Learn how and when to remove this template message) ( |
{{#ifeq:{{{small}}}|left|}}
{{#ifeq:only primary sources |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Only primary sources. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#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=11月 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:
This {{#ifeq: section | section | section | {{#ifeq: 模板 | | article | page}} }} only references primary sources.11月 2024) (Learn how and when to remove this template message) ( |
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}}|| }}