Difference between revisions of "Template:Modification"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
--><!-- set the parent modification if the parent itself doesn't have a parent | --><!-- set the parent modification if the parent itself doesn't have a parent | ||
-->{{#if: {{{Parent Modification|}}}| <!-- | -->{{#if: {{{Parent Modification|}}}| <!-- | ||
+ | --><!-- | ||
+ | --><!-- the parent cannot be self | ||
+ | -->{{#ifeq: {{{Parent Modification|}}}|{{FULLPAGENAME}}<!-- | ||
+ | --><!-- | ||
+ | -->|{{error|The acceptance of a modification cannot depend upon itself: the parent modification should either be empty or refer to some other modification.}}<!-- | ||
+ | --><!-- | ||
+ | -->}}<!-- if the parent has a parent | ||
+ | --><!-- | ||
--><!-- the parent cannot itself have a parent | --><!-- the parent cannot itself have a parent | ||
-->{{#if: {{#show: {{{Parent Modification|}}} |?Parent Modification}} <!-- | -->{{#if: {{#show: {{{Parent Modification|}}} |?Parent Modification}} <!-- |
Revision as of 14:14, 16 August 2016
This is the "Modification" template. It should be called in the following format:
{{Modification |Summary= |Year Suggested= |Resource= |Author= |Preamble= |Modification= |Parent Modification= |Verdict= |Year Assessed= |Verdict Rationale= }}
Edit the page to see the template text.