Template:ReportGeneratorCode: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><nowiki>||</nowiki>{{{1}}}{{#ifeq:{{#len:{{{2|}}}}}|0||<nowiki>|</nowiki>{{{2}}}}}<nowiki>||</nowiki></includeonly><noinclude>This template can be used to show the [[report generator]] code itself. | <includeonly><code><nowiki>||</nowiki>{{{1}}}{{#ifeq:{{#len:{{{2|}}}}}|0||<nowiki>|</nowiki>{{{2}}}}}<nowiki>||</nowiki></code></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 separator, the advised solution is to use '<code><nowiki>{{!}}</nowiki></code>' or '<code><nowiki><nowiki>||</nowiki></nowiki></code>', which is also used in this template. Using those commands is however very confusing in the actual documentation, thus it is easier to use this template. This template allows to specify 1 or 2 arguments and will thus allow to show a report generator code with and without a main keyword. | Showing the report generator code itself is causing some problems, because the | is also interpreted by MediaWiki as an argument separator, the advised solution is to use '<code><nowiki>{{!}}</nowiki></code>' or '<code><nowiki><nowiki>||</nowiki></nowiki></code>', which is also used in this template. Using those commands is however very confusing in the actual documentation, thus it is easier to use this template. This template allows to specify 1 or 2 arguments and will thus allow to show a report generator code with and without a main keyword. | ||
Revision as of 15:00, 24 January 2024
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 advised solution is to use '{{!}}
' or '<nowiki>||</nowiki>
', which is also used in this template. Using those commands is however very confusing in the actual documentation, thus it is easier to use this template. This template allows to specify 1 or 2 arguments and will thus allow to show a report generator code with and without a main keyword.
A typical usage is: {{ReportGeneratorCode|EUT|NAME}}
|