Difference between revisions of "Template:HL"

From Lazarus wiki
(new template)
 
(test things)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<syntaxhighlight lang="pascal" inline>{{{1}}}</syntaxhighlight><noinclude>
+
<code class="mw-highlight" dir="ltr"><span class="cm">{{{1}}}</span></code><noinclude>
<hr />This template is used to put a "box" around a term.
+
<hr />This template is used to put a highlight indicating Pascal code around a term.
  
[[category:Formatting templattes]]
+
Normally, the following wiki code
 +
{{Dotbox|<nowiki><syntaxhighlight lang="pascal" inline> {{{1}}}</syntaxhighlight></nowiki>|p}} or
 +
{{Dotbox|<nowiki><syntaxhighlight lang="pascal" enclose="none">{{{1}}}</syntaxhighlight> </nowiki>|p}} is used, but you can't insert a template parameter in this context.
 +
 
 +
[[category:Formatting templates]]

Latest revision as of 14:28, 16 October 2020

{{{1}}}


This template is used to put a highlight indicating Pascal code around a term.

Normally, the following wiki code

<syntaxhighlight lang="pascal" inline> {{{1}}}</syntaxhighlight>

or

<syntaxhighlight lang="pascal" enclose="none">{{{1}}}</syntaxhighlight>

is used, but you can't insert a template parameter in this context.