<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIf_administrator%2Fdoc</id>
	<title>Template:If administrator/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIf_administrator%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:If_administrator/doc&amp;action=history"/>
	<updated>2026-04-09T17:11:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:If_administrator/doc&amp;diff=19132&amp;oldid=prev</id>
		<title>Wikipedia&gt;Sdkb: /* Usage */ add com</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:If_administrator/doc&amp;diff=19132&amp;oldid=prev"/>
		<updated>2022-03-01T03:04:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; add com&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Never substitute}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
Example: {{tlx|If administrator|text for administrators}} will display the text &amp;quot;text for administrators&amp;quot; to administrators but will hide the text from non-administrators.&lt;br /&gt;
&lt;br /&gt;
By default, {{tag|span}} tags are used to wrap the specified content. {{para|tag|div}} can be used if the content contains block-level elements.&lt;br /&gt;
&lt;br /&gt;
It is not currently possible to display text only for non-administrators.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;If administrator&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Wikitext to display if user is an administrator&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;content&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;tag&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Changes the HTML tag used&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;div&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;span&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Displays wikitext based on whether or not a user is an administrator.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Wikipedia:User access levels]]&lt;br /&gt;
&lt;br /&gt;
{{Namespace and pagename-detecting templates|state=collapsed}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:If-then-else templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Sdkb</name></author>
	</entry>
</feed>