Difference between revisions of "Template:HL"

From Free Pascal wiki
(test things)
 
Line 1: Line 1:
 
<code class="mw-highlight" dir="ltr"><span class="cm">{{{1}}}</span></code><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.
 +
 
 +
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.
  
Normally, <nowiki><syntaxhighlight lang="pascal" inline> {{{1}}}</syntaxhighlight> or <syntaxhighlight lang="pascal" enclose="none">{{{1}}}</syntaxhighlight> </nowiki> is used, but you can't insert a template parameter in this context.
 
 
[[category:Formatting templates]]
 
[[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.