Difference between revisions of "Template:LSL Generic"

From Second Life Wiki
Jump to navigation Jump to search
(bugs and titles)
Line 16: Line 16:
{{#vardefine:header_text|header_text}}
{{#vardefine:header_text|header_text}}
{{#vardefine:header_floater|header_floater}}
{{#vardefine:header_floater|header_floater}}
{{#vardefine:search|search}}


<!-- -->
<!-- -->
Line 22: Line 23:


{{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}
{{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}
{{#vardefine:caveats|{{#if:{{#var:caveats}}|
{{#var:caveats}}}}
{{#ifeq:{{#var:mode}}|user||{{#if:{{#var:bugs}}|<h3 style="display:inline; line-height:2em;">Important Issues </h3>{{#if:{{#var:search}}|~ {{JiraSearch/1|1={{#var:search}}|2=Search JIRA for related Bugs}}}}
{{{!}} style="font-size:80%; line-height:1.1em;"
{{#var:bugs}}
{{!}}}|{{#if:{{#var:search}}|{{PBR}}{{JiraSearch/1|1={{#var:search}}|2=Search JIRA for related Bugs}}|}}}}}}}}


}}{{#if:{{#var:P_Rendered}}||{{#ifexpr:not {{#if:{{#var:t}}|{{#var:t}}|-1}} and {{#ifeq:{{#sub:{{ucfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}}
}}{{#if:{{#var:P_Rendered}}||{{#ifexpr:not {{#if:{{#var:t}}|{{#var:t}}|-1}} and {{#ifeq:{{#sub:{{ucfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}}
Line 68: Line 76:
{{{!}}
{{{!}}
{{#var:also_functions}}
{{#var:also_functions}}
{{!}}} }}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
{{{!}}
{{#var:also_tests}}
{{!}}} }}{{#if:{{#var:also_articles}}|
{{!}}} }}{{#if:{{#var:also_articles}}|
<h3>Articles</h3>
<h3>Articles</h3>
Line 78: Line 82:
{{!}}} }}
{{!}}} }}
{{#if:{{#var:also_footer}}|{{PBR}}{{#var:also_footer}}}}
{{#if:{{#var:also_footer}}|{{PBR}}{{#var:also_footer}}}}
</div></div>}}{{#if:{{#var:location}}|
</div></div>}}
<div id="box">
{{#if:{{#var:deepnotes}}{{#var:mono}}{{#var:lso}}{{#var:history}}{{#var:issues}}{{#var:search}}{{#var:location}}{{#var:also_tests}}{{#var:messaging}}{{#var:footnotes}}|<div id="box">
<h2>Source Location</h2>
== Deep Notes ==
<div style="padding: 0.5em">
<div style="padding: 0.5em"><div>
{{#var:deepnotes}}
</div>{{#if:{{#var:mono}}|
<h4> Mono VM Notes </h4><div>
{{#var:mono}}
</div>}}{{#if:{{#var:lso}}|
<h4> LSO VM Notes </h4><div>
{{#var:lso}}
</div>}}{{#if:{{#var:history}}|
<h4> History </h4><div>
{{#var:history}}
</div>}}{{#if:{{#var:issues}}|
<h4 style="display:inline; line-height:2em;">Issues </h4>{{#if:{{#var:search}}|~ {{JiraSearch/2|1={{#var:search}}|2=Search JIRA for related Issues}}}}
{{{!}} style="font-size:90%; line-height:1.1em;"
{{#var:issues}}
{{!}}}
|{{#if:{{#var:search}}|<h4>Issues</h4>
{{JiraSearch/2|1={{#var:search}}|2=Search JIRA for related Issues}}
}}}}{{#if:{{#var:also_tests}}|
<h3>Tests</h3>
{{{!}}
{{#var:also_tests}}
{{!}}}
}}{{#if:{{#var:location}}|
<h4> Source </h4><div>
{{#var:location}}
{{#var:location}}
</div>}}{{#if:{{#var:messaging}}|
<h4> Messaging </h4><div>
{{#var:messaging}}
</div>}}{{#if:{{#var:footnotes}}|
<h4 style="margin-bottom:0;"> Footnotes </h4>
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}}
}}
</div></div>{{#if:{{#var:comments}}|<div id="box">
<h2>Comments</h2>
<div style="padding: 0.5em;">
{{#var:comments}}
</div></div>}}
</div></div>}}
{{#var:footer}}<span id="sort" style="visibility:hidden">{{#var:sort}}</span>}}</onlyinclude>
{{#var:footer}}<span id="sort" style="visibility:hidden">{{#var:sort}}</span>}}</onlyinclude>

Revision as of 21:04, 2 February 2010

See Template:LSL Generic/docs for documentation.{{#if:||

header_title

header_title
header_floater

header_text

Specification

spec

constants_nb

Examples

examples

Notes

notes

See Also

header

Events

events

Functions

functions

Articles

articles

footer

Deep Notes

Issues

Search JIRA for related Issues

Tests

tests