Difference between revisions of "Template:LSL Constant"
Jump to navigation
Jump to search
m (stupid stupid stupid stupid) |
m (couple nagging template issues (hope adding header support doesn't cause problems).) |
||
Line 25: | Line 25: | ||
{{#vardefine:history|<nowiki>{{var:history}}</nowiki>}} | {{#vardefine:history|<nowiki>{{var:history}}</nowiki>}} | ||
{{#vardefine:deepnotes|<nowiki>{{var:deepnotes}}</nowiki>}} | {{#vardefine:deepnotes|<nowiki>{{var:deepnotes}}</nowiki>}} | ||
{{#vardefine:header|<nowiki>{{var:header}}</nowiki>}} | |||
}} | }} | ||
<pre> | <pre> | ||
Line 58: | Line 59: | ||
}}<div id="RealTitleBanner" style="display:none;"> | }}<div id="RealTitleBanner" style="display:none;"> | ||
<span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__ {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}||[[Category:LSL Constants{{#var:lang}}|{{#var:name}}]][[Category:LSL {{ucfirst:{{#var:type}}}}{{#var:lang}}|{{#var:name}}]]}} | <span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#var:name}}</span></div> __NOEDITSECTION__ {{DEFAULTSORT:{{#var:sort}}}} {{#if:{{#var:self}}||[[Category:LSL Constants{{#var:lang}}|{{#var:name}}]][[Category:LSL {{ucfirst:{{#var:type}}}}{{#var:lang}}|{{#var:name}}]]}} | ||
</includeonly>{{RightToc|font-size:80%}} | </includeonly>{{#var:header}} | ||
{{RightToc|font-size:80%}} | |||
<div id="box"><h2 style="display:none"> Description </h2><span id="{{anchorencode:Description}}" 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;"> Constant: [[{{#var:type}}{{#var:lang}}|{{#var:type}}]] {{HoverLink|1={{#var:name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:name}}}} = {{#var:value}}; </span> | <div id="box"><h2 style="display:none"> Description </h2><span id="{{anchorencode:Description}}" 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;"> Constant: [[{{#var:type}}{{#var:lang}}|{{#var:type}}]] {{HoverLink|1={{#var:name}}{{#var:lang}}|2={{#var:comment}}|3={{#var:name}}}} = {{#var:value}}; </span> | ||
<div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | <div style="padding: 0.5em">{{#if:{{{float|}}}{{#var:float}}|<div style="float:right;"> | ||
Line 107: | Line 109: | ||
{{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/> | {{#if:{{#var:notes}}|{{#var:notes}}{{#if:{{{notes|}}}|<br/> | ||
{{{notes|}}}}}|{{{notes|}}}}} | {{{notes|}}}}}|{{{notes|}}}}} | ||
</div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{{location|}}}{{#var:location}}{{#var:footnotes}}{{{ | </div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{{location|}}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}|<div id="box"> | ||
== Deep Notes == | == Deep Notes == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"><div> | ||
{{{deepnotes|}}}{{#var:deepnotes}} | {{{deepnotes|}}}{{#var:deepnotes}} | ||
{{#if:{{{history|}}}{{#var:history}}| | </div>{{#if:{{{history|}}}{{#var:history}}| | ||
<h4> History </h4> | <h4> History </h4><div> | ||
{{{history|}}}{{#var:history}} | {{{history|}}}{{#var:history}} | ||
}}{{#if:{{{issues|}}}{{#var:issues}}| | </div>}}{{#if:{{{issues|}}}{{#var:issues}}| | ||
<h4> Issues </h4> | <h4> Issues </h4> | ||
{{{!}} | {{{!}} | ||
Line 120: | Line 122: | ||
{{!}}} | {{!}}} | ||
}}{{#if:{{{location|}}}{{#var:location}}| | }}{{#if:{{{location|}}}{{#var:location}}| | ||
<h4> Source </h4> | <h4> Source </h4><div> | ||
{{{location|}}}{{#var:location}} | {{{location|}}}{{#var:location}} | ||
}}{{#if:{{#var:footnotes}}| | </div>}}{{#if:{{#var:footnotes}}| | ||
<h4 style="margin-bottom:0;"> Footnotes </h4> | <h4 style="margin-bottom:0;"> Footnotes </h4> | ||
{{{{#if:{{#var:footnotes}}|Footnotes|}}|}} | {{{{#if:{{#var:footnotes}}|Footnotes|}}|}} | ||
}} | }} | ||
</div></div>}}{{#if:{{{cat1|}}}|[[Category:LSL {{{cat1|}}}{{#var:lang}}]]}}{{#if:{{{cat2|}}}|[[Category:LSL {{{cat2|}}}{{#var:lang}}]]}}{{#if:{{{cat3|}}}|[[Category:LSL {{{cat3|}}}{{#var:lang}}]]}}{{#if:{{{cat4|}}}|[[Category:LSL {{{cat4|}}}{{#var:lang}}]]}}{{#if:{{{cat5|}}}|[[Category:LSL {{{cat5|}}}{{#var:lang}}]]}}{{#if:{{{cat6|}}}|[[Category:LSL {{{cat6|}}}{{#var:lang}}]]}} | </div></div>}}{{#if:{{{cat1|}}}|[[Category:LSL {{{cat1|}}}{{#var:lang}}]]}}{{#if:{{{cat2|}}}|[[Category:LSL {{{cat2|}}}{{#var:lang}}]]}}{{#if:{{{cat3|}}}|[[Category:LSL {{{cat3|}}}{{#var:lang}}]]}}{{#if:{{{cat4|}}}|[[Category:LSL {{{cat4|}}}{{#var:lang}}]]}}{{#if:{{{cat5|}}}|[[Category:LSL {{{cat5|}}}{{#var:lang}}]]}}{{#if:{{{cat6|}}}|[[Category:LSL {{{cat6|}}}{{#var:lang}}]]}} |
Revision as of 02:00, 13 September 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See Template:LSL Constant/docs for documentation.
{{LSL Constant |name |type |value |desc |examples |events |functions |location |history |comment |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 }}
Example
{{var:header}}
Description
Constant: [[{{var:type}}|{{var:type}}]] [[{{var:name}}|{{var:name}}]] = {{var:value}};{{var:float}}
The {{var:type}} constant {{var:name}} has the value {{var:value}}
{{var:desc}}
{{var:pa}}{{var:pb}}{{var:pc}}{{var:pd}}
Caveats
{{var:caveats}}
Related Articles
Constants
{{var:constants}} |
Functions
{{var:functions}} |
Events
{{var:events}} |
Articles
{{var:articles}}Examples
{{var:examples}}
Notes
{{var:notes}}
Deep Notes
{{var:deepnotes}}
History
{{var:history}}
Issues
{{var:issues}}Source
{{var:location}}
Footnotes
{{var:footnotes}}