Difference between revisions of "LSL Editing Primer/es"
Line 46: | Line 46: | ||
==Tablas Integradas== | ==Tablas Integradas== | ||
Una de las desventajas en MediaWiki es la dificultad integrando tablas como parámetros para las plantillas. Hay varias alternativas para lidiar con esta situación. | |||
# | # Escribe la tabla en HTML usando las etiquetas <nowiki><table> & </table>, <tr> & </tr>, <th> & </th>, <td> & </td></nowiki>. Si escoge esta opción debe cerrar sus etiquetas correctamente (o MediaWiki hara cosas extrañas). | ||
# Use MediaWiki | # Use la sintaxis de MediaWiki para las tablas y sustituya cada acontecimiento (que no se este usando como un separador de plantilla) de '|' con <nowiki>'{{!}}'</nowiki> | ||
# | # Envuelva la tabla con etiquetas <nowiki><div></div></nowiki> (no funciona siempre). | ||
* | *Fijese que puede tener que jugar con el espacion en blanco para lograr que MediaWiki lo muestre correctamente. | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
|+ '''HTML | |+ '''Método HTML''' | ||
! | !Antes | ||
! | !Después | ||
! | !Integrado | ||
|- | |- | ||
|<pre>{|{{Prettytable}} | |<pre>{|{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
|- | |- | ||
| [[PERM_ALL]] | | [[PERM_ALL]] | ||
| {{LSL Hex|0x7FFFFFFF|2147483647}} | | {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
| | | Mover/Modificar/Copiar/Transferir permisos | ||
|- | |- | ||
| [[PERM_COPY]] | | [[PERM_COPY]] | ||
| {{LSL Hex|0x00008000|32768}} | | {{LSL Hex|0x00008000|32768}} | ||
| | | Copiar permiso | ||
|- | |- | ||
| [[PERM_MODIFY]] | | [[PERM_MODIFY]] | ||
| {{LSL Hex|0x00004000|16384}} | | {{LSL Hex|0x00004000|16384}} | ||
| | | Modificar permiso | ||
|- | |- | ||
| [[PERM_MOVE]] | | [[PERM_MOVE]] | ||
| {{LSL Hex|0x00080000|524288}} | | {{LSL Hex|0x00080000|524288}} | ||
| | | Mover permiso | ||
|- | |- | ||
| [[PERM_TRANSFER]] | | [[PERM_TRANSFER]] | ||
| {{LSL Hex|0x00002000|8192}} | | {{LSL Hex|0x00002000|8192}} | ||
| | | Transferir permiso | ||
|} | |} | ||
</pre> | </pre> | ||
|<pre> | |<pre> | ||
<table {{Prettytable}}><tr> | <table {{Prettytable}}><tr> | ||
<th> | <th> Permisos</th> | ||
<th> | <th> Valor</th> | ||
<th> | <th> Descripción</th> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_ALL]]</td> | <td> [[PERM_ALL]]</td> | ||
<td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | <td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | ||
<td> | <td> Mover/Modificar/Copiar/Transferir permisos</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_COPY]]</td> | <td> [[PERM_COPY]]</td> | ||
<td> {{LSL Hex|0x00008000|32768}}</td> | <td> {{LSL Hex|0x00008000|32768}}</td> | ||
<td> | <td> Copiar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MODIFY]]</td> | <td> [[PERM_MODIFY]]</td> | ||
<td> {{LSL Hex|0x00004000|16384}}</td> | <td> {{LSL Hex|0x00004000|16384}}</td> | ||
<td> | <td> Modificar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MOVE]]</td> | <td> [[PERM_MOVE]]</td> | ||
<td> {{LSL Hex|0x00080000|524288}}</td> | <td> {{LSL Hex|0x00080000|524288}}</td> | ||
<td> | <td> Mover permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_TRANSFER]]</td> | <td> [[PERM_TRANSFER]]</td> | ||
<td> {{LSL Hex|0x00002000|8192}}</td> | <td> {{LSL Hex|0x00002000|8192}}</td> | ||
<td> | <td> Transferir permiso</td> | ||
</tr></table> | </tr></table> | ||
</pre> | </pre> | ||
| | | | ||
Tabla dentro de Tabla: | |||
<table {{Prettytable}}><tr> | <table {{Prettytable}}><tr> | ||
<th> | <th> Permisos</th> | ||
<th> | <th> Valor</th> | ||
<th> | <th> Descripción</th> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_ALL]]</td> | <td> [[PERM_ALL]]</td> | ||
<td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | <td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | ||
<td> | <td> Mover/Modificar/Copiar/Transferir permisos</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_COPY]]</td> | <td> [[PERM_COPY]]</td> | ||
<td> {{LSL Hex|0x00008000|32768}}</td> | <td> {{LSL Hex|0x00008000|32768}}</td> | ||
<td> | <td> Copiar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MODIFY]]</td> | <td> [[PERM_MODIFY]]</td> | ||
<td> {{LSL Hex|0x00004000|16384}}</td> | <td> {{LSL Hex|0x00004000|16384}}</td> | ||
<td> | <td> Modificar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MOVE]]</td> | <td> [[PERM_MOVE]]</td> | ||
<td> {{LSL Hex|0x00080000|524288}}</td> | <td> {{LSL Hex|0x00080000|524288}}</td> | ||
<td> | <td> Mover permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_TRANSFER]]</td> | <td> [[PERM_TRANSFER]]</td> | ||
<td> {{LSL Hex|0x00002000|8192}}</td> | <td> {{LSL Hex|0x00002000|8192}}</td> | ||
<td> | <td> Transferir permiso</td> | ||
</tr></table> | </tr></table> | ||
Tabla como parámetro de plantilla: | |||
<div> | <div> | ||
{{Simple|in=<table {{Prettytable}}><tr> | {{Simple|in=<table {{Prettytable}}><tr> | ||
<th> | <th> Permisos</th> | ||
<th> | <th> Valor</th> | ||
<th> | <th> Descripción</th> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_ALL]]</td> | <td> [[PERM_ALL]]</td> | ||
<td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | <td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> | ||
<td> | <td> Mover/Modificar/Copiar/Transferir permisos</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_COPY]]</td> | <td> [[PERM_COPY]]</td> | ||
<td> {{LSL Hex|0x00008000|32768}}</td> | <td> {{LSL Hex|0x00008000|32768}}</td> | ||
<td> | <td> Copiar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MODIFY]]</td> | <td> [[PERM_MODIFY]]</td> | ||
<td> {{LSL Hex|0x00004000|16384}}</td> | <td> {{LSL Hex|0x00004000|16384}}</td> | ||
<td> | <td> Modificar permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_MOVE]]</td> | <td> [[PERM_MOVE]]</td> | ||
<td> {{LSL Hex|0x00080000|524288}}</td> | <td> {{LSL Hex|0x00080000|524288}}</td> | ||
<td> | <td> Mover permiso</td> | ||
</tr><tr> | </tr><tr> | ||
<td> [[PERM_TRANSFER]]</td> | <td> [[PERM_TRANSFER]]</td> | ||
<td> {{LSL Hex|0x00002000|8192}}</td> | <td> {{LSL Hex|0x00002000|8192}}</td> | ||
<td> | <td> Transferir permiso</td> | ||
</tr></table>}}</div> | </tr></table>}}</div> | ||
|} | |} | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
|+'''Pipe Replacement | |+'''[[Link title]]Método de Pipe Replacement''' | ||
! | !Antes | ||
! | !Después | ||
! | !Integrado | ||
|- | |- | ||
|<pre>{|{{Prettytable}} | |<pre>{|{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
|- | |- | ||
| [[PERM_ALL]] | | [[PERM_ALL]] | ||
| {{LSL Hex|0x7FFFFFFF|2147483647}} | | {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
| | | Mover/Modificar/Copiar/Transferir permisos | ||
|- | |- | ||
| [[PERM_COPY]] | | [[PERM_COPY]] | ||
| {{LSL Hex|0x00008000|32768}} | | {{LSL Hex|0x00008000|32768}} | ||
| | | Copiar permiso | ||
|- | |- | ||
| [[PERM_MODIFY]] | | [[PERM_MODIFY]] | ||
| {{LSL Hex|0x00004000|16384}} | | {{LSL Hex|0x00004000|16384}} | ||
| | | Modificar permiso | ||
|- | |- | ||
| [[PERM_MOVE]] | | [[PERM_MOVE]] | ||
| {{LSL Hex|0x00080000|524288}} | | {{LSL Hex|0x00080000|524288}} | ||
| | | Mover permiso | ||
|- | |- | ||
| [[PERM_TRANSFER]] | | [[PERM_TRANSFER]] | ||
| {{LSL Hex|0x00002000|8192}} | | {{LSL Hex|0x00002000|8192}} | ||
| | | Transferir permiso | ||
|} | |} | ||
</pre> | </pre> | ||
|<pre>{{{!}}{{Prettytable}} | |<pre>{{{!}}{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_ALL]] | {{!}} [[PERM_ALL]] | ||
{{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | {{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
{{!}} | {{!}} Mover/Modificar/Copiar/Transferir permisos | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_COPY]] | {{!}} [[PERM_COPY]] | ||
{{!}} {{LSL Hex|0x00008000|32768}} | {{!}} {{LSL Hex|0x00008000|32768}} | ||
{{!}} | {{!}} Copiar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MODIFY]] | {{!}} [[PERM_MODIFY]] | ||
{{!}} {{LSL Hex|0x00004000|16384}} | {{!}} {{LSL Hex|0x00004000|16384}} | ||
{{!}} | {{!}} Modificar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MOVE]] | {{!}} [[PERM_MOVE]] | ||
{{!}} {{LSL Hex|0x00080000|524288}} | {{!}} {{LSL Hex|0x00080000|524288}} | ||
{{!}} | {{!}} Mover permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_TRANSFER]] | {{!}} [[PERM_TRANSFER]] | ||
{{!}} {{LSL Hex|0x00002000|8192}} | {{!}} {{LSL Hex|0x00002000|8192}} | ||
{{!}} | {{!}} Transferir permiso | ||
{{!}}} | {{!}}} | ||
</pre> | </pre> | ||
| | | | ||
Tabla dentro de Tabla: | |||
{{{!}}{{Prettytable}} | {{{!}}{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_ALL]] | {{!}} [[PERM_ALL]] | ||
{{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | {{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
{{!}} | {{!}} Mover/Modificar/Copiar/Transferir permisos | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_COPY]] | {{!}} [[PERM_COPY]] | ||
{{!}} {{LSL Hex|0x00008000|32768}} | {{!}} {{LSL Hex|0x00008000|32768}} | ||
{{!}} | {{!}} Copiar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MODIFY]] | {{!}} [[PERM_MODIFY]] | ||
{{!}} {{LSL Hex|0x00004000|16384}} | {{!}} {{LSL Hex|0x00004000|16384}} | ||
{{!}} | {{!}} Modificar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MOVE]] | {{!}} [[PERM_MOVE]] | ||
{{!}} {{LSL Hex|0x00080000|524288}} | {{!}} {{LSL Hex|0x00080000|524288}} | ||
{{!}} | {{!}} Mover permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_TRANSFER]] | {{!}} [[PERM_TRANSFER]] | ||
{{!}} {{LSL Hex|0x00002000|8192}} | {{!}} {{LSL Hex|0x00002000|8192}} | ||
{{!}} | {{!}} Transferir permiso | ||
{{!}}} | {{!}}} | ||
Tabla como parámetro de plantilla: | |||
<div> | <div> | ||
{{Simple|in={{{!}}{{Prettytable}} | {{Simple|in={{{!}}{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_ALL]] | {{!}} [[PERM_ALL]] | ||
{{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | {{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
{{!}} | {{!}} Mover/Modificar/Copiar/Transferir permisos | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_COPY]] | {{!}} [[PERM_COPY]] | ||
{{!}} {{LSL Hex|0x00008000|32768}} | {{!}} {{LSL Hex|0x00008000|32768}} | ||
{{!}} | {{!}} Copiar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MODIFY]] | {{!}} [[PERM_MODIFY]] | ||
{{!}} {{LSL Hex|0x00004000|16384}} | {{!}} {{LSL Hex|0x00004000|16384}} | ||
{{!}} | {{!}} Modificar permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_MOVE]] | {{!}} [[PERM_MOVE]] | ||
{{!}} {{LSL Hex|0x00080000|524288}} | {{!}} {{LSL Hex|0x00080000|524288}} | ||
{{!}} | {{!}} Mover permiso | ||
{{!}}- | {{!}}- | ||
{{!}} [[PERM_TRANSFER]] | {{!}} [[PERM_TRANSFER]] | ||
{{!}} {{LSL Hex|0x00002000|8192}} | {{!}} {{LSL Hex|0x00002000|8192}} | ||
{{!}} | {{!}} Transferir permiso | ||
{{!}}}}} | {{!}}}}} | ||
</div> | </div> | ||
Line 287: | Line 287: | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
|+'''Div Tag | |+'''Método Div Tag ''' (no funciona siempre) | ||
! | !Antes | ||
! | !Después | ||
! | !Integrado | ||
|- | |- | ||
|<pre>{|{{Prettytable}} | |<pre>{|{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
|- | |- | ||
| [[PERM_ALL]] | | [[PERM_ALL]] | ||
| {{LSL Hex|0x7FFFFFFF|2147483647}} | | {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
| | | Mover/Modificar/Copiar/Transferir permisos | ||
|- | |- | ||
| [[PERM_COPY]] | | [[PERM_COPY]] | ||
| {{LSL Hex|0x00008000|32768}} | | {{LSL Hex|0x00008000|32768}} | ||
| | | Copiar permiso | ||
|- | |- | ||
| [[PERM_MODIFY]] | | [[PERM_MODIFY]] | ||
| {{LSL Hex|0x00004000|16384}} | | {{LSL Hex|0x00004000|16384}} | ||
| | | Modificar permiso | ||
|- | |- | ||
| [[PERM_MOVE]] | | [[PERM_MOVE]] | ||
| {{LSL Hex|0x00080000|524288}} | | {{LSL Hex|0x00080000|524288}} | ||
| | | Mover permiso | ||
|- | |- | ||
| [[PERM_TRANSFER]] | | [[PERM_TRANSFER]] | ||
| {{LSL Hex|0x00002000|8192}} | | {{LSL Hex|0x00002000|8192}} | ||
| | | Transferir permiso | ||
|} | |} | ||
</pre> | </pre> | ||
|<pre><div> | |<pre><div> | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
|- | |- | ||
| [[PERM_ALL]] | | [[PERM_ALL]] | ||
| {{LSL Hex|0x7FFFFFFF|2147483647}} | | {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
| | | Mover/Modificar/Copiar/Transferir permisos | ||
|- | |- | ||
| [[PERM_COPY]] | | [[PERM_COPY]] | ||
| {{LSL Hex|0x00008000|32768}} | | {{LSL Hex|0x00008000|32768}} | ||
| | | Copiar permiso | ||
|- | |- | ||
| [[PERM_MODIFY]] | | [[PERM_MODIFY]] | ||
| {{LSL Hex|0x00004000|16384}} | | {{LSL Hex|0x00004000|16384}} | ||
| | | Modificar permiso | ||
|- | |- | ||
| [[PERM_MOVE]] | | [[PERM_MOVE]] | ||
| {{LSL Hex|0x00080000|524288}} | | {{LSL Hex|0x00080000|524288}} | ||
| | | Mover permiso | ||
|- | |- | ||
| [[PERM_TRANSFER]] | | [[PERM_TRANSFER]] | ||
| {{LSL Hex|0x00002000|8192}} | | {{LSL Hex|0x00002000|8192}} | ||
| | | Transferir permiso | ||
|} | |} | ||
</div> | </div> | ||
</pre> | </pre> | ||
| | | | ||
Tabla dentro de Tabla: | |||
<div> | <div> | ||
{|{{Prettytable}} | {|{{Prettytable}} | ||
! | ! Permisos | ||
! | ! Valor | ||
! | ! Descripción | ||
|- | |- | ||
| [[PERM_ALL]] | | [[PERM_ALL]] | ||
| {{LSL Hex|0x7FFFFFFF|2147483647}} | | {{LSL Hex|0x7FFFFFFF|2147483647}} | ||
| | | Mover/Modificar/Copiar/Transferir permisos | ||
|- | |- | ||
| [[PERM_COPY]] | | [[PERM_COPY]] | ||
| {{LSL Hex|0x00008000|32768}} | | {{LSL Hex|0x00008000|32768}} | ||
| | | Copiar permiso | ||
|- | |- | ||
| [[PERM_MODIFY]] | | [[PERM_MODIFY]] | ||
| {{LSL Hex|0x00004000|16384}} | | {{LSL Hex|0x00004000|16384}} | ||
| | | Modificar permiso | ||
|- | |- | ||
| [[PERM_MOVE]] | | [[PERM_MOVE]] | ||
| {{LSL Hex|0x00080000|524288}} | | {{LSL Hex|0x00080000|524288}} | ||
| | | Mover permiso | ||
|- | |- | ||
| [[PERM_TRANSFER]] | | [[PERM_TRANSFER]] | ||
| {{LSL Hex|0x00002000|8192}} | | {{LSL Hex|0x00002000|8192}} | ||
| | | Transferir permiso | ||
|} | |} | ||
</div> | </div> |
Revision as of 12:42, 5 March 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
En esta sección del Portal LSL del wiki hay varias plantillas en uso para uniformar la apariencia y hacer la edición más fácil.
Plantillas Generales
Hay varias plantillas universales y los nombres de plantillas más usados son cortos para facilidad de uso.
Nombre | Descripción | ejemplo |
---|---|---|
{{LSLC|category|sort}} | Añade una página al grupo Use en vez de [[Category:LSL name|name]] clasificar (sort) es opcional. |
|
{{LSLGC|category|text}} | Une a una Categoría LSL Use en vez de [[:Category:LSL category|text]] si text se omite entonces vuelve al valor predeterminado de category |
{{LSLGC|Math/3D|3D Math Functions}} 3D Math Functions {{LSLGC|Math}} Math |
{{HoverText|word|description}} | Cuando mueve el cursor sobre esta área muestra una casilla que contiene description. | {{HoverText|monkeys|A species of mammal}} monkeys |
{{LSL_Header}} | Usado en páginas que no usan una plantilla que le incluya. Como categorías y esta página. | {{LSL Header}} |
{{LSL_Hex|hex|int}} | Un texto suspdendido (HoverText) para hex que muestra el int con una descripción corta uniforme. Si int se excluye o esta vacia entonces int se calcula de hex. |
{{LSL Hex|0x100|256}} 0x100 {{LSL Hex|0x100}} 0x100 |
{{!}} | Usado en vez de | cuando se integran en los parámetros de la plantilla. | {{!}} | |
{{=}} | Usado en vez de = cuando necesitas un símbolo de igual en el texto que no interfiera con los parámetros de la plantilla. | {{=}} = |
Tablas Integradas
Una de las desventajas en MediaWiki es la dificultad integrando tablas como parámetros para las plantillas. Hay varias alternativas para lidiar con esta situación.
- Escribe la tabla en HTML usando las etiquetas <table> & </table>, <tr> & </tr>, <th> & </th>, <td> & </td>. Si escoge esta opción debe cerrar sus etiquetas correctamente (o MediaWiki hara cosas extrañas).
- Use la sintaxis de MediaWiki para las tablas y sustituya cada acontecimiento (que no se este usando como un separador de plantilla) de '|' con '{{!}}'
- Envuelva la tabla con etiquetas <div></div> (no funciona siempre).
- Fijese que puede tener que jugar con el espacion en blanco para lograr que MediaWiki lo muestre correctamente.
Antes | Después | Integrado | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{|{{Prettytable}} ! Permisos ! Valor ! Descripción |- | [[PERM_ALL]] | {{LSL Hex|0x7FFFFFFF|2147483647}} | Mover/Modificar/Copiar/Transferir permisos |- | [[PERM_COPY]] | {{LSL Hex|0x00008000|32768}} | Copiar permiso |- | [[PERM_MODIFY]] | {{LSL Hex|0x00004000|16384}} | Modificar permiso |- | [[PERM_MOVE]] | {{LSL Hex|0x00080000|524288}} | Mover permiso |- | [[PERM_TRANSFER]] | {{LSL Hex|0x00002000|8192}} | Transferir permiso |} |
<table {{Prettytable}}><tr> <th> Permisos</th> <th> Valor</th> <th> Descripción</th> </tr><tr> <td> [[PERM_ALL]]</td> <td> {{LSL Hex|0x7FFFFFFF|2147483647}}</td> <td> Mover/Modificar/Copiar/Transferir permisos</td> </tr><tr> <td> [[PERM_COPY]]</td> <td> {{LSL Hex|0x00008000|32768}}</td> <td> Copiar permiso</td> </tr><tr> <td> [[PERM_MODIFY]]</td> <td> {{LSL Hex|0x00004000|16384}}</td> <td> Modificar permiso</td> </tr><tr> <td> [[PERM_MOVE]]</td> <td> {{LSL Hex|0x00080000|524288}}</td> <td> Mover permiso</td> </tr><tr> <td> [[PERM_TRANSFER]]</td> <td> {{LSL Hex|0x00002000|8192}}</td> <td> Transferir permiso</td> </tr></table> |
Tabla dentro de Tabla:
Tabla como parámetro de plantilla:
|
Antes | Después | Integrado | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{|{{Prettytable}} ! Permisos ! Valor ! Descripción |- | [[PERM_ALL]] | {{LSL Hex|0x7FFFFFFF|2147483647}} | Mover/Modificar/Copiar/Transferir permisos |- | [[PERM_COPY]] | {{LSL Hex|0x00008000|32768}} | Copiar permiso |- | [[PERM_MODIFY]] | {{LSL Hex|0x00004000|16384}} | Modificar permiso |- | [[PERM_MOVE]] | {{LSL Hex|0x00080000|524288}} | Mover permiso |- | [[PERM_TRANSFER]] | {{LSL Hex|0x00002000|8192}} | Transferir permiso |} |
{{{!}}{{Prettytable}} ! Permisos ! Valor ! Descripción {{!}}- {{!}} [[PERM_ALL]] {{!}} {{LSL Hex|0x7FFFFFFF|2147483647}} {{!}} Mover/Modificar/Copiar/Transferir permisos {{!}}- {{!}} [[PERM_COPY]] {{!}} {{LSL Hex|0x00008000|32768}} {{!}} Copiar permiso {{!}}- {{!}} [[PERM_MODIFY]] {{!}} {{LSL Hex|0x00004000|16384}} {{!}} Modificar permiso {{!}}- {{!}} [[PERM_MOVE]] {{!}} {{LSL Hex|0x00080000|524288}} {{!}} Mover permiso {{!}}- {{!}} [[PERM_TRANSFER]] {{!}} {{LSL Hex|0x00002000|8192}} {{!}} Transferir permiso {{!}}} |
Tabla dentro de Tabla:
Tabla como parámetro de plantilla:
|
Antes | Después | Integrado | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{|{{Prettytable}} ! Permisos ! Valor ! Descripción |- | [[PERM_ALL]] | {{LSL Hex|0x7FFFFFFF|2147483647}} | Mover/Modificar/Copiar/Transferir permisos |- | [[PERM_COPY]] | {{LSL Hex|0x00008000|32768}} | Copiar permiso |- | [[PERM_MODIFY]] | {{LSL Hex|0x00004000|16384}} | Modificar permiso |- | [[PERM_MOVE]] | {{LSL Hex|0x00080000|524288}} | Mover permiso |- | [[PERM_TRANSFER]] | {{LSL Hex|0x00002000|8192}} | Transferir permiso |} |
<div> {|{{Prettytable}} ! Permisos ! Valor ! Descripción |- | [[PERM_ALL]] | {{LSL Hex|0x7FFFFFFF|2147483647}} | Mover/Modificar/Copiar/Transferir permisos |- | [[PERM_COPY]] | {{LSL Hex|0x00008000|32768}} | Copiar permiso |- | [[PERM_MODIFY]] | {{LSL Hex|0x00004000|16384}} | Modificar permiso |- | [[PERM_MOVE]] | {{LSL Hex|0x00080000|524288}} | Mover permiso |- | [[PERM_TRANSFER]] | {{LSL Hex|0x00002000|8192}} | Transferir permiso |} </div> |
Tabla dentro de Tabla:
|
Funciones
Además de las plantillas generales hay solo una plantilla con función específica.
Template:LSL Function
This template provides a structure to write the functions documentation over; it includes several sections.
- Please do not remove information.
- Order of variables does not matter.
- Most variables if not set will cause the applicable section to hide (not all sections hide).
- Unused variables do not need to be included but it is better to not removed unused variables to aid future editors.
- Please head all messages generated by the template.
- If you think a section should be added please add it to LSL Function Style (and they will shortly be added to the template).
Please refer to LSL_Function for a detailed explanation of it's syntax and attributes.
Base | Example: llFrand |
---|---|
{{LSL_Function |func |func_id |func_sleep |sort |func_desc |func_footnote |return_type |return_text |p1_type|p1_name|p1_desc |p2_type|p2_name|p2_desc |p3_type|p3_name|p3_desc |p4_type|p4_name|p4_desc |p5_type|p5_name|p5_desc |p6_type|p6_name|p6_desc |p7_type|p7_name|p7_desc |p8_type|p8_name|p8_desc |p9_type|p9_name|p9_desc |p10_type|p10_name|p10_desc |p11_type|p11_name|p11_desc |p12_type|p12_name|p12_desc |constants |spec |caveats |examples |helpers |also_header |also_functions |also_tests |also_articles |also_events |also_footer |notes |mode |deprecated |permission |negative_index |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 |location }} |
{{LSL_Function |sort=Frand |func=llFrand |func_id=8 |func_sleep=0.0 |func_energy=10.0 |p1_type=float |p1_name=mag |p1_desc=Any valid float value |return_type=float |return_text=that is pseudo random number in the range [0.0,mag) or (mag, 0.0]. |spec=returns a pseudo random number in range [0.0, mag) or (mag, 0.0], depending upon the sign of mag. |caveats=The random number generator is not a source of entropy. |examples=<lsl> default { touch_start(integer total_number) { // When touched, say "Heads" with probability 0.5, // otherwise, say "Tails." if ( llFrand(1.) < .5) llSay(0, "Heads"); else llSay(0, "Tails"); } } </lsl> |helpers |also_header |also_functions |also_tests |also_events |also_articles |also_footer |notes= The random number generator is not a source of entropy. The sequence of random numbers are shared across the entire process, and not independently seeded. Therefore, the pseudo random number generation is not suitable for any application which requires completely predictable or completely unpredictable results. |cat1=Math |cat2 |cat3 |cat4 }} |
Eventos
Ademas de las plantillas generales hay una sola plantilla para eventos específicos.
LSL_Event This template provides a structure to write the event documentation over; it includes several sections. Secciones sin usar típicamente se ocultan.
Consulte LSL_Event para una explicación detallada de su sintaxis y atributos.
Constantes
Solo hay una plantilla con constante específica.
LSL_Constant This template provides a structure to write constant documentation over; it includes several sections. Secciones sin usar típicamente se ocultan. Consulte LSL_Constant para una explicación detallada de su sintaxis y atributos.