Difference between revisions of "Template:ReportGeneratorCode"

From RadiWiki
Jump to: navigation, search
Line 1: Line 1:
<nowiki>||</nowiki>{{CombineWithSeperator17|{{{1|}}}|{{!}}|{{{2|}}}}}<nowiki>||</nowiki><noinclude>This template can be used to show the [[report generator]] code itself.
+
<includeonly><nowiki>||</nowiki>{{CombineWithSeperator17|{{{1|}}}|{{!}}|{{{2|}}}}}<nowiki>||</nowiki></includeonly><noinclude>This template can be used to show the [[report generator]] code itself.
Showing the report generator code itself is causing some problems, because the | is also interpreted by MediaWiki as an argument seperator.
+
Showing the report generator code itself is causing some problems, because the | is also interpreted by MediaWiki as an argument separator. The template allows to specify 1 or 2 arguments and will thus allow to show a report generator code with and without a main keyword.
  
{{ReportGeneratorInfo|The most often used report generate code is: {{ReportGeneratorCode|EUT|NAME}}, but other often used codes are also: {{ReportGeneratorCode|EUT|ORDERNUMBER}} and {{ReportGeneratorCode|EUT|SERIAL NUMBER}} }}
+
{{ReportGeneratorInfo|The most often used report generate code is: {{ReportGeneratorCode|EUT|NAME}}, but other often used codes are also: {{ReportGeneratorCode|EUT|ORDERNUMBER}} and {{ReportGeneratorCode|EUT|SERIAL NUMBER}}. In a printout template {{ReportGeneratorCode|DESCRIPTION}} will show the description of the test that is printed. }}
 
[[Category:Template]]</noinclude>
 
[[Category:Template]]</noinclude>

Revision as of 19:49, 27 January 2023

This template can be used to show the report generator code itself. Showing the report generator code itself is causing some problems, because the | is also interpreted by MediaWiki as an argument separator. The template allows to specify 1 or 2 arguments and will thus allow to show a report generator code with and without a main keyword.

Report generator.png
The most often used report generate code is: ||EUT|NAME||, but other often used codes are also: ||EUT|ORDERNUMBER|| and ||EUT|SERIAL NUMBER||. In a printout template ||DESCRIPTION|| will show the description of the test that is printed.