- Filtered HTML:
- Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
Etiquetas HTML permitidas: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Este sitio admite contenido HTML. Aprender todo el HTML es una tarea ardua e intimidante, pero aprender unas cuantas «etiquetas» HTML básicas es muy sencillo. Esta tabla proporciona ejemplos para cada etiqueta que está activa en el sitio.
Para más información, puede ver las especificaciones HTML de W3C o usar su motor de búsqueda favorito para buscar otros sitios que traten sobre HTML.
Descripción de la etiqueta Teclea Obtiene Las anclas se usan para hacer enlaces a otras páginas. <a href="http://sluc.org.ar">SLUC - Software Libre UTN Córdoba</a>SLUC - Software Libre UTN Córdoba Enfatizado <em>Enfatizado</em>Enfatizado Fuerte <strong>Fuerte</strong>Fuerte Citado <cite>Citado</cite>Citado Texto codificado que se usa para mostrar código fuente de programación <code>Codificado</code>CodificadoLista desordenada: use <li> para comenzar cada elemento de la lista <ul> <li>Primer elemento</li> <li>Segundo elemento</li> </ul>- Primer elemento
- Segundo elemento
Lista ordenada: utilice <li> para comenzar cada elemento de la lista <ol> <li>Primer elemento</li> <li>Segundo elemento</li> </ol>- Primer elemento
- Segundo elemento
Las listas de definiciones son similares a otras listas HTML. <dl> da comienzo a la lista de definiciones, <dt> da comienzo a cada término definido y <dd> da comienzo a la descripción de la definición. <dl> <dt>Primer término</dt> <dd>Primera definición</dd> <dt>Segundo término</dt> <dd>Segunda definición</dd> </dl>- Primer término
- Primera definición
- Segundo término
- Segunda definición
Los caracteres menos habituales se pueden introducir directamente sin mayor complicación.
Si tiene problemas, intente usar entidades de caracteres HTML. Un ejemplo de esto es &, que se usa para conseguir el carácter &. Tiene una lista completa de las entidades HTML en la página de entidades. Entre los caracteres disponibles están:
Descripción del carácter Teclea Obtiene Ampersand && Mayor que >> Menor que << Comillas "" - Las líneas y los párrafos se reconocen automáticamente. Las etiquetas <br /> para el salto de línea y <p> y </p> para abrir y cerrar el párrafo se insertan automáticamente. Si los párrafos no se reconocen, simplemente añada unas cuantas líneas vacías.
Syntax highlighting of source code can be enabled with the following tags:
- Generic syntax highlighting tags: "
<code>", "<blockcode>". - Language specific syntax highlighting tags: "
<ada>" for Ada source code, "<bash>" for Bash source code, "<c>" for C source code, "<cpp>" for C++ source code, "<css>" for CSS source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<ruby>" for Ruby source code, "<vhdl>" for VHDL source code, "<z80>" for ZiLOG Z80 Assembler source code.
Options and tips:
- The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "
ada" (for Ada), "bash" (for Bash), "c" (for C), "cpp" (for C++), "css" (for CSS), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby), "vhdl" (for VHDL), "z80" (for ZiLOG Z80 Assembler). - The supported tag styles are:
<foo>,[foo]. - Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
- If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.
- A title can be added to a code block with the attribute "title".
Defaults:
- Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
- Default line numbering: no line numbers.
Examples:
You type You get <code>foo = "bar";</code>Inline code with the default syntax highlighting mode. <code>
foo = "bar";
baz = "foz";
</code>Code block with the default syntax highlighting mode. <code lang="c" linenumbers="normal">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C source code
and normal line numbers.<code language="c" start="23" fancy="7">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C source code,
line numbers starting from 23
and highlighted line numbers every 7th line.<ada>
foo = "bar";
baz = "foz";
</ada>Code block with syntax highlighting for Ada source code. <ada start="23" fancy="7">
foo = "bar";
baz = "foz";
<ada>Code block with syntax highlighting for Ada source code,
line numbers starting from 23
and highlighted line numbers every 7th line.- Generic syntax highlighting tags: "
- Wiki:
Syntax highlighting of source code can be enabled with the following tags:
- Generic syntax highlighting tags: "
<code>", "<blockcode>". - Language specific syntax highlighting tags: "
<ada>" for Ada source code, "<bash>" for Bash source code, "<c>" for C source code, "<cpp>" for C++ source code, "<css>" for CSS source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<ruby>" for Ruby source code, "<vhdl>" for VHDL source code, "<z80>" for ZiLOG Z80 Assembler source code.
Options and tips:
- The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "
ada" (for Ada), "bash" (for Bash), "c" (for C), "cpp" (for C++), "css" (for CSS), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby), "vhdl" (for VHDL), "z80" (for ZiLOG Z80 Assembler). - The supported tag styles are:
<foo>,[foo]. - Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
- If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.
- A title can be added to a code block with the attribute "title".
Defaults:
- Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
- Default line numbering: no line numbers.
Examples:
You type You get <code>foo = "bar";</code>Inline code with the default syntax highlighting mode. <code>
foo = "bar";
baz = "foz";
</code>Code block with the default syntax highlighting mode. <code lang="ruby" linenumbers="normal">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for Ruby source code
and normal line numbers.<code language="ruby" start="23" fancy="7">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for Ruby source code,
line numbers starting from 23
and highlighted line numbers every 7th line.<ada>
foo = "bar";
baz = "foz";
</ada>Code block with syntax highlighting for Ada source code. <ada start="23" fancy="7">
foo = "bar";
baz = "foz";
<ada>Code block with syntax highlighting for Ada source code,
line numbers starting from 23
and highlighted line numbers every 7th line.- Generic syntax highlighting tags: "
You can use Mediawiki syntax. It is possible that not all formatting options are supported at the moment.
You can link to internal content by using the title of a node. Use [[Node Title]] to link to the node with the corrseponding name. An alternate title can be specified like this: [[Node Title|Link title]]
External links are detected automatically. So just type http://example.com for the link. If you want a different title, use the following syntax: [http://example.com some link title].
You can use interwiki links. Type [[site:Page Title]] to link to a page on a different site. You can use the following interwiki links:
- path: Local drupal path - mapped to /%s
- gdo: groups.drupal.org - mapped to http://groups.drupal.org/freelinking/%s
- wp: Wikipedia - mapped to http://en.wikipedia.org/wiki/%s
Images are included with [[Image:filename]]. You can link to uploaded image nodes with [[Image:node title]].
Special image formatting can be done via [[Image:name|alignment|size|caption]] where any of additional information is optional. alignment is one of left, center or right. Size is in the format 80px or 80x70px. The caption is arbitrary text. See the wikipedia help for the full syntax, but be aware that frames and description text is not supported.- Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
- Content in [[double square brackets]] will be linked to existing content with that title, or a page to create that content. Links can contain an optional bar, "|". Content on the left of the bar is the target; to the right, the link shown. Links to pages outside this site are allowed. They must start with one of the following: "http", "https", "ftp", or "mailto", and can exist either by themselves, or on the left of the bar. Examples:
- [[simple link]] - will go to the content titled "simple link" or a page to create that content.
- [[this is the target|this is the source]] - will present "this is the source" as a link to "this is the target", or a page to create that content.
- [[http://www.example.com|this is the source]] - will present "this is the source" as a link to http://www.example.com.
- [[http://www.example.com]] - will present "http://www.example.com" as a link to http://www.example.com.
- Las líneas y los párrafos se reconocen automáticamente. Las etiquetas <br /> para el salto de línea y <p> y </p> para abrir y cerrar el párrafo se insertan automáticamente. Si los párrafos no se reconocen, simplemente añada unas cuantas líneas vacías.
Gallery2 Filter:
You can link to items in your embedded Gallery2 using a special code. This code will be replaced by a thumbnail image that is linked to the actual item in your Gallery.
Syntax:
[G2: item_id n= number type= type size= number class= name frame= name album_frame= name item_frame= name ]- item_id (required): This is the item ID from Gallery2. If you look at the URL of the item, this is the last number. Note that if the item_id is a single photo, n must be 1.
- n (suggested): This is the number of photos you want the block to show. It will override whatever is set in the defaults (initially 1). Note: this will change past instances where you did not set n -- the reason for its suggested use.
- type: The default type of gallery block. Any of the following may be used: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem. Note that for n=1, selectedItem is automatically chosen regardless of this parameter.
- class: The block that Gallery2 returns is wrapped in a DIV so additional styling can be done. The classes for this DIV are located in g2_filter.css. Included with the module are "left", "right", and "nowrap". These position the image block to the left or right or on a line all its own with the text not wrapping. You can also add your own class(es) to the CSS file and they will automatically be available.
- size: The length of the longest side for the thumbnail. The other side is determined automatically to keep the same aspect ratio. This option (for Gallery2.2 and above) will use the gallery image that is closest in size, and so may end up using a smaller image and expanding it (lower quality). If so, use "exactsize". For Gallery2.1, if you want your size to be bigger thanthe thumbnail size for that image as defined in your Gallery2, you must select "Full Size" inthe gallery settings page (but note that the full image will be returned and then resized by the browser, so it may take a while to download).
- exactsize: The length of the longest side for the thumbnail. The other side is determined automatically to keep the same aspect ratio. This option always ensures that the image is scaled from a larger image and so image quality is maintained. This only works for Gallery2.2 and above.
- frame/album_frame/item_frame: You can use just "frame" to assign a frame to the thumbnail regardless of whether it\'s for an album or a single item. Using aframe will only affect albums and iframe will only affect single items. Frames included with the default Gallery 2 install are: bamboo, book, brand , dots, flicking, gold, gold2, polaroid, polaroids, shadow, shells, slide, solid, notebook, wood.
- Every instance of "[toc ...]" in the input text will be replaced with a collapsible mediawiki-style table of contents. Accepts options for title, list style, minimum heading level, and maximum heading level, and attachments as follows: [toc list: ol; title: Table of Contents; minlevel: 2; maxlevel: 3; attachments: yes;]. All arguments are optional.
- You may embed videos from the following providers youtube. Just add the video URL to your textarea in the place where you would like the video to appear, i.e. http://www.youtube.com/watch?v=pw0jmvdh.
Syntax highlighting of source code can be enabled with the following tags:
- Generic syntax highlighting tags: "
<code>", "<blockcode>". - Language specific syntax highlighting tags: "
<ada>" for Ada source code, "<bash>" for Bash source code, "<c>" for C source code, "<cpp>" for C++ source code, "<css>" for CSS source code, "<drupal5>" for Drupal 5 source code, "<drupal6>" for Drupal 6 source code, "<java>" for Java source code, "<javascript>" for Javascript source code, "<php>" for PHP source code, "<python>" for Python source code, "<ruby>" for Ruby source code, "<vhdl>" for VHDL source code, "<z80>" for ZiLOG Z80 Assembler source code.
Options and tips:
- The language for the generic syntax highlighting tags can be specified with one of the attribute(s): type, lang, language, class. The possible values are: "
ada" (for Ada), "bash" (for Bash), "c" (for C), "cpp" (for C++), "css" (for CSS), "drupal5" (for Drupal 5), "drupal6" (for Drupal 6), "java" (for Java), "javascript" (for Javascript), "php" (for PHP), "python" (for Python), "ruby" (for Ruby), "vhdl" (for VHDL), "z80" (for ZiLOG Z80 Assembler). - The supported tag styles are:
<foo>,[foo]. - Line numbering can be enabled/disabled with the attribute "linenumbers". Possible values are: "off" for no line numbers, "normal" for normal line numbers and "fancy" for fancy line numbers (every nth line number highlighted). The start line number can be specified with the attribute "start", which implicitly enables normal line numbering. For fancy line numbering the interval for the highlighted line numbers can be specified with the attribute "fancy", which implicitly enables fancy line numbering.
- If the source code between the tags contains a newline (e.g. immediatly after the opening tag), the highlighted source code will be displayed as a code block. Otherwise it will be displayed inline.
- A title can be added to a code block with the attribute "title".
Defaults:
- Default highlighting mode for generic syntax highlighting tags: when no language attribute is specified, no syntax highlighting will be done.
- Default line numbering: no line numbers.
Examples:
You type You get <code>foo = "bar";</code>Inline code with the default syntax highlighting mode. <code>
foo = "bar";
baz = "foz";
</code>Code block with the default syntax highlighting mode. <code lang="cpp" linenumbers="normal">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C++ source code
and normal line numbers.<code language="cpp" start="23" fancy="7">
foo = "bar";
baz = "foz";
</code>Code block with syntax highlighting for C++ source code,
line numbers starting from 23
and highlighted line numbers every 7th line.<ada>
foo = "bar";
baz = "foz";
</ada>Code block with syntax highlighting for Ada source code. <ada start="23" fancy="7">
foo = "bar";
baz = "foz";
<ada>Code block with syntax highlighting for Ada source code,
line numbers starting from 23
and highlighted line numbers every 7th line.- Generic syntax highlighting tags: "
- Every instance of "[toc ...]" in the input text will be replaced with a collapsible mediawiki-style table of contents. Accepts options for title, list style, minimum heading level, and maximum heading level, and attachments as follows: [toc list: ol; title: Table of Contents; minlevel: 2; maxlevel: 3; attachments: yes;]. All arguments are optional.
- This is an example format which provides a wikimedia-style input format.
- Las líneas y los párrafos se reconocen automáticamente. Las etiquetas <br /> para el salto de línea y <p> y </p> para abrir y cerrar el párrafo se insertan automáticamente. Si los párrafos no se reconocen, simplemente añada unas cuantas líneas vacías.
- Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
- Content in [[double square brackets]] will be linked to existing content with that title, or a page to create that content. Links can contain an optional bar, "|". Content on the left of the bar is the target; to the right, the link shown. Links to pages outside this site are allowed. They must start with one of the following: "http", "https", "ftp", or "mailto", and can exist either by themselves, or on the left of the bar. Examples:
- [[simple link]] - will go to the content titled "simple link" or a page to create that content.
- [[this is the target|this is the source]] - will present "this is the source" as a link to "this is the target", or a page to create that content.
- [[http://www.example.com|this is the source]] - will present "this is the source" as a link to http://www.example.com.
- [[http://www.example.com]] - will present "http://www.example.com" as a link to http://www.example.com.
Gallery2 Filter:
You can link to items in your embedded Gallery2 using a special code. This code will be replaced by a thumbnail image that is linked to the actual item in your Gallery.
Syntax: [G2: item_id n= number type= type size= number class= name frame= name album_frame= name item_frame= name ]
- item_id (required): This is the item ID from Gallery2. If you look at the URL of the item, this is the last number. Note that if the item_id is a single photo, n must be 1.
- n (suggested): This is the number of photos you want the block to show. It will override whatever is set in the defaults (initially 1). Note: this will change past instances where you did not set n -- the reason for its suggested use.
- type: The default type of gallery block. Any of the following may be used: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem. Note that for n=1, selectedItem is automatically chosen regardless of this parameter.
- class: The block that Gallery2 returns is wrapped in a DIV so additional styling can be done. The classes for this DIV are located in g2_filter.css. Included with the module are "left", "right", and "nowrap". These position the image block to the left or right or on a line all its own with the text not wrapping. You can also add your own class(es) to the CSS file and they will automatically be available.
- size: The length of the longest side for the thumbnail. The other side is determined automatically to keep the same aspect ratio. This option (for Gallery2.2 and above) will use the gallery image that is closest in size, and so may end up using a smaller image and expanding it (lower quality). If so, use "exactsize". For Gallery2.1, if you want your size to be bigger thanthe thumbnail size for that image as defined in your Gallery2, you must select "Full Size" inthe gallery settings page (but note that the full image will be returned and then resized by the browser, so it may take a while to download).
- exactsize: The length of the longest side for the thumbnail. The other side is determined automatically to keep the same aspect ratio. This option always ensures that the image is scaled from a larger image and so image quality is maintained. This only works for Gallery2.2 and above.
- frame/album_frame/item_frame: You can use just "frame" to assign a frame to the thumbnail regardless of whether it\'s for an album or a single item. Using aframe will only affect albums and iframe will only affect single items. Frames included with the default Gallery 2 install are: bamboo, book, brand , dots, flicking, gold, gold2, polaroid, polaroids, shadow, shells, slide, solid, notebook, wood.
