Comunidad > Como usar este foro - Guía del jugador
Como crear tablas
(1/1)
kesulin:
En el anterior foro no funcionaba muy bien, espero que en este funcione correctamente y podamos usarlo.
Para crear una tabla pulsamos el bot´n correspondiente
[ You are not allowed to view attachments ]
Nos crea una estructura como esta:
--- Código: ---[table]
[tr]
[td][/td]
[/tr]
[/table]
--- Fin del código ---
-> indica donde empieza la tabla
-> Indica el comienzo de una fila. Es obligatorio que dentro contenga una columna.
-> Columna dentro de una fila. Siempre debe estar dentro de una fila.
De esta manera, podemos hacer tablas con tantas filas o columnas como queramos, añadiendo (filas) o correspondientes.
Ojo, hay que cerrar la etiqueta y no equivocarse. Por cada etiqueta abierta debe haber una que la cierra.
Un ejemplo:
--- Código: ---[table]
[tr]
[td]SMF[/td]
[td]Bulletin[/td]
[/tr]
[tr]
[td]Board[/td]
[td]Code[/td]
[/tr]
[/table]
--- Fin del código ---
Resultado:
SMFBulletinBoardCode
admin:
Instalado Mod para mejorar las tablas:
https://custom.simplemachines.org/mods/index.php?mod=2505
--- Citar ---DESCRIPTION
Adds the possibility to use CSS styles, CSS classes and attributes like HTML in BBC tags.
New optional attributes of style:
style, whose value, quoted, are style rules inline.
class, whose value, quoted, are class names of style.
These attributes are added to the following BBC tags:
Horizontal rule (hr).
Image (img).
List (li, list).
Table (table, td, tr).
--- Código: ---[tag class="class_of_style" style="rules"]text[/tag]
--- Fin del código ---
New optional attributes in BBC tags:
img:
rotateangle, rotatebgcolor. Rotate an image with a given angle in degree and using a background color for the uncovered zone after the rotation. The background color is an hexadecimal with 3 or 6 digits (#rgb or #rrggbb), a RGB color (r,g,b) or a color name of these:
aqua = #00ffff = #0ff = 0,255,255
black = #000000 = #000 = 0,0,0
blue = #0000ff = #00f = 0,0,255
fuchsia = #ff00ff = #f0f = 255,0,255
gray = #808080 = 128,128,128
green = #008000 = 0,128,0
lime = #00ff00 = #0f0 = 0,255,0
maroon = #800000 = 128,0,0
navy = #000080 = 0,0,128
olive = #808000 = 128,128,0
orange = #ffa500 = 255,165,0
purple = #800080 = 128,0,128
red = #ff0000 = #f00 = 255,0,0
silver = #c0c0c0 = 192,192,192
teal = #008080 = 0,128,128
white = #ffffff = #fff = 255,255,255
yellow = #ffff00 = #ff0 = 255,255,0
If the color does not exist in the image and can not be added, is used the closest color. Default value is 0 (rotateangle) and black (rotatebgcolor). Values without quotes.
flip. Flip an image in a direction. Permitted values are: horizontal, vertical. Value without quotes.
table: border. Width (in pixels) of the border around a table. Value without quotes.
td: colspan, rowspan. Span columns and rows in a table cell. Value without quotes.
--- Código: ---[img rotateangle=degree rotatebgcolor=color flip=direction]image[/img]
[table border=number]table content[/table]
[td colspan=number rowspan=number]table cell[/td]
--- Fin del código ---
New BBC tags:
Paragraph style (div): Adds class or style inline to one or more paragraph.
Character style (span): Adds class or style inline to text within a paragraph.
--- Código: ---[div class="class_of_style" style="rules"]paragraph with style[/div]
[span class="class_of_style" style="rules"]text with style[/span]
--- Fin del código ---
For these new BBC tags are added buttons in the editing box.
EXAMPLE
[ You are not allowed to view attachments ]
--- Fin de la cita ---
kesulin:
SMFBulletinBoardCode
SMFBulletinBoardCode
Navegación
Ir a la versión completa