Difference between revisions of "Template:LSL Generic"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
__NOTOC__ <noinclude> | __NOTOC__ <noinclude> | ||
See [[{{FULLPAGENAME}}/docs]] for documentation. | |||
{{ | </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:{{lcfirst:{{#var:name}}}}|0|1}}|{{#sub:{{#var:name}}|0|1}}|0|1}}|{{lowercase}}}} {{#if:{{#var:P_Rendered}}|| | ||
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} <!-- {{lowercase|{{PAGENAME}}}} --> | |||
{{{!}} width="100%" | |||
{{!}}- | |||
{{!}} 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}} | |||
{{#if:{{#var:header_floater}}|<div style="clear:right;" ></div>}} | |||
}} | |||
</noinclude><includeonly> {{# | |||
{ | |||
== {{ | |||
<div style="padding: 0.5em">{{#if:{{ | |||
{{ | |||
{{#if:{{ | |||
</div></div> | </div></div> | ||
{{!}}- | |||
{{!}}{{ #if: {{#var:spec}} | | |||
<div id="box"> | <div id="box"> | ||
== Specification == | == {{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Specification}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ | {{#var:spec}} | ||
</div> | </div></div> | ||
</div> | }} | ||
{{!}}- | |||
{{!}}{{ #if: {{#var:constants_nb}} | {{#var:constants_nb}}| }}{{ #if: {{#var:constants}} | | |||
<div id="box"> | <div id="box"> | ||
== Constants == | == {{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constants}} == | ||
{{ | {{#var:constants}} | ||
</div> | </div> | ||
}} | |||
{{!}}- | |||
{{!}}<div id="box"> | |||
== Caveats == | == {{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Caveats}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{# | {{#var:caveats}} | ||
</div></div> | |||
{{!}}- | |||
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:examples}} | | |||
<div id="box"> | <div id="box"> | ||
== Examples == | == {{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Examples}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ #if: {{ | {{ #if: {{#var:examples}} | {{#var:examples}} | }} | ||
</div> | </div> | ||
</div> | </div> | ||
}} | |||
{{!}}- | |||
{{!}}{{ #if: {{#var:helpers}} | | |||
<div id="box"> | <div id="box"> | ||
== Useful Snippets == | == {{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Useful Snippets}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ | {{#var:helpers}} | ||
</div> | </div> | ||
</div> | </div> | ||
}} | |||
{{!}}- | |||
{{!}}{{ #if: {{#if:{{#var:deprecated}}||t}}{{#var:notes}} | | |||
<div id="box"> | <div id="box"> | ||
== Notes == | == {{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ #if: {{ | {{ #if: {{#var:notes}} | {{#var:notes}} }} | ||
</div> | </div> | ||
</div> | </div> | ||
}} | |||
{{!}}- | |||
{{!}}{{ #if: {{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}| | |||
<div id="box"> | <div id="box"> | ||
== See Also == | == {{#if:{{#var:T_See Also}}|{{#var:T_See Also}}|See Also}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ #if: {{ | {{ #if: {{#var:also_header}} | {{#var:also_header}}<br /> |}}{{ #if: {{#var:also_events}} | | ||
<ul><li> Events </li></ul> | <ul><li> Events </li></ul> | ||
<dl><dd> | <dl><dd> | ||
{{ | {{#var:also_events}}</dl> | }}{{ #if: {{#var:also_functions}} | | ||
<ul><li> Functions </li></ul> | <ul><li> Functions </li></ul> | ||
<dl><dd> | <dl><dd> | ||
{{ | {{#var:also_functions}}</dl> | }}{{ #if: {{#var:also_tests}} | | ||
<ul><li> Tests </li></ul> | <ul><li> Tests </li></ul> | ||
<dl><dd> | <dl><dd> | ||
{{# | {{#var:also_tests}}</dl> | }}{{ #if: {{#var:also_articles}} | | ||
<ul><li> Articles </li></ul> | <ul><li> Articles </li></ul> | ||
<dl><dd> | <dl><dd> | ||
{{ | {{#var:also_articles}}</dl> | }} {{#var:also_footer}} | ||
</div> | </div></div> | ||
</div> | }} | ||
{{!}}- | |||
{{!}}{{#if:{{#var:location}}| | |||
<div id="box"> | <div id="box"> | ||
== Source Location == | == {{#if:{{#var:T_Source_Location}}|{{#var:T_Source_Location}}|Source Location}} == | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{ | {{#var:location}} | ||
</div> | </div></div> | ||
</div> | |||
}} | }} | ||
{{!}}} | |||
{{ | {{#var:footer}} }}</includeonly> |
Revision as of 12:33, 20 February 2007
See Template:LSL Generic/docs for documentation.