<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://petitplanet.wiki/Template:Link_Label/doc?action=history&amp;feed=atom</id>
	<title>Template:Link Label/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://petitplanet.wiki/Template:Link_Label/doc?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://petitplanet.wiki/Template:Link_Label/doc?action=history"/>
	<updated>2026-10-27T14:29:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://petitplanet.wiki/index.php?title=Template:Link_Label/doc&amp;diff=22696&amp;oldid=prev</id>
		<title>ReisuDesign: Created page with &quot;{{Documentation/Header}} {{Lua|Link Label}} Creates a link from the input text in first argument.  If the input is already a link and has a label ({{L|((link))|((label))}}), then the unmodified input is returned.  If the input contains multiple links, then the unmodified input is returned.  If the input text contains any of the following, including a single space before, then a label is added with the text removed. {{#invoke:Link Label|getTerms}}  ==Syntax== {{T|Link Lab...&quot;</title>
		<link rel="alternate" type="text/html" href="https://petitplanet.wiki/index.php?title=Template:Link_Label/doc&amp;diff=22696&amp;oldid=prev"/>
		<updated>2026-09-02T12:11:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation/Header}} {{Lua|Link Label}} Creates a link from the input text in first argument.  If the input is already a link and has a label ({{L|((link))|((label))}}), then the unmodified input is returned.  If the input contains multiple links, then the unmodified input is returned.  If the input text contains any of the following, including a single space before, then a label is added with the text removed. {{#invoke:Link Label|getTerms}}  ==Syntax== {{T|Link Lab...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation/Header}}&lt;br /&gt;
{{Lua|Link Label}}&lt;br /&gt;
Creates a link from the input text in first argument.&lt;br /&gt;
&lt;br /&gt;
If the input is already a link and has a label ({{L|((link))|((label))}}), then the unmodified input is returned.&lt;br /&gt;
&lt;br /&gt;
If the input contains multiple links, then the unmodified input is returned.&lt;br /&gt;
&lt;br /&gt;
If the input text contains any of the following, including a single space before, then a label is added with the text removed.&lt;br /&gt;
{{#invoke:Link Label|getTerms}}&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
{{T|Link Label|v1=text}}&lt;br /&gt;
* {{F|nolink}} &amp;amp;mdash; insert as 1 to return as plain text&lt;br /&gt;
* {{F|2}} &amp;amp;mdash; insert as {{F|,}} or {{F|.}} to append it to the text, while following American English rules&lt;br /&gt;
* {{F|comma}} &amp;amp;mdash; insert as 1 to append a comma to the text, while following American English rules&lt;br /&gt;
* {{F|dot}} &amp;amp;mdash; insert as 1 to append a dot to the text, while following American English rules&lt;br /&gt;
* {{F|commaspc}} &amp;amp;mdash; insert as 1 to append a comma and a space to the text, while following American English rules&lt;br /&gt;
* {{F|dotspc}} &amp;amp;mdash; insert as 1 to append a dot and a space to the text, while following American English rules&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{{T|Link Label|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Genshin Impact Wiki|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|[[Genshin Impact Wiki]]|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|[[Genshin Impact Wiki|Main Page]]|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|[[Characters]], [[Weapons]], and [[Artifacts]]|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Wishes (Quest)|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Liyue (Soundtrack)|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|dotspc=1|_Y_=1}}(ending text)&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|commaspc=1|_Y_=1}}(ending text)&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|dot=1|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|comma=1|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|,|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|&amp;quot;Page with Quotes&amp;quot;|.|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Trixie|dot=1|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Trixie|comma=1|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Trixie|,|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Trixie|.|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{T|Link Label|Trixie|.|nolink=1|_Y_=1}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Template Data==&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;Text&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text to add link and label with terms replaced.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Suffix&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Append a comma (,) or a dot (.) to the end of the link, by inserting which is wanted, while following American English rules.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;,&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;commaspc&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Suffix comma and space&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Append a comma and a space to the link while following American English rules&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;comma&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Suffix comma&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Append a comma to the end of the link, while following American English rules.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;dotspc&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Suffix dot and space&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Append a dot and a space to the link while following American English rules&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;dot&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Suffix dot&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Append a dot to the end of the link, while following American English rules.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Creates a link from the input text.&amp;quot;,&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;2&amp;quot;,&lt;br /&gt;
		&amp;quot;comma&amp;quot;,&lt;br /&gt;
		&amp;quot;commaspc&amp;quot;,&lt;br /&gt;
		&amp;quot;dot&amp;quot;,&lt;br /&gt;
		&amp;quot;dotspc&amp;quot;&lt;br /&gt;
	]&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>ReisuDesign</name></author>
	</entry>
</feed>