Difference between revisions of "Template:PrintModificationVerdict"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist. | * <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist. | ||
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead. | * <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead. | ||
+ | * <code><nowiki>|print verdict rationale=</nowiki></code> - if not empty, then the verdict rationale will also be printed. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 21: | Line 22: | ||
-->}}<!-- switch end | -->}}<!-- switch end | ||
--><!-- the rationale should always be printed since there might be something to say even when it is open (e.g. Parent Open case) | --><!-- the rationale should always be printed since there might be something to say even when it is open (e.g. Parent Open case) | ||
− | --> {{PrintModificationVerdictRationale|modification={{{modification|}}}|}}<!-- | + | -->{{#if: {{{print verdict rationale}}}| {{PrintModificationVerdictRationale|modification={{{modification|}}}|}}|}}<!-- |
-->{{{outro|}}}<!-- | -->{{{outro|}}}<!-- | ||
--><!-- | --><!-- | ||
-->|{{{default|}}}<!-- | -->|{{{default|}}}<!-- | ||
-->}}</includeonly> | -->}}</includeonly> |
Revision as of 23:45, 1 February 2017
This template is used to print the verdict of a modification including its year of assessment and verdict rational.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|modification=
- the modification whose verdict is to be printed.|intro=
- initial text that precedes the output, if at least some results exist.|outro=
- text that is appended to the output, if at least some results exist.|default=
- if, for any reason, the query returns no results, this will be printed instead.|print verdict rationale=
- if not empty, then the verdict rationale will also be printed.