Difference between revisions of "Template:PrintModificationToAccept"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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>|diagram=</nowiki></code> - if yes, then the formulation diagram is also included, is any.
+
* <code><nowiki>|diagram=</nowiki></code> - if yes, then the formulation diagram is also included, if any.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 18: Line 18:
 
  -->|0={{{default|}}}<!--
 
  -->|0={{{default|}}}<!--
 
  -->|{{{intro|}}}<!--
 
  -->|{{{intro|}}}<!--
   -->{{#arrayprint:theoriesArray||@@@@|{{#if:@@@@|<nowiki/>
+
   -->{{#arrayprint:theoriesArray<!--
 +
  -->||@@@@<!--
 +
  -->|{{#if:@@@@|<nowiki/>
 
* [[@@@@]]: {{#show:@@@@|?Formulation Text}}<!--
 
* [[@@@@]]: {{#show:@@@@|?Formulation Text}}<!--
         -->{{#if: {{{diagram|}}}|{{PrintDiagramFile|diagram file={{#show:@@@@|?Formulation File|link=none}}|}}|}}<!--
+
         -->{{#if: {{{diagram|}}}<!--
  -->}}  
+
          -->|{{#if: {{#show:@@@@|?Formulation File|link=none}}<!--
}}<!--
+
            -->|<nowiki/>
 +
<nowiki/>
 +
{{PrintDiagramFile|diagram file={{#show:@@@@|?Formulation File|link=none}}|}}<nowiki/>
 +
<nowiki/>
 +
<!--
 +
          -->}}<!-- if there is a file
 +
        -->}}<!-- if diagram
 +
    -->}}<!-- if
 +
  -->}}<!-- arrayprint
 
   -->{{{outro|}}}<!--
 
   -->{{{outro|}}}<!--
-->}}<!--
+
-->}}<!-- switch
 
--></includeonly>
 
--></includeonly>

Latest revision as of 23:08, 30 August 2016

Use this template to display all the theories that the modification suggests to become accepted.

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

Parameters:

  • |modification= - the modification that attempts to answer questions.
  • |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.
  • |diagram= - if yes, then the formulation diagram is also included, if any.