Difference between revisions of "Template:LSL Header"

From Second Life Wiki
Jump to navigation Jump to search
(adding a parramter for the infobox)
(Undo revision 883842 by Master Starship (Talk))
Line 5: Line 5:
</td>
</td>
<td style="padding: 0 0.5em;">
<td style="padding: 0 0.5em;">
{{#ifeq: {{{infobox}}} | yes | <onlyinclude> }}
<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>{{#ifeq: {{{infobox}}} | yes | </onlyinclude> }}</td></tr></table>
</div><noinclude>
</div><noinclude>
How to use this template:
How to use this template:
Line 15: Line 14:
* <nowiki>{{LSL Header|[[Link]]|[[Link]]}}</nowiki> - Same as before 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.
You can supply 9 additional links.
* <nowiki>{{LSL Header|infobox=yes}}</nowiki> - so the info box will be uptodate
</noinclude>
</noinclude>

Revision as of 08:51, 28 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.