Template talk:Space

From Wikipedia, the free encyclopedia

Examples:

  • abcdefghij
  • a cdefghij
  • defghij
  • efghij
  •  fghij
abcdefghij
a cdefghij
a defghij
a  efghij
a    fghij

[edit] Genesis June 07, 2006

I ported this over from wikisource as {{indent}}. Seems useful for when a wikitable is contraindicated, yet one wants to line up several short columns of material. Indent can NOT be used in-line because of the leading '
'. This is at genesis the only difference between the two.

Displaying with nowikis:


{{ #switch: {{{1}}} | 0 = | 1 =   | 2 =    | 3 =     | 4 =      | 5 =       | 6 =        | 7 =         | 8 =          | 9 =           | 10 =            | 11 =             | 12 =              | 13 =               | 14 =                | 15 =                 | 16 =                  | 17 =                   | 18 =                    | 19 =                     | 20 =                      | 21 =                       | 22 =                        | 23 =                         | 24 =                          | 25 =                           | 26 =                            | 27 =                             | 28 =                              | 29 =                               | 30 =                                | }}<noinclude>[[Category:Uncategorised templates]]</noinclude>


I suggested over there at wikisource that the category ought to be 'Pretty print' or the like, along the lines of a pretty print program or filter in Computer Science, esp. used in the bad old days for C, C++, etc.

Best regards, FrankB 21:33, 26 May 2006 (UTC)

[edit] Demo/Test

echoed from the commons... where something is broken.
  1. {{space|1}}... x y 1_ z
  2. {{space|2}}... x y 2_ z
  3. {{space|3}}... x y 3_ z
  4. {{space|4}}... x y 4_ z
  5. {{space|5}}... x y 5_ z
  6. {{space|6}}... x y 6_ z
  7. {{space|7}}... x y 7_ z
  8. {{space|8}}... x y 8_ z
  9. {{space|9}}... x y 9_ z
  10. {{space|10}}... x y 10_ z
  11. {{space|11}}... x y 11_ z
  12. {{space|12}}... x y 12_ z

-apparently, something's also now broken here today too above '5'! // FrankB 15:59, 17 August 2006 (UTC)

[edit] Not clear

It is not clear what this is all about. What is the meaning of n spaces in a proportional font? In a non-proportional font, why not just use spaces, like

  99
 100
1234

Patrick 00:13, 18 August 2006 (UTC)