Difference between revisions of "Template:LSL Function"
Jump to navigation
Jump to search
(might work out ok...) |
(PBR solves some of the more vexing problems that BR wasn't solving, areas where we expect text gets PBRs) |
||
Line 16: | Line 16: | ||
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | {{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated{{#var:lang}}|!}}|{{{deprecated|}}}|}} | ||
{{#vardefine:header_desc| | {{#vardefine:header_desc|{{#var:header_desc}}{{PBR}} | ||
{{{func_desc|}}}{{PBR}}}} | |||
{{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}} }} | {{#vardefine:return_text|{{#var:return_text}}{{{return_text|}}} }} | ||
Line 44: | Line 45: | ||
{{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}} | {{#vardefine:p_{{{p12_name|}}}_hover|{{#var:p_{{{p12_name|}}}_hover}}{{{p12_hover|}}}}} | ||
{{#vardefine:header_footnote| | {{#vardefine:PBR|{{#if:{{#var:header_footnote}}{{{func_footnote|}}}{{{func_footer|}}}|{{PBR}}}}}} | ||
{{#var:header_footnote}} | {{#vardefine:header_footnote|{{#var:header_footnote}}{{#var:PBR}} | ||
{{{func_footnote|}}} | {{{func_footnote|}}}{{#var:PBR}} | ||
{{{func_footer|}}} | {{{func_footer|}}}{{#var:PBR}}}} | ||
{{#vardefine:newbie|{{#if:{{#var:newbie}}|{{#var:newbie}}|{{#if:{{{newbie|}}}|{{{newbie|}}}|{{#var:langbase}}/Newbie Notes{{#var:lang}}}}}}}} | {{#vardefine:newbie|{{#if:{{#var:newbie}}|{{#var:newbie}}|{{#if:{{{newbie|}}}|{{{newbie|}}}|{{#var:langbase}}/Newbie Notes{{#var:lang}}}}}}}} | ||
{{#vardefine:spec|{{#var:spec}} | {{#vardefine:PBR|{{#if:{{#var:spec}}{{{spec|}}}|{{PBR}}}}}} | ||
{{#vardefine:spec|{{#var:spec}}{{#var:PBR}} | |||
{{{spec|}}}}} | {{{spec|}}}}} | ||
{{#vardefine:constants_nb|{{#var:constants_nb}} | {{#vardefine:PBR|{{#if:{{#var:constants_nb}}{{{constants|}}}|{{PBR}}}}}} | ||
{{#vardefine:constants_nb|{{#var:constants_nb}}{{#var:PBR}} | |||
{{{constants|}}}}} | {{{constants|}}}}} | ||
Line 61: | Line 64: | ||
{{{caveats|}}}}} | {{{caveats|}}}}} | ||
{{#vardefine:examples|{{#var:examples}}{{{examples|}}}}} | {{#vardefine:PBR|{{#if:{{#var:examples}}{{{examples|}}}|{{PBR}}}}}} | ||
{{#vardefine:examples|{{#var:examples}}{{#var:PBR}} | |||
{{{examples|}}}}} | |||
{{#vardefine:helpers|{{#var:helpers}}{{{helpers|}}}}} | {{#vardefine:PBR|{{#if:{{#var:helpers}}{{{helpers|}}}|{{PBR}}}}}} | ||
{{#vardefine:helpers|{{#var:helpers}}{{#var:PBR}} | |||
{{{helpers|}}}}} | |||
{{#vardefine:PBR|{{#if:{{#var:also_header}}{{{also_header|}}}|{{PBR}}}}}} | |||
{{#vardefine:also_header|{{#var:also_header}}{{#var:PBR}} | |||
{{{also_header|}}}}} | |||
{{#vardefine:also_events|{{#var:also_events}} | {{#vardefine:also_events|{{#var:also_events}} | ||
{{{also_events|}}}}} | {{{also_events|}}}}} | ||
{{#vardefine:also_functions|{{#var:also_functions}} | {{#vardefine:also_functions|{{#var:also_functions}} | ||
{{{also_functions|}}}}} | {{{also_functions|}}}}} | ||
{{#vardefine:also_articles|{{#var:also_articles}} | {{#vardefine:also_articles|{{#var:also_articles}} | ||
{{{also_articles|}}}}} | {{{also_articles|}}}}} | ||
{{#vardefine:also_library|{{#var:also_library}} | {{#vardefine:also_library|{{#var:also_library}} | ||
{{{also_library|}}}}} | {{{also_library|}}}}} | ||
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}} | {{#vardefine:PBR|{{#if:{{#var:also_footer}}{{{also_footer|}}}|{{PBR}}}}}} | ||
{{#vardefine:also_footer|{{#var:also_footer}}{{#var:PBR}} | |||
{{{also_footer|}}}}} | |||
{{#vardefine:PBR|{{#if:{{#var:notes}}{{{notes|}}}|{{PBR}}}}}} | |||
{{#vardefine:notes|{{#var:notes}}{{#var:PBR}} | |||
{{{notes|}}}}} | |||
{{#vardefine:history|{{#var:history}} | {{#vardefine:PBR|{{#if:{{#var:history}}{{{history|}}}|{{PBR}}}}}} | ||
{{#vardefine:history|{{#var:history}}{{#var:PBR}} | |||
{{{history|}}}}} | {{{history|}}}}} | ||
{{#vardefine:deepnotes|{{#var:deepnotes}} | |||
{{#vardefine:PBR|{{#if:{{#var:deepnotes}}{{{deepnotes|}}}|{{PBR}}}}}} | |||
{{#vardefine:deepnotes|{{#var:deepnotes}}{{#var:PBR}} | |||
{{{deepnotes|}}}}} | {{{deepnotes|}}}}} | ||
{{#vardefine:mono|{{#var:mono}} | |||
{{#vardefine:PBR|{{#if:{{#var:mono}}{{{mono|}}}|{{PBR}}}}}} | |||
{{#vardefine:mono|{{#var:mono}}{{#var:PBR}} | |||
{{{mono|}}}}} | {{{mono|}}}}} | ||
{{#vardefine:lso|{{#var:lso}} | |||
{{#vardefine:PBR|{{#if:{{#var:lso}}{{{lso|}}}|{{PBR}}}}}} | |||
{{#vardefine:lso|{{#var:lso}}{{#var:PBR}} | |||
{{{lso|}}}}} | {{{lso|}}}}} | ||
Line 93: | Line 118: | ||
{{{also_tests|}}}}} | {{{also_tests|}}}}} | ||
{{#vardefine:location|{{#var:location}}{{{location|}}}}} | {{#vardefine:PBR|{{#if:{{#var:location}}{{{location|}}}|{{PBR}}}}}} | ||
{{#vardefine:location|{{#var:location}}{{#var:PBR}} | |||
{{{location|}}}}} | |||
}}{{#if:{{#var:self}}|| __NOEDITSECTION__ | }}{{#if:{{#var:self}}|| __NOEDITSECTION__ | ||
Line 140: | Line 167: | ||
}}}}}}}}}}}}}}}}}}}}}} | }}}}}}}}}}}}}}}}}}}}}} | ||
{{!}}} }} | {{!}}} }} | ||
{{#if:{{#var:header_footnote}}|<div style="margin-top:0.5em;"> | {{#if:{{#var:header_footnote}}|<div style="margin-top:0.5em;"></div> | ||
{{#var:header_footnote}} | {{#var:header_footnote}} | ||
}} | |||
</div></div>{{#ifexist:{{#var:newbie}}|<div id="box"> | </div></div>{{#ifexist:{{#var:newbie}}|<div id="box"> | ||
<h2>[[{{#var:newbie}}|Newbie Notes]]</h2> | <h2>[[{{#var:newbie}}|Newbie Notes]]</h2> |
Revision as of 19:25, 17 April 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
See Template:LSL Function/docs for documentation.