Difference between revisions of "Template:White-space"

From PC-BSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{#switch: {{{1|}}}
 
{{#switch: {{{1|}}}
| override = white-space: pre; border:none; background: none; <!-- used for situations that 'pre' is needed for formatting -->
+
| override = white-space: pre; border:none; background: none;   <!-- used for situations that 'pre' is needed for formatting -->
 
| normal  = white-space: normal;      <!-- multiple white space collapses, text wraps at box border.                        -->
 
| normal  = white-space: normal;      <!-- multiple white space collapses, text wraps at box border.                        -->
 +
| pre-wrap                              <!-- explicitly defined name.                                  - fall through to next -->
 
| wrap    = white-space: pre-wrap;    <!-- whitespace preserved, text wraps at box border and line breaks.                  -->
 
| wrap    = white-space: pre-wrap;    <!-- whitespace preserved, text wraps at box border and line breaks.                  -->
 +
| nowrap                                <!-- explicitly defined name.                                  - fall through to next -->
 
| wiki    = white-space: nowrap;      <!-- This is the brain damaged method the magic (prefix w/space) wiki text boxes use. -->
 
| wiki    = white-space: nowrap;      <!-- This is the brain damaged method the magic (prefix w/space) wiki text boxes use. -->
 +
| pre-line                              <!-- explicitly defined name.                                  - fall through to next -->
 
| collapse = white-space: pre-line;    <!-- multiple white space collapses, text wraps at box border and line breaks.        -->
 
| collapse = white-space: pre-line;    <!-- multiple white space collapses, text wraps at box border and line breaks.        -->
 
| code                                  <!-- easier to remember effect name.                          - fall through to next -->
 
| code                                  <!-- easier to remember effect name.                          - fall through to next -->

Revision as of 00:59, 19 February 2013

white-space: pre;