<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lorcana.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APAGENAMEBASE%2Fdoc</id>
	<title>Template:PAGENAMEBASE/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lorcana.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APAGENAMEBASE%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://lorcana.wiki/index.php?title=Template:PAGENAMEBASE/doc&amp;action=history"/>
	<updated>2026-06-03T18:13:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://lorcana.wiki/index.php?title=Template:PAGENAMEBASE/doc&amp;diff=183&amp;oldid=prev</id>
		<title>Khalid: Created page with &quot;{{high-risk}} {{Documentation subpage}} &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Lorcana Wiki:Wikidata) --&gt; {{lua|Module:String}}  == Usage == This template returns the current {{tld|PAGENAME}} minus (text in parentheses) or the final set of parentheses where more than one set exist.  e.g. {{tlx|PAGENAMEBASE}} on page Chiton (genus) returns {{PAGENAMEBASE|Chiton (genus)}} ::on Sweet Dreams (Are Made...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lorcana.wiki/index.php?title=Template:PAGENAMEBASE/doc&amp;diff=183&amp;oldid=prev"/>
		<updated>2026-04-21T17:23:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{high-risk}} {{Documentation subpage}} &amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see &lt;a href=&quot;/index.php?title=Lorcana_Wiki:Wikidata&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Lorcana Wiki:Wikidata (page does not exist)&quot;&gt;Lorcana Wiki:Wikidata&lt;/a&gt;) --&amp;gt; {{lua|Module:String}}  == Usage == This template returns the current {{tld|PAGENAME}} minus (text in parentheses) or the final set of parentheses where more than one set exist.  e.g. {{tlx|PAGENAMEBASE}} on page &lt;a href=&quot;/index.php?title=Chiton_(genus)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Chiton (genus) (page does not exist)&quot;&gt;Chiton (genus)&lt;/a&gt; returns {{PAGENAMEBASE|Chiton (genus)}} ::on Sweet Dreams (Are Made...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{high-risk}}&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Lorcana Wiki:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{lua|Module:String}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template returns the current {{tld|PAGENAME}} minus (text in parentheses) or the final set of parentheses where more than one set exist.&lt;br /&gt;
&lt;br /&gt;
e.g. {{tlx|PAGENAMEBASE}} on page [[Chiton (genus)]] returns {{PAGENAMEBASE|Chiton (genus)}}&lt;br /&gt;
::on [[Sweet Dreams (Are Made of This) (album)]]     returns {{PAGENAMEBASE|Sweet Dreams (Are Made of This) (album)}}&lt;br /&gt;
::on [[Sweet Dreams (Are Made of This)]]             returns {{PAGENAMEBASE|Sweet Dreams (Are Made of This)}}&lt;br /&gt;
::on [[Stadion der Freundschaft (Frankfurt (Oder))]] returns {{PAGENAMEBASE|Stadion der Freundschaft (Frankfurt (Oder))}}&lt;br /&gt;
&lt;br /&gt;
Can also pass an optional page parameter:&lt;br /&gt;
* {{tlc|PAGENAMEBASE|foo (bar)}} → &amp;quot;{{PAGENAMEBASE|foo (bar)}}&amp;quot;&lt;br /&gt;
* {{tlc|PAGENAMEBASE|foo bar}} → &amp;quot;{{PAGENAMEBASE|foo bar}}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
It is not to be confused with {{tld|BASEPAGENAME}}, which is a [[mw:Help:Magic words|magic word]] that strips subpages, not parentheses.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Magic words#Variables]]&lt;br /&gt;
* [[Template:String-handling templates|String-handling templates]]&lt;br /&gt;
* {{tl|PAGENAME}} (variant to strip anything in parentheses from the title)&lt;br /&gt;
* {{tl|FULLPAGENAME}} (including namespace)&lt;br /&gt;
* {{tl|Link without disambiguator}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Lorcana Wiki metatemplates]]&lt;br /&gt;
[[Category:Lorcana Wiki magic word templates]]&lt;br /&gt;
[[Category:Lorcana Wiki article titles]]&lt;br /&gt;
[[Category:Pagename manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Khalid</name></author>
	</entry>
</feed>