Template:Syntax2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (fixed width) |
||
(13 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 | |||
{{!}} style="padding-left:.5em" {{!}} <code>{{{syn}}}</code> | |||
}}<!-- | |||
-->{{#if: {{{in|}}} | <span style="display:none;speak:none"> </span> | |||
{{!}}- | |||
! [[File:Io14.png|link=|alt=]] Example | |||
{{!}} style="padding-left:.5em" {{!}} <code>{{{in}}}</code> | |||
}}<!-- | |||
-->{{#if: {{{out|}}} | <span style="display:none;speak:none"> </span> | |||
{{!}}- | |||
! [[File:Io11.png|link=|alt=]] Results | |||
{{!}}bgcolor="262626" style="padding-left:.5em"{{!}}{{{out}}} | |||
}} | }} | ||
{{ | {{!}}}</includeonly><noinclude> | ||
== Usage == | |||
<code><nowiki>{{syntax2|syn=syntax|in=input|out=output}}</nowiki></code> | |||
=== 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> | ||
</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
'''Bold text'''
Example
Remember to '''always''' brush your teeth.
Results
Remember to always brush your teeth.