Template:Sandbox: Difference between revisions
From Bibliotheca Anonoma
Antonizoon (talk | contribs) No edit summary |
Antonizoon (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:syntaxhighlight|{{{1|input}}}|lang={{{lang|php}}}}}</includeonly><noinclude>{{Template}} | <includeonly>{{#tag:syntaxhighlight|{{{1|input}}}|lang={{{lang|php}}}|inline}}</includeonly><noinclude>{{Template}} | ||
== Usage == | == Usage == | ||
Line 15: | Line 15: | ||
<pre><nowiki>{{Sandbox|print "hello moto"|lang=python}}</nowiki></pre> | <pre><nowiki>{{Sandbox|print "hello moto"|lang=python}}</nowiki></pre> | ||
{{Sandbox|print "hello moto"|lang=python}} | {{Sandbox| | ||
print "hello moto" | |||
lulz | |||
|lang=python}} | |||
</noinclude> | </noinclude> |
Revision as of 19:45, 12 January 2017
This page is a template. It contains no Bibliotheca Anonoma-related information, but should be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.Usage
{{Sandbox|hello moto}}
hello moto
By default, php highlighting is used.
Syntax Highlighting
By specifying the language to use, you can get syntax highlighting as well.
{{Sandbox|print "hello moto"|lang=python}}
print "hello moto"
lulz