Diferencia entre revisiones de «Usuario:Ignacio Rodríguez/Taller»

Contenido eliminado Contenido añadido
Línea 54:
El texto por defecto se alínea a la izquierda.
 
Para alinear a la derecha, usa {{tl|derecha}}. Para alinear un bloque de texto a la derecha sin afectar la alineación dentromargenro del bloque, usa {{tl|bloque derecha}}.
 
Para centrar texto, usa {{tl|centrar}} o {{tl|c}}. Para alinear un bloque de texto al centro sin afectar la alineación dentromargenro del bloque, usa {{tl|bloque centro}}.
 
{| style="border;none; text-align:left; width:100%"
Línea 85:
|}
 
Para poner sangría a la primera línea de un párrafo, se puede usar la plantilla {{tl|sangría}}. Se puede usar {{tl|no sangría}} para «de-sangrar» un párrafo. ''Recuerda que normalmente '''no''' se replica la sangría de todos los párrafos, y solo se usa cuando el texto se «sangra» por un motivo estético particular.''
 
Cuando se desea el efecto inverso, esto es, sangrar cada línea excepto la primera, usa {{tl|sangría colgante}} (o {{tl|sc}}). Para sangrar un bloque de texto completo, se puede usar {{tl|margen izq}}. La plantilla {{tl|margen}} combina la funcionalidad de {{tl|margen izq}}, {{tl|sangría}} y {{tl|sangría colgante}}.
 
Si simplemente quieres agregar una sangría fija en el texto, puedes usar {{tl|brecha}}.
To indent the first line of a paragraph, the template {{tl|text-indent}} is available. Use {{tl|nodent}} to "un-indent" a paragraph within the block. Note replicating indented paragraphs is typically not done in works transcribed here, and paragraphs are separated by a blank line.
 
To indent every line of a paragraph except the first, use {{tl|hanging indent}} (or {{tl|hi}}) or {{tl|outdent}}. To indent a block of text left, the template {{tl|left margin}} is available. Template {{tl|dent}} combines the functionality of {{tl|left margin}}, {{tl|text-indent}} and {{tl|hi}}
 
To insert a fixed gap in text, use {{tl|gap}}
 
{| style="border;none; text-align:left; width:100%"
Línea 99 ⟶ 97:
|width=400px|'''Result'''
|-
|{{tl|text-indentsangría}}, {{tl|nodentno sangría}}
|<tt><nowiki>{{text-indentsangría|2em|</nowiki>
 
ThisEste paragraphpárrafo of text has its initial line indentedinmargened. This is not standard practice. Only use where there is a specific reason to do so.
 
ThisEste paragraphpárrafo, and any following paragraphspárrafos, will also have its initial line indentedinmargened.
 
<nowiki>{{nodentno sangría|Unless you use "nodentno sangría". ThisEste paragraphpárrafo does not have its initial line indentedinmargened.}}</nowiki>
 
<nowiki>}}</nowiki></tt>
|{{text-indentsangría|2em|ThisEste paragraphpárrafo of text has its initial line indentedinmargened. This is not standard practice. Only use where there is a specific reason to do so.
 
ThisEste paragraphpárrafo, and any following paragraphspárrafos, will also have its initial line indentedinmargened.
 
{{nodentno sangría|Unless you use "nodentno sangría". ThisEste paragraphpárrafo does not have its initial line indentedinmargened.}}
}}
|-
|{{tl|hangingsangría indentcolgante}}, {{tl|hi}}, {{tl|outdentsc}}
|<tt><nowiki>{{outdentsangría colgante|ThisEste paragraphpárrafo of text has a hangingsangría indentcolgante, often used on long entries in tables or lists}}</nowiki></tt>
|{{outdentsangría colgante|ThisEste paragraphpárrafo of text has a hangingsangría indentcolgante, often used on long entries in tables or lists}}
|-
|{{tl|leftmargen marginizq}}
|<tt><nowiki>{{leftmargen marginizq|2em|This block of text is indentedinmargened left 2 "ems", to offset it from the main body}}</nowiki></tt>
|{{leftmargen marginizq|2em|This block of text is indentedinmargened left 2 "ems", to offset it from the main body}}
|-
|{{tl|dentmargen}}
|<tt><nowiki>{{dentmargen|4em|-2em|This block of text is formatted with both a leftmargen marginizq and a hangingsangría indentcolgante}}</nowiki></tt>
|{{dentmargen|4em|-2em|This block of text is formatted with both a leftmargen marginizq and a hangingsangría indentcolgante}}
|}