Template:Pre: Difference between revisions
Template page
More actions
now pre |
Add attribute for T353697 |
||
| (27 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<pre<includeonly></includeonly> style="overflow: auto; | <pre<includeonly></includeonly> format="wikitext" {{#if:{{{class|}}}|class="{{{class|}}}"}} style="overflow:auto;word-wrap:{{#switch:{{lc:{{{wrap|}}}}} | ||
|initial|unset|inherit|revert|normal|break-word|anywhere={{lc:{{{wrap|}}}}} | |||
|#default=break-word | |||
---- | }};overflow-wrap:{{#switch:{{lc:{{{wrap|}}}}} | ||
|initial|unset|inherit|revert | |||
|normal|break-word|anywhere={{lc:{{{wrap|}}}}} | |||
|#default=break-word | |||
</noinclude> | }};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> | |||