User:Gwyneth Llewelyn/Template:LSL: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Gwyneth Llewelyn (talk | contribs)
Experiment #1
 
Gwyneth Llewelyn (talk | contribs)
Finishing the REDIRECT
Tag: New redirect
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
#REDIRECT [[Template:Gwyneth_Llewelyn/LSL]]
[[Category:LSL Templates|{{PAGENAME}}]]


Usage: {{t|lsl|sourcecode|highlightlines|startline|light|oneliner}}
What a mess I did here... this should be flagged for deletion! — [[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 10:48, 17 June 2025 (PDT)
 
*sourcecode=test - lines with code
*highlightlines=values - contains lines to hightlight, values separated with comma
*startline=value - a line number to start counting from
*light=true - shows no gutter, no linenumbers and general background
*oneliner=true - will hide the toolbar, which will be too big otherwise
 
</noinclude>
{{#tag:pre|{{{sourcecode}}}|class=brush:lsl; {{#if:
{{{oneliner|}}}|toolbar:false;|}}{{#if:
{{{startline|}}}|first-line:{{{startline}}};|}}{{#if:
{{{highlightlines|}}}|highlight:[{{{highlightlines}}}];|}}{{#if:
{{{light|}}}|light:true;|}} smart-tabs: false; tab-size: 4; wrap-lines: true;}}
<includeonly>{{#if:{{{light|}}}||[[Category:Articles with LSL Code Examples]]}}</includeonly>

Latest revision as of 10:48, 17 June 2025

What a mess I did here... this should be flagged for deletion! — Gwyneth Llewelyn (talk) 10:48, 17 June 2025 (PDT)