Template:Syntaxhighlight: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Amalthea A wrapper for a non-enclosed source tag, enclosing it in a white-space wrapping div, similar in style to a <pre> tag. Useful for inline use on talk pages, where a plain source tag breaks indentation. |
meta>Amalthea Actually, <source> is deprecated in favor of <syntaxhighlight> |
||
| Line 1: | Line 1: | ||
<div class=" | <div class="syntax" style="border:1px dashed #2F6FAB;font-family:monospace,sans-serif;padding:1em;margin-left:1em;">{{#tag:syntaxhighlight|{{{1}}}|lang="{{{lang<noinclude>|html4strict</noinclude>}}}"|enclose="none"}}</div><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 15:20, 28 May 2010
<syntaxhighlight lang="html4strict" enclose="none">{{{1}}}</syntaxhighlight>
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.