Difference between revisions of "Template:Plainlist/doc"

From EVE University Wiki
Jump to: navigation, search
(Added who uses plainlist)
m (Update dependencies.)
 
(2 intermediate revisions by the same user not shown)
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.
 +
 
 +
: Alternatively the class "plainlist" could be applied directly to [[Wikipedia:HTML element#Block elements|block-level elements]].
  
 
; 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 20: Line 21:
 
:: {{Tl|Skillplan Navbar}}
 
:: {{Tl|Skillplan Navbar}}
 
:: {{Tl|Skills Links}}
 
:: {{Tl|Skills Links}}
 +
:: {{Tl|Sovereigntynavbar}}
 
:: {{Tl|Structures}}
 
:: {{Tl|Structures}}
 
:: {{Tl|Triglavian links}}
 
:: {{Tl|Triglavian links}}
Line 34: Line 36:
  
 
; 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 56:
 
}}
 
}}
  
 +
; 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]].
  
 
; See also:
 
; See also:
 
:* [[Template:Sidebar]]
 
:* [[Template:Sidebar]]
:* [https://www.mediawiki.org/wiki/Template:Plainlist Mediawiki Plainlist]
+
:* [[:Mediawikiwiki:Template:Plainlist|Mediawiki Plainlist]]
:* [https://en.wikipedia.org/wiki/Template:Plainlist Wikipedia Plainlist]
+
:* [[:Wikipedia:Template:Plainlist|Wikipedia Plainlist]]
  
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 13:38, 19 May 2024

Description
This template is used as an accessible alternative to <br> or <br /> separated lists, which should not be used.
Alternatively the class "plainlist" could be applied directly to block-level elements.
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}}
{{Sovereigntynavbar}}
{{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
{{plainlist| * [[Cormorant]] * [[Stratios]] * [[Astero]] * [[Paladin]] }}
gives ...
Technical details
{{Plainlist}} works by constructing a div with the CSS class "plainlist" which has the styles listed in MediaWiki:Common.css.
See also