Difference between revisions of "Template:PrintDiagramFile"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> Use this template to display the diagram with all the proper formatting. '''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely...")
 
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
'''Parameters:'''
 
'''Parameters:'''
 
* <code><nowiki>|diagram file=</nowiki></code> - the file to be displayed.
 
* <code><nowiki>|diagram file=</nowiki></code> - the file to be displayed.
* <code><nowiki>|scale=</nowiki></code> - percentage of the original size; default is 45%.
+
* <code><nowiki>|scale=</nowiki></code> - percentage of the original size; default is 42%.
 
* <code><nowiki>|alignment=</nowiki></code> - the alignment; default is center.
 
* <code><nowiki>|alignment=</nowiki></code> - the alignment; default is center.
  
Line 13: Line 13:
 
  -->{{ScaleImage<!--
 
  -->{{ScaleImage<!--
 
   -->|imagename={{{diagram file|}}}<!--
 
   -->|imagename={{{diagram file|}}}<!--
   -->|newwidth={{{scale|45}}}<!--
+
   -->|newwidth={{{scale|42}}}<!--
 
   -->|alignment={{{alignment|center}}}<!--
 
   -->|alignment={{{alignment|center}}}<!--
 
  -->}}<!--
 
  -->}}<!--
 
-->}}</includeonly>
 
-->}}</includeonly>

Latest revision as of 01:10, 29 January 2019

Use this template to display the diagram with all the proper formatting.

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

Parameters:

  • |diagram file= - the file to be displayed.
  • |scale= - percentage of the original size; default is 42%.
  • |alignment= - the alignment; default is center.