Template:Pre/doc: Difference between revisions
Template page
More actions
rm font-family as example; totally valid as being possible, but shouldn't be encouraged. |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=1 | |1 = 1 | ||
|1d=Text contents to intended to be displayed | |1label-en= text | ||
|1def= | |1d-en = Text contents to intended to be displayed | ||
|1stat=required | |1aliases = <!-- List of aliases, separated by / (a slash) --> | ||
|2= | |1type = content | ||
|2d=Additional CSS | |1def = <!-- default value for the parameter --> | ||
|2def= | |1stat = required | ||
|2stat=optional | |||
|2 = class | |||
|2label-en= CSS classes | |||
|2d-en = Additional CSS classes to be applied to the text | |||
|2aliases = | |||
|2type = line | |||
|2def = | |||
|2stat = optional- | |||
|3 = style | |||
|3label-en= CSS styles | |||
|3d-en = Additional CSS styles to be applied to the text | |||
|3aliases = | |||
|3type = line | |||
|3def = | |||
|3stat = optional- | |||
|name=Pre | |name=Pre | ||
|desc=This template acts similar to <nowiki> | |desc=This template acts similar to <pr<nowiki />e> tags but the text does not run off screen; instead, a local scrollbar appears. | ||
|namespace=all | |namespace=all | ||
|usergroup=all | |usergroup=all | ||
| Line 16: | Line 32: | ||
|type=formatting | |type=formatting | ||
|example= | |example= | ||
|i18n-method= | |i18n-method=- | ||
|i18n-desc= | |i18n-desc= | ||
|seealso= | |seealso= | ||
| Line 23: | Line 39: | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
|useTemplateData=only | |||
}} | }} | ||
==Examples== | ==Examples== | ||
| Line 50: | Line 67: | ||
<includeonly> | <includeonly> | ||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
[[Category:Typing-aid templates]] | |||
</includeonly> | </includeonly> | ||