Template:Syntax2: Difference between revisions
Jump to navigation
Jump to search
m (Fixed images, indent. I don't want the images to be linked to their [[File:]] page. They're just icons.) |
(Then just use |link= instead of that.) |
||
Line 1: | Line 1: | ||
<noinclude><!-- Note: This first if parser is used to avoid showing a small box if none of the params are specified, while allowing it through if any are specified --></noinclude>{{#if: {{{syn|}}}{{{in|}}}{{{out|}}} | :{{{!}} class="standard-table" | <noinclude><!-- Note: This first if parser is used to avoid showing a small box if none of the params are specified, while allowing it through if any are specified --></noinclude>:{{#if: {{{syn|}}}{{{in|}}}{{{out|}}} | :{{{!}} class="standard-table" | ||
{{#if: {{{syn|}}} | <i style="display:none; speak:none;"> </i> | {{#if: {{{syn|}}} | <i style="display:none; speak:none;"> </i> | ||
{{!}}- | {{!}}- | ||
! <code> | ! <code>[[File:Iosyntax.png|link=|alt=]] Syntax</code> | ||
{{!}} <code>{{{syn}}}</code> | {{!}} <code>{{{syn}}}</code> | ||
}}<!-- | }}<!-- | ||
Line 8: | Line 8: | ||
-->{{#if: {{{in|}}} | <i style="display:none; speak:none;"> </i> | -->{{#if: {{{in|}}} | <i style="display:none; speak:none;"> </i> | ||
{{!}}- | {{!}}- | ||
! <code> | ! <code>[[File:Io14.png|link=|alt=]] Input</code> | ||
{{!}} <code>{{{in}}}</code> | {{!}} <code>{{{in}}}</code> | ||
}}<!-- | }}<!-- | ||
Line 14: | Line 14: | ||
-->{{#if: {{{out|}}} | <i style="display:none; speak:none;"> </i> | -->{{#if: {{{out|}}} | <i style="display:none; speak:none;"> </i> | ||
{{!}}- | {{!}}- | ||
! <code> | ! <code>[[File:Io11.png|link=|alt=]] Output</code> | ||
{{!}}bgcolor="262626"{{!}} {{{out}}} | {{!}}bgcolor="262626"{{!}} {{{out}}} | ||
}} | }} |
Revision as of 15:21, 21 November 2011
Usage
{{syntax2|syn=syntax|in=input|out=output}}