Difference between revisions of "Template:PrintDiagramFile"
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...") |
|||
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 | + | * <code><nowiki>|scale=</nowiki></code> - percentage of the original size; default is 40%. |
* <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| | + | -->|newwidth={{{scale|40}}}<!-- |
-->|alignment={{{alignment|center}}}<!-- | -->|alignment={{{alignment|center}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}}</includeonly> | -->}}</includeonly> |
Revision as of 01:17, 20 August 2016
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 40%.|alignment=
- the alignment; default is center.