Template:Editcopy: Difference between revisions
Created page with "{{#vardefine: mainpagetitle | {{#ifeq: {{NAMESPACENUMBER}} | 0 | {{BASEPAGENAME}} | {{NAMESPACE}}:{{BASEPAGENAME}} }} }}<!-- -->{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/editcopy | <!-- The MessageBox only appears on the /editcopy page, allowing it to be used on the main page to prevent the main page and the editcopy from appearing different --> {{#if: {{{styles_editcopy|}}} | <templatestyles src="{{{styles_editcopy}}}" /> }}<!-- Load custom styles for editcopy page if..." |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#vardefine: mainpagetitle | {{#ifeq: {{NAMESPACENUMBER}} | 0 | {{BASEPAGENAME}} | {{NAMESPACE}}:{{BASEPAGENAME}} }} }} | {{#vardefine: mainpagetitle | {{#ifeq: {{NAMESPACENUMBER}} | 0 | {{BASEPAGENAME}} | {{NAMESPACE}}:{{BASEPAGENAME}} }} }} | ||
-->{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/editcopy | <!-- The MessageBox only appears on the /editcopy page, allowing it to be used on the main page to prevent the main page and the editcopy from appearing different | <!-- Debug: PAGENAME={{PAGENAME}}, BASEPAGENAME={{BASEPAGENAME}}, mainpagetitle={{#var:mainpagetitle}} --> | ||
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}}/editcopy | <!-- The MessageBox only appears on the /editcopy page, allowing it to be used on the main page to prevent the main page and the editcopy from appearing different | |||
--> {{#if: {{{styles_editcopy|}}} | <templatestyles src="{{{styles_editcopy}}}" /> }}<!-- Load custom styles for editcopy page if specified | --> {{#if: {{{styles_editcopy|}}} | <templatestyles src="{{{styles_editcopy}}}" /> }}<!-- Load custom styles for editcopy page if specified | ||