Difference between revisions of "Template:CheckPagesForMatch"

From ChatWars Wiki
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1}}} | {{PAGENAME}} | 1 (1: "{{{1}}}" PG: "{{PAGENAME}}") | 0 (1: "{{{1}}}" PG: "{{PAGENAME}}") }}</includeonly>
+
<includeonly>{{#ifeq: {{{1|}}} | {{{#userparam|}}} | 1 | 0 }}</includeonly><!--
<noinclude>
+
--><noinclude>
Compares two pages and returns 1 if their name matches, 0 if not. Designed to be used in [[Template:ConceptContains]]
+
Compares two pages and returns 1 if their name matches, 0 if not. Designed to be used in [[Template:ConceptContains]]. Has to be fed plain page names, not links!
 
</noinclude>
 
</noinclude>

Latest revision as of 18:17, 12 May 2019

Compares two pages and returns 1 if their name matches, 0 if not. Designed to be used in Template:ConceptContains. Has to be fed plain page names, not links!