Template talk:R
Jump to navigation
Jump to search
Can anyone explain to me why there is an extra newline after this template's contents? Can anyone remove it, please?? --Larry Sanger 13:24, 6 May 2008 (CDT)
To answer my own question, it's caused by the fact that we place newlines between each use of the template, like this:
{{r|Biology}} {{r|Microbiology}} {{r|Cell Biology}}
That outputs:
- Biology [r]: The science of life — of complex, self-organizing, information-processing systems living in the past, present or future. [e]
- Microbiology [r]: The study of microorganisms (overlapping with areas of virology, bacteriology, mycology, and parasitology). [e]
- Cell Biology [r]: The study of the components of cells and their interactions. [e]
But the r template itself adds an asterisk, which adds its own newline (before the asterisk). That's two newlines. To eliminate extra newlines, you could do this:
{{r|Biology}}{{r|Microbiology}}{{r|Cell Biology}}
which outputs:
- Biology [r]: The science of life — of complex, self-organizing, information-processing systems living in the past, present or future. [e]
- Microbiology [r]: The study of microorganisms (overlapping with areas of virology, bacteriology, mycology, and parasitology). [e]
- Cell Biology [r]: The study of the components of cells and their interactions. [e]
--Larry Sanger 13:55, 6 May 2008 (CDT)