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/doc: Difference between revisions

Template page
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=style
  |1type    = content
|2d=Additional CSS styles to be applied to the text
  |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><pre></nowiki> tags but the text does not run off screen; instead, a local scrollbar appears.
|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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.