Plantilia:In5
| Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
| Agus-usar daytoy a plantilia iti Lua: |
Ti Plantilia:in5 ket mangilennek iti teksto babaen ti 5 a baetan wenno
ti bilang nga inaganan babaen ti
parametro 1 (sakup: 1 aginggana kadagiti 50 a baetan).
Panagusar: {{in5}} <--mangilennek kadagiti 5 a baetan
Panagusar: {{in5|8}} <--mangilennek kadagiti 8 baetan
Panagusar: {{in5|47}} <--mangilennek kadagiti 47 baetan
Dagiti baetan iti ruar dagiti dua a pangrikep ket manginayonto iti maysa a sobra a baetan iti bangirda,
a kas dagiti 12 a baetan nga isengngat babaen ti {{in5|10}}.
Daytoy ket saan a mangisengngat iti baro a linia (tukkol ti linia). Ti mangusar kadagiti serye dagiti linia, inayon ti <br /> iti gibus ti linia sakbay iti (tunggal maysa) {{in5}}. Mabalin pay ti agusar iti maysa a blanko a linia sakbay ti {{in5}}, a mangiyuna iti tukkol ti parapo.
Dagiti pagarigan
[urnosen ti taudan]The following are examples showing larger amounts of spacing:
Pagarigan 1: xx{{in5|10}}yy{{in5|10}}zz agpataud iti: xx yy zz
Pagarigan 2: xx{{in5|10}}yy{{in5|15}}zz agpataud iti: xx yy zz
Pagarigan 3: aa{{in5|20}}bb{{in5|20}}cc agpataud iti: aa bb cc
Pagarigan 4: "32.0{{in5|7}}" agpataud iti: "32.0 "
Example 4 shows the ability to put trailing spaces, such as spaces after a number in a wikitable column (coded as: | 32.0). Typical numbers (with {{in5}} align=right), in a table column, often appear crowded at the right-hand side, so appending {{in5}} can improve readability, in tables with lines between columns.
Pannagiyasping iti panangibaet iti letra
[urnosen ti taudan]To insert spacing between after each character of any text, then <span style="letter-spacing:value unit"> can be used. For example, with <span style="letter-spacing:1.2em">, spanning the text "example" (not including the quotation marks), it would look like: "example". (Note that the spacing applies to the last character; the intended result might actually be to span the characters exampl only: "example".) The spacing value may express any number from 0 on; also fractions like .45 are possible, and the unit may be em or any other standard HTML/CSS measurement unit (pt, px, cm, mm, in).
Unibersal a plantilia
[urnosen ti taudan]This template is intended as a universal template, with the same name on all Wikimedia sites. The name "in5" with the digit "5" is unlikely to conflict with other-language Wikipedias. (Care must be taken not to name a universal template with a name that would be an awkward or peculiar word in the other languages. However, in some cases, a universal template might need a different name in a few conflicting languages.)
Kitaen pay
[urnosen ti taudan]- Modulo:In5, ti modulo ti LUa a mangisayangkat iti daytoy a plantilia.
- {{spaces}}, ti sabali pay a panangibaet a plantilia.
- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar