Difference between revisions of "Template:RevisionChanger"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | <div style="font-size:2em">'''Revision:'''<div style="display:{{#if: {{{hasA|}}} |inline-block|none}};">[[{{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.A|{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.A|'''A'''|A}}]]</div><div style="display:{{#if: {{{hasB|}}} |inline-block|none}};">/[[{{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.B|{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.B|'''B'''|B}}]]</div><div style="display:{{#if: {{{hasC|}}} |inline-block|none}};" >/[[{{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|'''C'''|C}}]]</div></div> | |
<noinclude> | <noinclude> | ||
{{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}} | ||
Line 5: | Line 5: | ||
{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.B|'''B'''|B}} | {{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}.B|'''B'''|B}} | ||
{{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|'''C'''|C}} | {{#ifeq: {{BASEPAGENAME}} | {{#replace:{{#replace:{{BASEPAGENAME}}|.A|}}|.B|}}|'''C'''|C}} | ||
+ | |||
+ | Example | ||
</noinclude> | </noinclude> |
Revision as of 09:04, 22 July 2021
Revision:
RevisionChanger A B C
Example