Template:Syntax2: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (fixed width) | |||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| <includeonly>:{{{!}} class="standard-table" | |||
| {{#if: {{{syn|}}} | < | {{#if: {{{syn|}}} | <span style="display:none;speak:none"> </span> | ||
| {{!}}- | {{!}}- | ||
| !  | ! width="85px" {{!}} [[File:Iosyntax.png|link=|alt=]]    Syntax | ||
| {{!}} <code>{{{syn}}}</code> | {{!}} style="padding-left:.5em" {{!}} <code>{{{syn}}}</code> | ||
| }}<!-- | }}<!-- | ||
| -->{{#if: {{{in|}}} | < | -->{{#if: {{{in|}}} | <span style="display:none;speak:none"> </span> | ||
| {{!}}- | {{!}}- | ||
| !  | ! [[File:Io14.png|link=|alt=]]  Example | ||
| {{!}} <code>{{{in}}}</code> | {{!}} style="padding-left:.5em" {{!}} <code>{{{in}}}</code> | ||
| }}<!-- | }}<!-- | ||
| -->{{#if: {{{out|}}} | < | -->{{#if: {{{out|}}} | <span style="display:none;speak:none"> </span> | ||
| {{!}}- | {{!}}- | ||
| !  | ! [[File:Io11.png|link=|alt=]]    Results | ||
| {{!}}bgcolor="262626"{{!}} {{{out}}} | {{!}}bgcolor="262626" style="padding-left:.5em"{{!}}{{{out}}} | ||
| }} | }} | ||
| {{!}}} | {{!}}}</includeonly><noinclude> | ||
| == Usage == | == Usage == | ||
| <code><nowiki>{{syntax2|syn=syntax|in=input|out=output}}</nowiki></code> | <code><nowiki>{{syntax2|syn=syntax|in=input|out=output}}</nowiki></code> | ||
| </noinclude> | |||
| === Example === | |||
| <pre> | |||
| {{syntax2 | |||
| |syn=<nowiki><nowiki>'''Bold text'''</nowiki></nowiki> | |||
| |in=<nowiki><nowiki>Remember to '''always''' brush your teeth.</nowiki></nowiki> | |||
| |out=Remember to '''always''' brush your teeth. | |||
| }} | |||
| </pre> | |||
| === Results === | |||
| {{syntax2 | |||
| |syn=<nowiki>'''Bold text'''</nowiki> | |||
| |in=<nowiki>Remember to '''always''' brush your teeth.</nowiki> | |||
| |out=Remember to '''always''' brush your teeth. | |||
| }} | |||
| [[Category:Layout Container]]</noinclude> | |||
Latest revision as of 18:31, 29 December 2011
Usage
{{syntax2|syn=syntax|in=input|out=output}}
Example
{{syntax2
|syn=<nowiki>'''Bold text'''</nowiki>
|in=<nowiki>Remember to '''always''' brush your teeth.</nowiki>
|out=Remember to '''always''' brush your teeth.
}}
Results
 Syntax Syntax- '''Bold text''' Example Example- Remember to '''always''' brush your teeth. Results Results- Remember to always brush your teeth.