Difference between revisions of "Template:LSL Other Languages"

From Second Life Wiki
Jump to navigation Jump to search
m
m (I may need to execute for the side effects but I don't want the value yet.)
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#tag:nowiki|{{{1}}}}}
<div class="other-langauges">{{Collapsible_Table/Simple|collapsed=collapsed|title=This function is similar to functions {{#if:{{{1|}}}}}{{#if:{{#var:other-language-words}}|(<span style="display: inline-block; max-height: 1.6em; max-width: 35em; overflow: hidden; text-overflow: ellipsis; vertical-align: top; white-space: nowrap;">e.g. {{#var:other-language-words}}</span>)}} found in many other languages:&nbsp;
|content={{!}} style="padding-bottom:1px;" {{!}}
{{{1}}}
{{{1}}}
<!--{{Collapsible_Table/Simple|title=Other languages have similar functions:&nbsp;
}}{{#if:
|content={{!}}
 
{{{1}}}
<!-- reset the internal values used in LSL_OL so it doesn't effect later calls -->
}}<noinclude>
{{#vardefine:other-language-words}}
{{#vardefine:other-language-counter|0}}
 
}}</div><noinclude>
----
The following is not included, shows how to use the template.
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
{{!}}+ '''Examples'''
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! Code
! Code
! Result
! Result
{{SourceExample|{{LSL Other Languages|<span>
{{{!}}
{{!}}-
{{!}}-
{{!}} PHP
{{!}} <pre>{{LSL Other Languages|{{LSL_OL|LSL|Haha}}{{LSL_OL|LSL|Hehe}}}}</pre>
{{!}} {{LSL Other Languages|{{LSL_OL|LSL|Haha}}{{LSL_OL|LSL|Hehe}}}}
{{!}}-
{{!}}-
{{!}} Haha
{{!}} Long example
{{!}}}
I don't expect it to ever get this long but I do want to define what happens in the eventuality that it overflows the windows width.
</span>}}}}
<pre>{{LSL Other Languages|{{LSL_OL|LSL|Lorem}}...}}</pre>
{{!}} {{LSL Other Languages|{{LSL_OL|LSL|Lorem}}{{LSL_OL|LSL|ipsum}}{{LSL_OL|LSL|dolor}}{{LSL_OL|LSL|sit}}{{LSL_OL|LSL|amet}}{{LSL_OL|LSL|consectetur}}{{LSL_OL|LSL|adipisicing}}{{LSL_OL|LSL|elit}}{{LSL_OL|LSL|sed}}{{LSL_OL|LSL|do}}{{LSL_OL|LSL|eiusmod}}{{LSL_OL|LSL|tempor}}{{LSL_OL|LSL|incididunt}}{{LSL_OL|LSL|ut}}{{LSL_OL|LSL|labore}}{{LSL_OL|LSL|et}}{{LSL_OL|LSL|dolore}}{{LSL_OL|LSL|magna}}{{LSL_OL|LSL|aliqua}}{{LSL_OL|LSL|Ut}}{{LSL_OL|LSL|enim}}{{LSL_OL|LSL|ad}}{{LSL_OL|LSL|minim}}{{LSL_OL|LSL|veniam}}{{LSL_OL|LSL|quis}}{{LSL_OL|LSL|nostrud}}{{LSL_OL|LSL|exercitation}}{{LSL_OL|LSL|ullamco}}{{LSL_OL|LSL|laboris}}{{LSL_OL|LSL|nisi}}{{LSL_OL|LSL|ut}}{{LSL_OL|LSL|aliquip}}{{LSL_OL|LSL|ex}}{{LSL_OL|LSL|ea}}{{LSL_OL|LSL|commodo}}{{LSL_OL|LSL|consequat}}}}
{{!}}}
{{!}}}
</noinclude>
</noinclude>

Latest revision as of 12:28, 10 September 2012

This function is similar to functions found in many other languages: 

{{{1}}}


The following is not included, shows how to use the template.

Examples
Code Result
{{LSL Other Languages|{{LSL_OL|LSL|Haha}}{{LSL_OL|LSL|Hehe}}}}
This function is similar to functions (e.g. Haha, Hehe) found in many other languages: 
LSL
Haha
LSL
Hehe
Long example

I don't expect it to ever get this long but I do want to define what happens in the eventuality that it overflows the windows width.

{{LSL Other Languages|{{LSL_OL|LSL|Lorem}}...}}
This function is similar to functions (e.g. Lorem, ipsum, dolor) found in many other languages: 
LSL
Lorem
LSL
ipsum
LSL
dolor
LSL
sit
LSL
amet
LSL
consectetur
LSL
adipisicing
LSL
elit
LSL
sed
LSL
do
LSL
eiusmod
LSL
tempor
LSL
incididunt
LSL
ut
LSL
labore
LSL
et
LSL
dolore
LSL
magna
LSL
aliqua
LSL
Ut
LSL
enim
LSL
ad
LSL
minim
LSL
veniam
LSL
quis
LSL
nostrud
LSL
exercitation
LSL
ullamco
LSL
laboris
LSL
nisi
LSL
ut
LSL
aliquip
LSL
ex
LSL
ea
LSL
commodo
LSL
consequat