Difference between revisions of "Template:PrintModifications"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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...")
 
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 28: Line 31:
 
  -->}}<!-- if
 
  -->}}<!-- if
 
  -->|mainlabel=Modification<!--
 
  -->|mainlabel=Modification<!--
  -->|?Community=Community<!--
+
  -->{{#ifeq: {{{showcommunity|}}}|yes|{{!}}?Community=Community}}<!--  
  -->|?Answers Question=Topic<!--
+
  -->{{#ifeq: {{{showtopics|}}}|yes|{{!}}?Answers Question=Topics}}<!--  
 
  -->|?Date Suggested<!--
 
  -->|?Date Suggested<!--
 
  -->|?Summary<!--
 
  -->|?Summary<!--
 
  -->|?Verdict<!--
 
  -->|?Verdict<!--
  -->|?Verdict Rationale<!--
+
  -->{{#ifeq: {{{showtopics|}}}|yes|{{!}}?Verdict Rationale}}<!--  
 
  -->|?Date Assessed<!--
 
  -->|?Date Assessed<!--
 
  -->|format=table<!--
 
  -->|format=table<!--

Revision as of 16:22, 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.
  • |showcommunity= - if yes, the community column will be showed.
  • |showtopics= - if yes, the topics column will be showed.
  • |showverdictrationale= - if yes, the verdict rationale column will be showed.
  • |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.