Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Plainlist/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
Added who uses plainlist
m Add more information.
Line 1: Line 1:
; Description
; Description
: This template is used as an accessible alternative to {{tag|br|s}} separated lists, which should not be used.  
: This template is used as an accessible alternative to {{tag|br|o}} or {{tag|br|s}} separated lists, which should not be used<ref group=note>Alternatively the class "plainlist" could be applied directly to [[Wikipedia:HTML element#Block elements|block-level elements]].</ref>.  


; Dependencies:
; Dependencies:
:; Uses
:; Uses
:: plainlist class in [[MediaWiki:Common.css|Common.css]]
:: plainlist class in [[MediaWiki:Common.css|Common.css]]
:; Used by
:; Used by
:; Used by
<div style="max-width: max-content; column-width: 18em; column-count: 3; column-gap: 1em;>
<div style="max-width: max-content; column-width: 18em; column-count: 3; column-gap: 1em;>
Line 34: Line 33:


; Syntax
; Syntax
: See '''Sample output'''
: {{T|Plainlist|list|3= class= class}}
:; Parameters
::; list : A wiki-markup list.
::; class : Additional class(es), beside the built in class "plainlist", to apply to <code>list</code>.


; Sample output
; Sample output
Line 51: Line 53:
}}
}}


; Technical details
: {{T|Plainlist}} works by constructing a [[:Wikipedia:div and span|div]] with the [[:Wikipedia:CSS|CSS]] class "plainlist" which has the styles listed in [[MediaWiki:Common.css]].
; Notes
<references group=note />


; See also:
; See also: