Template:Sandbox: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#tag:syntaxhighlight|{{{1|input}}}|line=line|lang={{{lang|php}}}}}[[Category:Stub]]</includeonly><noinclude>{{Template}}
<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px; display:table;"> {{{1<noinclude>|&nbsp;&nbsp;{{Lorem}}</noinclude>}}}


== Usage ==
{{#if:{{{2|<noinclude>x</noinclude>}}}
 
|<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}
<pre><nowiki>{{Sandbox|hello moto}}</nowiki></pre>
  |, ''{{{3}}}''
 
}}{{#if:{{{4|<noinclude>x</noinclude>}}}
{{Sandbox|hello moto}}
  |, {{{4}}}
 
}}</p>
By default, php highlighting is used.
}}</blockquote><noinclude>
 
=== Syntax Highlighting ===
 
By specifying the language to use, you can get syntax highlighting as well.
 
<pre><nowiki>{{Sandbox|print "hello moto"|lang=python}}</nowiki></pre>
 
{{Sandbox|
print "hello moto"
lulz
|lang=python}}
 
{{Sandbox|
print "hello moto"
lulz
|lang=python}}


{{Sandbox|Quote here}}
</noinclude>
</noinclude>

Latest revision as of 20:16, 14 January 2017

  {{Gt}be me}

— {{{2}}}, {{{3}}}, {{{4}}}

Quote here