Difference between pages "Template:Contradict-inline" and "Template:Contradict-inline/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Primefac
m (Protected "Template:Contradict-inline": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed acce...)
 
imported>UsuallyNonviolentBot
m (→‎top: Remove parameter $N from Module:Unsubst using AWB)
 
Line 4: Line 4:
 
| link  = {{{article|:Category:Articles contradicting other articles}}}
 
| link  = {{{article|:Category:Articles contradicting other articles}}}
 
| text  = contradictory
 
| text  = contradictory
| title = {{{reason|This text contradicts material {{#if:{{{article|}}}{{{page|}}}{{{1|}}}
+
| title = This text contradicts material {{#if:{{{article|}}}{{{page|}}}{{{1|}}}
 
   |at the {{#ifeq:{{NAMESPACE}}|{{ns:0}}
 
   |at the {{#ifeq:{{NAMESPACE}}|{{ns:0}}
 
     |{{#if:{{{page|}}}
 
     |{{#if:{{{page|}}}
Line 18: Line 18:
 
     |<!--Default:-->elsewhere on this page
 
     |<!--Default:-->elsewhere on this page
 
     }}
 
     }}
   }}.
+
   }}. {{#if:{{{reason|}}}
     }}}
+
     |&#32;Note: {{{reason|}}}
 +
    }}
 
| date  = {{{date|}}}
 
| date  = {{{date|}}}
| cat  = {{#if:{{{article|}}}{{{1|}}}
+
| cat  = {{#ifeq:{{NAMESPACE}}|{{ns:0}}
 +
  |{{#if:{{{article|}}}{{{1|}}}
 
     |<includeonly>[[Category:Articles contradicting other articles]]</includeonly>
 
     |<includeonly>[[Category:Articles contradicting other articles]]</includeonly>
 
     |{{#if:{{{page|}}}
 
     |{{#if:{{{page|}}}
Line 28: Line 30:
 
       }}
 
       }}
 
     }}
 
     }}
 +
  |<!--Do not categorize non-articles.-->
 +
}}
 
}}<!--{{Contradict-inline}} end-->
 
}}<!--{{Contradict-inline}} end-->
 
}}<noinclude>
 
}}<noinclude>
 +
<hr />Test case: {{contradict-inline/sandbox|Chicken#Origin}}
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>