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. | See [[{{FULLPAGENAME}}/docs]] for documentation. | ||
<!--{{#vardefine:also_header|header}}--> | |||
<!--{{#vardefine:also_events|events}}--> | |||
<!--{{#vardefine:also_tests|tests}}--> | |||
<!--{{#vardefine:also_articles|articles}}--> | |||
<!--{{#vardefine:also_functions|functions}}--> | |||
<!--{{#vardefine:also_footer|footer}}--> | |||
{{{{FULLPAGENAME}}|}} | |||
</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><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}}|| | ||
{{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}} | {{#vardefine:P_Rendered|t}} {{#if:{{#var:self}}|| __NOEDITSECTION__ }} {{#var:header}} | ||
Line 64: | Line 73: | ||
== {{#if:{{#var:T_See_Also}}|{{#var:T_See Also}}|See_Also}} == | == {{#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}} | {{#var:also_header}}<br /> |}}{{ #if: {{#var:also_events}} | | {{ #if: {{#var:also_header}} | {{#var:also_header}}<br /> |}} | ||
{{ #if: {{#var:also_events}} | | |||
=== {{#if:{{#var:T_Also_Events}}|{{#var:T_Also_Events}}|Events}} === | === {{#if:{{#var:T_Also_Events}}|{{#var:T_Also_Events}}|Events}} === | ||
{{#var:also_events}} | {{#var:also_events}} }} | ||
{{ #if: {{#var:also_functions}} | | |||
=== {{#if:{{#var:T_Also_Functions}}|{{#var:T_Also_Functions}}|Functions}} === | === {{#if:{{#var:T_Also_Functions}}|{{#var:T_Also_Functions}}|Functions}} === | ||
{{#var:also_functions}} | {{#var:also_functions}} }} | ||
{{ #if: {{#var:also_tests}} | | |||
=== {{#if:{{#var:T_Also_Tests}}|{{#var:T_Also_Tests}}|Tests}} === | === {{#if:{{#var:T_Also_Tests}}|{{#var:T_Also_Tests}}|Tests}} === | ||
{{#var:also_tests}} | {{#var:also_tests}} }} | ||
{{ #if: {{#var:also_articles}} | | |||
=== {{#if:{{#var:T_Also_Articles}}|{{#var:T_Also_Articles}}|Articles}} === | === {{#if:{{#var:T_Also_Articles}}|{{#var:T_Also_Articles}}|Articles}} === | ||
{{#var:also_articles}} | {{#var:also_articles}} }} | ||
{{#var:also_footer}} | |||
</div></div> | </div></div> | ||
}} | }} |