Template:Syntax2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (fixed width) |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
:{ | <includeonly>:{{{!}} class="standard-table" | ||
{{#if: {{{ | {{#if: {{{syn|}}} | <span style="display:none;speak:none"> </span> | ||
{{!}}- | |||
! width="85px" {{!}} [[File:Iosyntax.png|link=|alt=]] Syntax | |||
{{#if: {{{ | {{!}} style="padding-left:.5em" {{!}} <code>{{{syn}}}</code> | ||
}}<!-- | |||
{{#if: {{{ | -->{{#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 | {{syntax2 | ||
| | |syn=<nowiki>'''Bold text'''</nowiki> | ||
| | |in=<nowiki>Remember to '''always''' brush your teeth.</nowiki> | ||
|out=Remember to '''always''' brush your teeth. | |||
}} | }} | ||
</noinclude> | [[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
'''Bold text'''
Example
Remember to '''always''' brush your teeth.
Results
Remember to always brush your teeth.