Difference between revisions of "Template:Primary sources"
(Created page with "{{ambox | name = {{{name|Primary sources}}} | subst = {{{subst|<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>}}} | type = content | class = ambox...") |
Latest revision as of 20:19, 22 October 2012
{{#ifeq:|SUBST
|{{#if:Primary sources |<{{#switch:{{{tag}}} |p=p |span=span |div=div |#default=strong
}} class="error">Template {{{{#if: |subst:}}Primary sources{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
has been incorrectly substituted.</{{#switch:{{{tag}}}
|p=p |span=span |div=div |#default=strong
}}>
}}
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = content |image = 50x40px |smallimage = {{#if:|{{{smallimage}}}|50x40px}} |imageright = |smallimageright = {{#if:|{{{smallimageright}}}|}} |class = ambox-{{#switch:content |speedy = speedy |delete = delete |content = content |style = style |move = move |protection = protection |notice|#default = notice }} ambox-Primary_sources |style = |textstyle = |smalltext = |talk = {{#switch:¬ |¬ = | = {{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}} | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Primary sources}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Primary sources}}
}}|Template:Primary sources|#}}
|#default = {{{talk}}} }} |issue = {{#switch:{{#ifeq:{{{BLP}}}|yes|biographical article|}} |¬ = | = This article |This {{#ifeq:{{{BLP}}}|yes|biographical article|}} }} relies on references to primary sources or {{#ifeq:{{{BLP}}}|yes |sources affiliated with the subject |sources affiliated with the subject
}}.
|fix = Please add citations from reliable and independent sources. {{#ifeq:{{{BLP}}}|yes |Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful.
}}
|date = {{#switch: |¬ = | = {{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}} | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Primary sources}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Primary sources}}
}}|Template:Primary sources|December 2024}}
|#default = }} |info =
}}{{#if:
{{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Primary sources|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Primary sources|0|2}} | subpage | basepage }} }} }}
| basepage =
| subpage = dontcat
| subsubpage = dontcat
}}
| only = {{#switch: {{#if: | {{#if:{{#titleparts:|0|3}} | subsubpage | {{#if:{{#titleparts:|0|2}} | subpage | basepage }} }} | {{#if:{{#titleparts:Template:Primary sources|0|3}} | subsubpage | {{#if:{{#titleparts:Template:Primary sources|0|2}} | subpage | basepage }} }} }}
| basepage = dontcat
| subpage = | subsubpage = }}
}}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Primary sources }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | {{#if:Articles lacking reliable references |{{#if: |{{#ifexist:Category:Articles lacking reliable references from | | }} | }}
}}{{#if:All articles lacking reliable references
|
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}
|{{#if: |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from ]]{{#ifexist:Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from | | }} |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}
| {{#switch: {{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default =
}}
| {{#iferror: {{#expr: 1 + {{#switch: {{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = {{#if:Articles lacking reliable references
|{{#if: |{{#ifexist:Category:Articles lacking reliable references from | | }} | }}
}}{{#if:All articles lacking reliable references
|
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}
|{{#if: |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from ]]{{#ifexist:Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from | | }} |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#switch:Template:Primary sources
|Template:Primary sources ={{#ifexpr:{{#ifeq:relies on references to primary sources or {{#ifeq:{{{BLP}}}|yes |sources affiliated with the subject |sources affiliated with the subject
}}.|¬|1|0}}+{{#ifeq:Please add citations from reliable and independent sources. {{#ifeq:{{{BLP}}}|yes
|Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful.
}}|¬|1|0}}+{{#ifeq:|¬|1|0}}
|[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:relies on references to primary sources or {{#ifeq:{{{BLP}}}|yes |sources affiliated with the subject |sources affiliated with the subject
}}.|¬|1|0}}+{{#ifeq:Please add citations from reliable and independent sources. {{#ifeq:{{{BLP}}}|yes
|Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful.
}}|¬|1|0}}+{{#ifeq:|¬|1|0}}}}]]
}}{{#if: | }} |Template: = {{#ifeq:Primary sources|Primary sources|}} }}
| help = | category = | portal = | book = | other | #default =
}} }} | {{#switch:
{{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = {{#if:Articles lacking reliable references
|{{#if: |{{#ifexist:Category:Articles lacking reliable references from | | }} | }}
}}{{#if:All articles lacking reliable references
|
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}
|{{#if: |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from ]]{{#ifexist:Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}} from | | }} |[[Category:{{#ifeq:{{{BLP}}}|yes|BLP articles lacking sources}}]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}}{{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from | | }} |[[Category:{{{cat2}}}]] }}
}}{{#if:
|[[Category:{{{all2}}}]]
}}{{#if:
|{{#if: |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from | | }} |[[Category:{{{cat3}}}]] }}
}}{{#if:
|[[Category:{{{all3}}}]]
}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#switch:Template:Primary sources
|Template:Primary sources ={{#ifexpr:{{#ifeq:relies on references to primary sources or {{#ifeq:{{{BLP}}}|yes |sources affiliated with the subject |sources affiliated with the subject
}}.|¬|1|0}}+{{#ifeq:Please add citations from reliable and independent sources. {{#ifeq:{{{BLP}}}|yes
|Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful.
}}|¬|1|0}}+{{#ifeq:|¬|1|0}}
|[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:relies on references to primary sources or {{#ifeq:{{{BLP}}}|yes |sources affiliated with the subject |sources affiliated with the subject
}}.|¬|1|0}}+{{#ifeq:Please add citations from reliable and independent sources. {{#ifeq:{{{BLP}}}|yes
|Contentious material about living persons that is unsourced or poorly sourced must be removed immediately, especially if potentially libelous or harmful.
}}|¬|1|0}}+{{#ifeq:|¬|1|0}}}}]]
}}{{#if: | }} |Template: = {{#ifeq:Primary sources|Primary sources|}} }}
| help = | category = | portal = | book = | other | #default =
}} | }}
}} }}
}}