Difference between revisions of "Template:RevisionChanger"

From Larnitech wiki page
Jump to navigation Jump to search
Line 6: Line 6:
 
{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|'''C'''|C}}
 
{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|'''C'''|C}}
  
Example  
+
Example: <nowiki>{{RevisionChanger | hasA = 1 | hasB = 1 | hasC = 1}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 09:05, 22 July 2021

Revision:
/B
/C

RevisionChanger A B C

Example: {{RevisionChanger | hasA = 1 | hasB = 1 | hasC = 1}}