Difference between revisions of "Template:Plainlist/doc"
From EVE University Wiki
(Wrote Plainlist docs) |
m (Update dependencies.) |
||
(3 intermediate revisions by 2 users 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: | ||
Line 6: | Line 8: | ||
:: 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;> |
+ | :: {{Tl|Corplinks}} | ||
+ | :: {{Tl|Exploration links}} | ||
+ | :: {{Tl|Incursions links}} | ||
+ | :: {{Tl|Incursions sites}} | ||
+ | :: {{Tl|Industry Links}} | ||
+ | :: {{Tl|Legality}} | ||
+ | :: {{Tl|MissionLinks}} | ||
+ | :: {{Tl|Navigation Links}} | ||
+ | :: {{Tl|PlanetaryIndustryNav}} | ||
+ | :: {{Tl|ShipTypes}} | ||
+ | :: {{Tl|Skillplan Navbar}} | ||
+ | :: {{Tl|Skills Links}} | ||
+ | :: {{Tl|Sovereigntynavbar}} | ||
+ | :: {{Tl|Structures}} | ||
+ | :: {{Tl|Triglavian links}} | ||
+ | :: {{Tl|Weapon Systems Links}} | ||
+ | :: {{Tl|Wormhole Links}} | ||
+ | |||
+ | :: {{Tl|AmarrEpicArcNav}} | ||
+ | :: {{Tl|AngelEpicArcNav}} | ||
+ | :: {{Tl|CaldariEpicArcNav}} | ||
+ | :: {{Tl|GallenteEpicArcNav}} | ||
+ | :: {{Tl|GuristasEpicArcNav}} | ||
+ | :: {{Tl|MinmatarEpicArcNav}} | ||
+ | </div> | ||
; 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 26: | 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]] | ||
− | :* [ | + | :* [[:Mediawikiwiki:Template:Plainlist|Mediawiki 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
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.