Difference between revisions of "Template:LSL Header"

From Second Life Wiki
Jump to navigation Jump to search
(more clever, faster)
m
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}}</noinclude><includeonly>{{#if:{{{ml|}}}|{{multi-lang|category=LSL}}}}</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; margin: 0 1px;">
<tr valign="top">
<tr valign="top">
Line 6: Line 6:
<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">{{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>
</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>

Revision as of 11:32, 23 April 2010

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.