Template:Syntax2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Attempt failed)
m (fixed width)
 
Line 2: Line 2:
{{#if: {{{syn|}}} | <span style="display:none;speak:none">&nbsp;</span>
{{#if: {{{syn|}}} | <span style="display:none;speak:none">&nbsp;</span>
{{!}}-
{{!}}-
! [[File:Iosyntax.png|link=|alt=]] &nbsp;&nbsp; Syntax
! width="85px" {{!}} [[File:Iosyntax.png|link=|alt=]] &nbsp;&nbsp; Syntax
{{!}} style="padding-left:.5em" {{!}} <code>{{{syn}}}</code>
{{!}} style="padding-left:.5em" {{!}} <code>{{{syn}}}</code>
}}<!--
}}<!--

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.