Difference between revisions of "Template:Plainlist/doc"
From EVE University Wiki
(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 | ||
<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 | ||
− | : | + | : {{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: |
Revision as of 10:27, 5 August 2023
- Description
- This template is used as an accessible alternative to
<br>
or<br />
separated lists, which should not be used[note 1].
- Dependencies
-
- Uses
- plainlist class in Common.css
- Used by
{{Corplinks}}
{{Exploration links}}
{{Incursions links}}
{{Incursions sites}}
{{Industry Links}}
{{Legality}}
{{MissionLinks}}
{{Navigation Links}}
{{PlanetaryIndustryNav}}
{{ShipTypes}}
{{Skillplan Navbar}}
{{Skills Links}}
{{Structures}}
{{Triglavian links}}
{{Weapon Systems Links}}
{{Wormhole Links}}
{{AmarrEpicArcNav}}
{{AngelEpicArcNav}}
{{CaldariEpicArcNav}}
{{GallenteEpicArcNav}}
{{GuristasEpicArcNav}}
{{MinmatarEpicArcNav}}
- Syntax
- {{Plainlist|<list>|<class= class>}}
- Parameters
-
- list
- A wiki-markup list.
- class
- Additional class(es), beside the built in class "plainlist", to apply to
list
.
- Sample output
gives ...{{plainlist| * [[Cormorant]] * [[Stratios]] * [[Astero]] * [[Paladin]] }}
- Technical details
- {{Plainlist}} works by constructing a div with the CSS class "plainlist" which has the styles listed in MediaWiki:Common.css.
- Notes
- ^ Alternatively the class "plainlist" could be applied directly to block-level elements.