Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Pre: Difference between revisions

Template page
mNo edit summary
m wrap=controls where to wrap lines (on word boundaries, between any char except CJK, between anychar); break=controls where to break words; hyphens=controls break opportunities within words
Line 1: Line 1:
<pre<includeonly></includeonly> {{#if:{{{class|}}}|class="{{{class|}}}"}} style="overflow:auto;{{{style|}}}">{{{1}}}</pre><noinclude>
<pre<includeonly></includeonly> {{#if:{{{class|}}}|class="{{{class|}}}"}} style="overflow:auto;word-wrap:{{#switch:{{lc:{{{wrap|}}}}}
 
|initial|unset|inherit|revert|normal|break-word|anywhere={{lc:{{{wrap|}}}}}
{{Documentation}}
|#default=break-word
 
}};overflow-wrap:{{#switch:{{lc:{{{wrap|}}}}}
</noinclude>
|initial|unset|inherit|revert
|normal|break-word|anywhere={{lc:{{{wrap|}}}}}
|#default=break-word
}};word-break:{{#switch:{{lc:{{{break|}}}}}
|initial|unset|inherit|revert
|keep-all|normal|break-word|break-all={{lc:{{{break|}}}}}
|#default={{#switch:{{lc:{{{wrap|}}}}}<!--choose default for word-breaks (keep-all|normal|break-word|break-all) depending on wrap-->
  |initial|unset|inherit|revert={{lc:{{{wrap|}}}}}
  |normal=keep-all
  |break-word=break-word<!--legacy for word-break:-->
  |anywhere=break-all
  |#default=normal
  }}
}};hyphens:{{#switch:{{lc:{{{hyphens|}}}}}
|inherit|initial|revert|unset|none|manual|auto={{lc:{{{hyphens|}}}}}
|#default={{#switch:{{lc:{{{wrap|}}}}}<!--choose default for inserting hyphens (none|manual|auto) depending on wrap-->
  |initial|unset|inherit|revert={{lc:{{{wrap|}}}}}
  |normal|break-word|anywhere|#default=auto
  }}
}};{{{style|}}}">{{{1}}}</pre><noinclude>{{Documentation}}</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.