Difference between revisions of "Template:LSL Header"

From Second Life Wiki
Jump to navigation Jump to search
(more clever, faster)
 
(16 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{multi-lang|category=LSL}}[[Category:Templates with confusing documentations]]</noinclude><includeonly>{{#if:{{{ml|}}}|{{{{#if:{{{ml|}}}|multi-lang|!}}|category=LSL}}}}</includeonly> <div id="LSLHeader" style="margin: 1em 0;">
<noinclude>{{multi-lang|category=LSL}}{{Ram}}</noinclude>{{#ifeq: {{{infobox|no}}} | no | <includeonly>{{#if:{{{ml|}}}|{{multi-lang|category=LSL|noVersion=*}}}}</includeonly> <div id="LSLHeader" style="margin: 1em 0;">
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; margin: 0 1px;">
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0;">
<tr valign="top">
<tr valign="top">
<td align="center" style="padding: 0 0.5em; border-right: 1px solid #aaaaaa;">[[LSL Portal|LSL Portal]]
<td align="center" style="padding: 0 0.5em; border-right: 1px solid #aaaaaa;">[[LSL Portal|LSL Portal]]
</td>
</td>
<td style="padding: 0 0.5em;">
<td style="padding: 0 0.5em;">
<span style="white-space: nowrap">{{LSLGC|Functions}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Events}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Types}} &#124;</span> <span style="white-space: nowrap">[[LSL Operators|Operators]] &#124;</span> <span style="white-space: nowrap">{{LSLGC|Constants}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Flow Control}} &#124;</span> <span style="white-space: nowrap">[[LSL Library|Script Library]] &#124;</span> <span style="white-space: nowrap">{{LSLGC|Tutorials}}{{#if:{{{1|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{1|1}}}}} {{#if:{{{2|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{2|2}}}}} {{#if:{{{3|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{3|3}}}}} {{#if:{{{4|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{4|4}}}}} {{#if:{{{5|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{5|5}}}}} {{#if:{{{6|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{6|6}}}}} {{#if:{{{7|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{7|7}}}}} {{#if:{{{8|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{8|8}}}}} {{#if:{{{9|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{9|9}}}}} </span></td></tr></table>
}}<span style="white-space: nowrap">{{LSLGC|Functions}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Events}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Types}} &#124;</span> <span style="white-space: nowrap">[[LSL Operators|Operators]] &#124;</span> <span style="white-space: nowrap">{{LSLGC|Constants}} &#124;</span> <span style="white-space: nowrap">{{LSLGC|Flow Control}} &#124;</span> <span style="white-space: nowrap">[[LSL Library|Script Library]] &#124;</span> <span style="white-space: nowrap">[[:Category:LSL Categorized Library|Categorized Library]] &#124;</span> <span style="white-space: nowrap">{{LSLGC|Tutorials}}{{#if:{{{1|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{1|1}}}}} {{#if:{{{2|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{2|2}}}}} {{#if:{{{3|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{3|3}}}}} {{#if:{{{4|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{4|4}}}}} {{#if:{{{5|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{5|5}}}}} {{#if:{{{6|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{6|6}}}}} {{#if:{{{7|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{7|7}}}}} {{#if:{{{8|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{8|8}}}}} {{#if:{{{9|}}}|&#32;&#124;</span> <span style="white-space: nowrap"> {{{9|9}}}}} </span>{{#ifeq: {{{infobox|no}}} | no | </td></tr></table>
</div>
</div>}}<noinclude>
How to use this template:
* <nowiki>{{LSL Header}}</nowiki> - simple header
* <nowiki>{{LSL Header|ml=*}}</nowiki> - same as before but sets up multi-lang with the subsection of LSL.
* <nowiki>{{LSL Header|ml=*|[[Link]]}}</nowiki> - same as before but with an additional link to [[Link]]
* <nowiki>{{LSL Header|[[Link]]}}</nowiki> - Same as the first but with an additional link to [[Link]]
* <nowiki>{{LSL Header|[[Link]]|[[Link]]}}</nowiki> - Same as before but with an additional link to [[Link]]
You can supply 9 additional links.
</noinclude>

Latest revision as of 02:34, 19 April 2016

exclamation mark

Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum.
Please discuss proposed changes on the talk page first.
Editing a template causes all pages that use the template to be re-rendered. If the Template is used often, this can put a lot of load on the servers since it fills up the job queue. [statistics]

How to use this template:

  • {{LSL Header}} - simple header
  • {{LSL Header|ml=*}} - same as before but sets up multi-lang with the subsection of LSL.
  • {{LSL Header|ml=*|[[Link]]}} - same as before but with an additional link to Link
  • {{LSL Header|[[Link]]}} - Same as the first but with an additional link to Link
  • {{LSL Header|[[Link]]|[[Link]]}} - Same as before but with an additional link to Link

You can supply 9 additional links.