Difference between revisions of "Template:PrintModifications"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
Line 9: Line 9:
 
* <code><nowiki>|includeaccepted=</nowiki></code> - if ''yes'', accepted modifications are included.
 
* <code><nowiki>|includeaccepted=</nowiki></code> - if ''yes'', accepted modifications are included.
 
* <code><nowiki>|includenotaccepted=</nowiki></code> - if ''yes'', not accepted modifications are included.
 
* <code><nowiki>|includenotaccepted=</nowiki></code> - if ''yes'', not accepted modifications are included.
* <code><nowiki>|showcommunity=</nowiki></code> - if ''yes'', the community column will be showed.
 
* <code><nowiki>|showtopics=</nowiki></code> - if ''yes'', the topics column will be showed.
 
* <code><nowiki>|showverdictrationale=</nowiki></code> - if ''yes'', the verdict rationale column will be showed.
 
 
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes the output, if at least some results exist.
 
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes 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>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
Line 31: Line 28:
 
  -->}}<!-- if
 
  -->}}<!-- if
 
  -->|mainlabel=Modification<!--
 
  -->|mainlabel=Modification<!--
-->{{#ifeq: {{{showcommunity|}}}|yes|{{!}}?Community=Community}}<!--
 
-->{{#ifeq: {{{showtopics|}}}|yes|{{!}}?Answers Question=Topics}}<!--
 
 
  -->|?Date Suggested<!--
 
  -->|?Date Suggested<!--
 
  -->|?Summary<!--
 
  -->|?Summary<!--
 
  -->|?Verdict<!--
 
  -->|?Verdict<!--
-->{{#ifeq: {{{showtopics|}}}|yes|{{!}}?Verdict Rationale}}<!--
 
 
  -->|?Date Assessed<!--
 
  -->|?Date Assessed<!--
 
  -->|format=table<!--
 
  -->|format=table<!--

Latest revision as of 16:26, 22 June 2017

Use this template to print a table with all the suggested modifications.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |includeall= - if yes, all modifications are included; the values of other |include...= parameters are ignored.
  • |includeopen= - if yes, open modifications are included.
  • |includeaccepted= - if yes, accepted modifications are included.
  • |includenotaccepted= - if yes, not accepted modifications are included.
  • |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.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.