Usuario:Ignacio Rodríguez/Taller

De Wikisource, la biblioteca libre.


Reforma a la Portada y Portal de la comunidad[editar]

Introducción
Si esperamos que en algún momento entre más gente a compartir y colaborar en la biblioteca libre (tal como entré yo hace un par de años), el sitio debe estar orientado hacia hacer más fácil la colaboración. Voy a intentar hacer un "estudio" del actual estado de la Portada y Portal de la comunidad, y traer ejemplos de las WS más activas (probablemente inglesa, francesa, italiana y portuguesa)
Plantillas
Página manual de plantillas, es buena idea. La implementación actual deja mucho que desear.

Al editar un texto en Wikisource, las plantillas son texto entre llaves, como {{PLANTILLA}}, que permiten cumplir varias funciones. Se utilizan plantillas para ayudar a simplificar y estandarizar el formato, navegación, y una serie de otras tareas.

Acá sólo se muestran las funciones básicas de las plantillas; si necesitas información más avanzada, debes buscarla en la documentación de cada plantilla.

Plantillas de formato[editar]

Versalita[editar]

{{may}}, {{versalita}}, {{smallcaps}} {{may|Texto en Versalita}} Texto en Versalita

Tamaño del texto[editar]

{{xx-menor}} cambia el tamaño de la fuente: este tamaño.
{{x-menor}} cambia el tamaño de la fuente: este tamaño.
{{menor}} cambia el tamaño de la fuente: este tamaño.
No modificador en el texto hace de: este tamaño.
{{grande}} cambia el tamaño de la fuente: este tamaño.
{{x-grande}} cambia el tamaño de la fuente: este tamaño.
{{xx-grande}} cambia el tamaño de la fuente: este tamaño.
{{xxx-grande}} cambia el tamaño de la fuente: este tamaño.
{{xxxx-grande}} cambia el tamaño de la fuente: este tamaño.
{{xxxxx-grande}} cambia el tamaño de la fuente: este tamaño.
{{xxxxxx-grande}} cambia el tamaño de la fuente: este tamaño.

Márgenes y alineación[editar]

El texto por defecto se alínea a la izquierda.

Para alinear a la derecha, usa {{derecha}}. Para alinear un bloque de texto a la derecha sin afectar la alineación margenro del bloque, usa {{bloque derecha}}.

Para centrar texto, usa {{centrar}} o {{c}}. Para alinear un bloque de texto al centro sin afectar la alineación margenro del bloque, usa {{bloque centro}}.

Plantilla Ejemplo Resultado
Sin plantilla Texto de ejemplo<br>Alineado a la izquierda Texto de ejemplo
Alineado a la izquierda
{{centrar}}, {{c}} {{centrar|Texto<br/>alineado al centro}}
Texto
alineado al centro
{{derecha}} {{derecha|Texto<br/>alineado a la derecha}}
Texto
alineado a la derecha
{{bloque centro}} {{bloque centro|Este bloque de texto<br/>está alineado al centro}}
Este bloque de texto
está alineado al centro
{{bloque derecha}} {{bloque derecha|Este bloque de texto<br/>está alineado a la derecha}}
Este bloque de texto
está alineado a la derecha

Para poner sangría a la primera línea de un párrafo, se puede usar la plantilla {{sangría}}. Se puede usar {{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 {{sangría colgante}} (o {{sc}}). Para sangrar un bloque de texto completo, se puede usar {{margen izq}}. La plantilla {{margen}} combina la funcionalidad de {{margen izq}}, {{sangría}} y {{sangría colgante}}.

Si simplemente quieres agregar una sangría fija en el texto, puedes usar {{brecha}}.

Plantilla Example Result
{{sangría}}, {{no sangría}} {{sangría|2em|

Este párrafo of text has its initial line inmargened. This is not standard practice. Only use where there is a specific reason to do so.

Este párrafo, and any following párrafos, will also have its initial line inmargened.

{{no sangría|Unless you use "no sangría". Este párrafo does not have its initial line inmargened.}}

}}

Este párrafo of text has its initial line inmargened. This is not standard practice. Only use where there is a specific reason to do so.

Este párrafo, and any following párrafos, will also have its initial line inmargened.

Unless you use "no sangría". Este párrafo does not have its initial line inmargened.

{{sangría colgante}}, {{sc}} {{sangría colgante|Este párrafo of text has a sangría colgante, often used on long entries in tables or lists}}
Este párrafo of text has a sangría colgante, often used on long entries in tables or lists
{{margen izq}} {{margen izq|2em|This block of text is inmargened left 2 "ems", to offset it from the main body}} Plantilla:Margen izq
{{margen}} {{margen|4em|-2em|This block of text is formatted with both a margen izq and a sangría colgante}} Plantilla:Margen

Character formatting[editar]

To drop the initial character of a paragraph, use {{gota}}. To replicate a large initial character that does not descend into the paragraph, use {{grandeinicial}}

To replicate a inline straight line (usually indicating missing or redacted text) use {{línea}} as multiple m-dashes sometimes render as a dashed line.

To create a large llave spanning multiple lines of text, use {{llave}} or {{llave2}}. "llave" is limited to use with or in a table, "llave2" may be used anywhere.

Some works, especially older ones, use ligatures, diacritics, and alternate letterforms. Whether or not to transcribe this formatting is left up to the transcriber. These characters may be hard coded, or entered with plantillas. Where it is desirable to replicate the long s (Plantilla:Ls, Plantilla:LS) in older works, plantillas {{long s}} or {{ls}} and {{long S}} or {{lS}} are available. Note these plantillas now require the addition of some lines to your CSS or Javascript pages to display. For the descending f, (Plantilla:F), use {{f}}. Ligatures of various letter combinations can be found in Category:Ligature plantillas. Plantillas to assist in the entering of diacritics can be found in Category:Diacritic plantillas

Plantillas {{'}}, {{(}} and {{)}} allow for the insertion of the special characters ', {, and } where it would otherwise be difficult or impossible due to wikimarkup.

Display of Greek quotes, etc. can be improved with the use of {{polytonic}}.

Plantilla Example Result
{{gota}} {{gota|D}}ropped initials are used quite often in many types of works

D

ropped initials are used quite often in many types of works
{{grandeinicial}} {{grandeinicial|L}}arge initials are less common, but are usually easier to format Large initials are less common, but are usually easier to format.
{{línea}} Use línea {{línea|3}} for multiple m-dashes Use línea

for multiple m-dashes
{{llave}} {| {{llave table parameters}}

|Foo||{{llave|r|t}}||<tt><nowiki>{{llave|r|t}}
|-
|línea||{{llave|r|s}}||<tt><nowiki>{{llave|r|s}}
|-
|Spam||{{llave|r|mt}}||<tt><nowiki>{{llave|r|mt}}
|-
|Eggs||{{llave|r|mb}}||<tt><nowiki>{{llave|r|mb}}
|-
|Bread||{{llave|r|s}}||<tt><nowiki>{{llave|r|s}}
|-
|Text||{{llave|r|m}}||<tt><nowiki>{{llave|r|m}}
|-
|Text||{{llave|r|b}}||<tt><nowiki>{{llave|r|b}}
|-
|Stuff||{{llave|r|ht}}||<tt><nowiki>{{llave|r|ht}}
|-
|Things||{{llave|r|hb}}||<tt><nowiki>{{llave|r|hb}}
|}

Foo Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|t}}
línea Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|s}}
Spam Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|mt}}
Eggs Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|mb}}
Bread Error al representar (SVG (MathML puede ser habilitado mediante un plugin de navegador): respuesta no válida («Math extension cannot connect to Restbase.») del servidor «http://localhost:6011/es.wikisource.org/v1/»:): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|s}}
Text Error al representar (SVG (MathML puede ser habilitado mediante un plugin de navegador): respuesta no válida («Math extension cannot connect to Restbase.») del servidor «http://localhost:6011/es.wikisource.org/v1/»:): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|m}}
Text Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|b}}
Stuff Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|ht}}
Things Error al representar (error de sintaxis): {\displaystyle \left \begin{matrix}\\\end{matrix} \right } {{llave|r|hb}}
{{llave2}} {{llave2|}} {{llave2|2}} {{llave2|4|r}} {{llave2|1|l}} {{llave2|3|l}}
{{long s}}, {{ls}}, {{long S}}, {{lS}}, {{f}} minuscule long s: {{ls}}; capital long S: {{lS}}; descending f: {{f}} minuscule long s: Plantilla:Ls; capital long S: Plantilla:LS; descending f: Plantilla:F
{{'}}, {{(}} and {{)}} apostrophe: {{'}}; open and close brackets: {{(}} {{)}} apostrophe: '; open and close brackets: { };
{{polytonic}} Normal: Οἱ ἄνθρωποι πρὸς τὸ ἀληθὲς πεφύκασιν ἱκανῶς, καὶ τὰ πλείω τυγχάνουσι τῆς ἀληθείας.

Polytonic: {{polytonic|Οἱ ἄνθρωποι πρὸς τὸ ἀληθὲς πεφύκασιν ἱκανῶς, καὶ τὰ πλείω τυγχάνουσι τῆς ἀληθείας.}}

Normal: Οἱ ἄνθρωποι πρὸς τὸ ἀληθὲς πεφύκασιν ἱκανῶς, καὶ τὰ πλείω τυγχάνουσι τῆς ἀληθείας.

Polytonic: Οἱ ἄνθρωποι πρὸς τὸ ἀληθὲς πεφύκασιν ἱκανῶς, καὶ τὰ πλείω τυγχάνουσι τῆς ἀληθείας.

{{oe}} Check out that Ph{{subst:oe}}nician pottery! Check out that Phœnician pottery!
{{ae}} All hail Athen{{subst:ae}}! All hail Athenæ!

Separations[editar]

Use {{línea}} in preference of "----" for the creation of horizontal lines spanning the page. In addition, línea can create horizontal separators of any length. For more fancy lines, {{línea adornada}} is available.

For breaking up discontinuous runs of pages, for example when separating blocks of transluded front and end matter (ex. Title Page, Dedication, Contents) to one page, use {{page break}}

Plantilla Example Result
{{línea}} {{línea}}{{línea}}


{{línea|height=4px}}{{línea}}


{{línea|5em}}








{{línea adornada}} {{línea adornada|sp|100|d|6|sp|10|d|10|sp|10|d|6|sp|100}}

{{línea adornada|c|6|sp|40|do|7|fy1|40|do|7|sp|40|c|6}}

{{separator}} {{separator}} Plantilla:Separator
{{***}} {{Asterismo}}

{{Asterismo|5|3em|char=@}}

{{page break}} {{page break}} página

General formatting[editar]

Text can be colored using the {{greyed}} and {{red}} plantillas. Red text was often used as a highlight in older works, especially on the title page. Greyed text can be used to indicate (important) text that has been written or typed onto the original document. {{RunningHeader}} or {{rh}} creates a left justified, a centered, and a right justified block of text all on the same line, and is most often used in the Page namespace, in the header field to replicate page headers. {{brecha}} is used wherever a brecha of greater than one space is required.

Plantilla Example Result
{{gris}}, {{rojo}}, {{verde}} {{gris|grey text}}, {{rojo|red text}}, {{verde|green text}} grey text, red text, green text
{{RunningHeader}} or {{rh}} {{CP|Left text|Center text|Right text}}
Left text
Right text
Center text
{{brecha}} text with a{{brecha|5em}}brecha! text with a brecha!

Column formatting[editar]

  • {{multicol}}, {{multicol-break}}, {{multicol-section}}, {{multicol-end}}, this plantilla uses a table to create multiple columns of text. You need to place the breaks explicitly, but they will never move.
  • {{div col}}, {{div col end}}, which uses CSS3 properies to create columns dynamically. The reader's browser will choose where best to put the breaks, so the layout cannot be guaranteed not to change. This one is good for lists, as you don't need to worry about placing {{multicol-break}}s.


Navigation Plantillas[editar]

Navigation plantillas are used to help a reader navigate through or between texts.

Plantilla You type You get Notes
{{TOC}} {{TOC}}
Sumario
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Used to provide a compact TOC to an alphabetical listing.
{{AuxTOC}} {{AuxTOC|

* [[/Chapter 1/]]}}

Plantilla:AuxTOC Used when the work does not include an original Table of Contents.
{{TOC begin}},
{{TOC end}} and
all {{TOC row....}}'s

{{TOC begin}}
{{TOC row 1-1-1|...}}
{{TOC end}}

Plantilla:TOC begin

Plantilla:TOC row 2-1 Plantilla:TOC row 1-1-1 Plantilla:TOC row 1-1-1 Plantilla:TOC end

Used to easily format existing TOCs in the original.


Proofreading plantillas[editar]

Proofreading plantillas are used during proofreading to manage the process of transclusion to the main namespace.

Plantilla You type You get
{{Hyphenated word start}} or {{hws}} This page ends with the split word "{{Hyphenated word start|abso|absolutely}} This page ends with the split word "abso-
{{Hyphenated word end}} or {{hwe}} {{Hyphenated word end|lutely|absolutely}}," split between two pages. -lutely," split between two pages.
{{nop}} Used where the end of a page is also end of a paragraph.

NB: The hyphenated word start and hyphenated word end should be paired across two pages in the Page namespace. They will appear correctly as one, unhyphenated word when transcluded to the main namespace.

Image plantillas[editar]

Plantilla You type You get
{{Missing image}} {{Missing image}} Plantilla:Missing image
{{Raw image}} {{raw image|A song of the English (1909).djvu/167}} Plantilla:Raw image

XXX: the above are just image maintenance plantillas; should include actual image plantillas too ...

Article-specific plantillas[editar]

Some plantillas are designed for specific articles in Wikisource. They can be found in Category:Specific article plantillas.

Housekeeping plantillas[editar]

Some plantillas are not designed for "inline" use in a work, but are used to keep track of things that need to be fixed or indicate the applicable licensing. Please see the following pages for these plantillas:

User talk pages[editar]

See Wikisource:User warning plantillas