Difference between revisions of "Template:LSL Generic"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__ <noinclude>
__NOTOC__ <noinclude>
See [[{{FULLPAGENAME}}/docs]] for documentation.
See [[{{FULLPAGENAME}}/docs]] for documentation.{{#if:


<!--{{#vardefine:also_header|header}}-->
{{#vardefine:also_header|header}}
<!--{{#vardefine:also_events|events}}-->
{{#vardefine:also_events|{{!}}events}}
<!--{{#vardefine:also_tests|tests}}-->
{{#vardefine:also_tests|{{!}}tests}}
<!--{{#vardefine:also_articles|articles}}-->
{{#vardefine:also_articles|{{!}}articles}}
<!--{{#vardefine:also_functions|functions}}-->
{{#vardefine:also_functions|{{!}}functions}}
<!--{{#vardefine:also_footer|footer}}-->
{{#vardefine:also_footer|footer}}
{{{{FULLPAGENAME}}|}}
{{#vardefine:examples|examples}}
{{#vardefine:constants_nb|constants_nb}}
{{#vardefine:notes|notes}}
{{#vardefine:caveats|caveats}}
{{#vardefine:spec|spec}}
{{#vardefine:header_title|header_title}}
{{#vardefine:header_text|header_text}}
{{#vardefine:header_floater|header_floater}}
{{#vardefine:search|search}}


</noinclude><includeonly>{{#vardefine:t|{{#pos:{{lc:{{PAGENAMEE}}}}|{{lc:{{#var:name}}}}}}}}{{#vardefine:t|{{#if:{{#var:t}}|{{#var:t}}|-1}}}}{{#ifexpr:not {{#var:t}} and {{#ifeq:{{#sub:{{ucfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}} {{#if:{{#var:P_Rendered}}||
<!-- -->
 
}}</noinclude><onlyinclude>{{#if:
 
{{#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}}}}
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}}
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}}
{{{!}} width="100%"
{{RightToc|font-size:80%}}
{{!}}-
<div id="box"><h2 style="display:none"> {{#if:{{#var:alt_title}}|{{#var:alt_title}}|{{#var:header_title}}}} </h2>{{#ifexpr:{{#var:BugCounter|0}} > 0|<div class="mw-headline" style="float:right; margin: 5px 0.5em 0 0.5em;">{{LSL_Bug_Icon}}</div>}}<span id="{{anchorencode:Description}}" style="display:none"></span><span id="{{anchorencode:Summary}}" class="mw-headline" style="display:block; padding-bottom:0.17em; padding-top:0.5em; background:transparent none repeat scroll 0% 0%; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> {{#var:header_title}} </span><div style="padding: 0.5em; min-height: 5em;">{{#if:{{#var:header_floater}}|<div id="box" style="float:right;">{{#var:header_floater}}</div>}}
{{!}} valign="top" {{!}} <div id="box">
== {{#var:header_title}} ==
<div style="padding: 0.5em">{{#if:{{#var:header_floater}}|<div id="box" style="float:right;">{{#var:header_floater}}</div>}}
{{#var:header_text}}
{{#var:header_text}}
{{#if:{{#var:header_floater}}|<div style="clear:right;" ></div>}}
</div></div>{{#if:{{#var:spec}}|<div id="box">
</div></div>
<h2>Specification</h2>
{{!}}-
{{!}}{{ #if: {{#var:spec}} |  
<div id="box">
== {{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Specification}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:spec}}
{{#var:spec}}
</div></div>
</div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}|
}}
{{#var:constants_nb}}{{#if:{{#var:constants}}|  
{{!}}-
<div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}}</h2>
{{!}}{{ #if: {{#var:constants_nb}} | {{#var:constants_nb}}| }}{{ #if: {{#var:constants}} |  
<div id="box">
== {{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}} ==
{{#var:constants}}
{{#var:constants}}
</div>
</div>}}}}{{#if:{{#var:caveats}}|
}}
<div id="box"><h2>Caveats</h2>
{{!}}-
{{!}}{{ #if: {{#var:caveats}}|<div id="box">
== {{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Caveats}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:caveats}}
{{#var:caveats}}
</div></div>}}
</div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}|
{{!}}-
<div id="box"><h2>Examples</h2>
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:examples}} |
<div id="box">
== {{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Examples}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{ #if: {{#var:examples}} | {{#var:examples}} | }}
{{#var:examples}}
</div>
</div></div>}}{{#if:{{#var:helpers}}|
</div>
<div id="box"><h2>Useful Snippets</h2>
}}
{{!}}-
{{!}}{{ #if: {{#var:helpers}} |  
<div id="box">
== {{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Useful Snippets}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#var:helpers}}
{{#var:helpers}}
</div>
</div></div>}}{{#if:{{#var:notes}}|
</div>
<div id="box"><h2>Notes</h2>
}}
{{!}}-
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:notes}} |
<div id="box">
== {{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{ #if: {{#var:notes}} | {{#var:notes}} }}
{{#var:notes}}
</div>
</div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}|
</div>
<div id="box"><h2>See Also</h2>
}}
{{!}}-
{{!}}{{ #if: {{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}|  
<div id="box">
== {{#if:{{#var:T_See_Also}}|{{#var:T_See Also}}|See_Also}} ==
<div style="padding: 0.5em">
<div style="padding: 0.5em">
{{#if:{{#var:also_header}}|
{{#if:{{#var:also_header}}|
{{#var:also_header}}}}{{#if:{{#var:also_events}}|<span style="visibility:hidden"></span>
{{#var:also_header}}}}{{#if:{{#var:also_events}}|
=== {{#if:{{#var:T_Also_Events}}|{{#var:T_Also_Events}}|Events}} ===
<h3>Events</h3>
{{#var:also_events}}}}{{#if:{{#var:also_functions}}|<span style="visibility:hidden"></span>
{{{!}}
=== {{#if:{{#var:T_Also_Functions}}|{{#var:T_Also_Functions}}|Functions}} ===
{{#var:also_events}}
{{#var:also_functions}}}}{{#if:{{#var:also_tests}}|<span style="visibility:hidden"></span>
{{!}}} }}{{#if:{{#var:also_functions}}|
=== {{#if:{{#var:T_Also_Tests}}|{{#var:T_Also_Tests}}|Tests}} ===
<h3>Functions</h3>
{{#var:also_tests}}}}{{#if:{{#var:also_articles}}|<span style="visibility:hidden"></span>
{{{!}}
=== {{#if:{{#var:T_Also_Articles}}|{{#var:T_Also_Articles}}|Articles}} ===
{{#var:also_functions}}
{{#var:also_articles}}}}
{{!}}} }}{{#if:{{#var:also_articles}}|
{{#if:{{#var:also_footer}}|<br/>{{#var:also_footer}}}}
<h3>Articles</h3>
</div></div>
{{{!}}
}}
{{#var:also_articles}}
{{!}}-
{{!}}} }}
{{!}}{{#if:{{#var:location}}|
{{#if:{{#var:also_footer}}|{{PBR}}{{#var:also_footer}}}}
<div id="box">
</div></div>}}
== {{#if:{{#var:T_Source_Location}}|{{#var:T_Source_Location}}|Source Location}} ==
{{#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">
<div style="padding: 0.5em">
== Deep Notes ==
<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></div>
</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">
{{#var:footer}} }}</includeonly>
<h2>Comments</h2>
<div style="padding: 0.5em;">
{{#var:comments}}
</div></div>}}
{{#var:footer}}<span id="sort" style="visibility:hidden">{{#var:sort}}</span>}}</onlyinclude>

Latest revision as of 19:16, 17 December 2010

See Template:LSL Generic/docs for documentation.

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