<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://augsburgwrestling.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ACite-require-both-or-none</id>
	<title>Template:Cite-require-both-or-none - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://augsburgwrestling.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ACite-require-both-or-none"/>
	<link rel="alternate" type="text/html" href="https://augsburgwrestling.info/index.php?title=Template:Cite-require-both-or-none&amp;action=history"/>
	<updated>2026-06-22T22:44:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://augsburgwrestling.info/index.php?title=Template:Cite-require-both-or-none&amp;diff=2635&amp;oldid=prev</id>
		<title>Calebrw: 1 revision:&amp;#32;Citation mumbo jumbo.</title>
		<link rel="alternate" type="text/html" href="https://augsburgwrestling.info/index.php?title=Template:Cite-require-both-or-none&amp;diff=2635&amp;oldid=prev"/>
		<updated>2009-06-06T17:08:50Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Citation mumbo jumbo.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
This inner-template checks for proper use of template parameters that require each other, displays errors, and optionally categorizes the article for repair.  &lt;br /&gt;
&lt;br /&gt;
If the user of the calling template supplies values for only one of the &amp;#039;&amp;#039;&amp;#039;parm&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; parameters, the text &amp;#039;&amp;#039;&amp;#039;You must specify both &amp;#039;&amp;#039;name1&amp;#039;&amp;#039; and &amp;#039;&amp;#039;name2&amp;#039;&amp;#039; when using either with &amp;#039;&amp;#039;template&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&amp;#039; is displayed on the page.  If &amp;#039;&amp;#039;&amp;#039;errcat=yes&amp;#039;&amp;#039;&amp;#039; is specified (or defaulted to) and the page is a main-space article, the page is also added to the error category [[:Category:Articles with broken citations]].&lt;br /&gt;
&lt;br /&gt;
Ironically, this template requires three parameters of its own (name1, name2, and template), but does not check for them and categorize their mis-use, although it does at least display &amp;quot;&amp;#039;&amp;#039;PARAMETERNAME&amp;#039;&amp;#039; UNSPECIFIED&amp;quot; in their place if needed.&lt;br /&gt;
&lt;br /&gt;
==Full syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{cite-require-both-or-none&lt;br /&gt;
  |name1=&lt;br /&gt;
  |parm1=&lt;br /&gt;
  |name2=&lt;br /&gt;
  |parm2=&lt;br /&gt;
  |template=&lt;br /&gt;
  |errcat=yes or no&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Minimum syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{cite-require-both-or-none&lt;br /&gt;
  |name1=&lt;br /&gt;
  |parm1=&lt;br /&gt;
  |name2=&lt;br /&gt;
  |parm2=&lt;br /&gt;
  |template=&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{cite-require-both-or-none&lt;br /&gt;
  |name1=url |parm1={{{url|}}}&lt;br /&gt;
  |name2=title |parm2={{{title|}}}&lt;br /&gt;
  |template=cite web&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;errcat&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; Should the page be added to the error category [[:Category:Articles with broken citations]]?  Defaults to &amp;#039;&amp;#039;&amp;#039;errcat=yes&amp;#039;&amp;#039;&amp;#039;.  Only main-space pages (&amp;#039;&amp;#039;i.e.&amp;#039;&amp;#039;, articles) will be categorized &amp;amp;ndash; &amp;#039;&amp;#039;&amp;#039;errcat=yes&amp;#039;&amp;#039;&amp;#039; is ignored for all other spaces (&amp;#039;&amp;#039;e.g.&amp;#039;&amp;#039;, &amp;quot;WP:&amp;quot; pages, talk pages, user pages, &amp;#039;&amp;#039;etc.&amp;#039;&amp;#039;).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;name1&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; The name of the first parameter to check, as users of the calling template specify it.  For example, &amp;quot;&amp;#039;&amp;#039;&amp;#039;url&amp;#039;&amp;#039;&amp;#039;&amp;quot; for {{tl|cite web}}.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;name2&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; The name of the second parameter to check, as users of the calling template specify it.  For example, &amp;quot;&amp;#039;&amp;#039;&amp;#039;title&amp;#039;&amp;#039;&amp;#039;&amp;quot; for {{tl|cite web}}.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;parm1&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; The value of the first parameter to check.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;parm2&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; The value of the second parameter to check.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;template&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; The name of the calling template as users specify it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;{{&lt;br /&gt;
  #if: {{{parm1|}}}&lt;br /&gt;
  |{{&lt;br /&gt;
     #if: {{{parm2|}}}&lt;br /&gt;
     |&lt;br /&gt;
     |You must specify both &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;{{{name1|NAME1 UNSPECIFIED}}}=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;{{{name2|NAME2 UNSPECIFIED}}}=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; when using either with &amp;#039;&amp;#039;&amp;#039;{{{template|TEMPLATE UNSPECIFIED}}}&amp;#039;&amp;#039;&amp;#039;.{{&lt;br /&gt;
        #ifeq: {{{errcat|}}} | no&lt;br /&gt;
        |&lt;br /&gt;
        |{{&lt;br /&gt;
           #if: {{NAMESPACE}}&lt;br /&gt;
           |&lt;br /&gt;
           |[[Category:Articles with broken citations]]&lt;br /&gt;
         }}&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
  |{{&lt;br /&gt;
     #if: {{{parm2|}}}&lt;br /&gt;
     |You must specify both &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;{{{name1|NAME1 UNSPECIFIED}}}=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;{{{name2|NAME2 UNSPECIFIED}}}=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; when using either with &amp;#039;&amp;#039;&amp;#039;{{{template|TEMPLATE UNSPECIFIED}}}&amp;#039;&amp;#039;&amp;#039;.{{&lt;br /&gt;
        #ifeq: {{{errcat|}}} | no&lt;br /&gt;
        |&lt;br /&gt;
        |{{&lt;br /&gt;
           #if: {{NAMESPACE}}&lt;br /&gt;
           |&lt;br /&gt;
           |[[Category:Articles with broken citations]]&lt;br /&gt;
         }}&lt;br /&gt;
      }}&lt;br /&gt;
   }}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:{{PAGENAME}}}}&lt;br /&gt;
[[Category:Citation templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Calebrw</name></author>
	</entry>
</feed>