Difference between revisions of "Template:Flatlist/doc"

From EVE University Wiki
Jump to: navigation, search
m (Explained the use of {{t|Equals}})
m (Update dependencies.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
; Description
 
; Description
: This template is used to create a horizontal list of items separated by <s>middots</s> little circles &#9675;<ref group="note">Still have to find the formal name of these.</ref>.
+
: This template is used to create a horizontal list of items separated by <s>middots</s> little circles &#9675;<ref group="note">Still have to find the formal name of these.<br>Looks to be named "white circle" by the [https://www.compart.com/en/unicode/U+25CB#UNC_DB Unicode docs]</ref>.
 
: Its primary purpose is to format lists inside {{T|Navbox}}.
 
: Its primary purpose is to format lists inside {{T|Navbox}}.
  
Line 7: Line 7:
 
:: hlist class in [[MediaWiki:Common.css|Common.css]]
 
:: hlist class in [[MediaWiki:Common.css|Common.css]]
 
: used by:
 
: used by:
 +
:: {{T|AnomicMissionNav}}
 +
:: {{T|COREClassNav}}
 +
:: {{T|EVE University}}
 +
:: {{T|EVEUniversityNav}}
 +
:: {{T|FactionsNav}}
 
:: {{T|GasNebulaeNav}}
 
:: {{T|GasNebulaeNav}}
 +
:: {{T|GettingStartedNav}}
 +
:: {{T|Incursions sites horizontal}}
 
:: {{T|Limited time events}}
 
:: {{T|Limited time events}}
 +
:: {{T|Mining Links}}
 +
:: {{T|Missionrelated}}
 +
:: {{T|UniWikiNav}}
  
 
; Syntax
 
; Syntax
Line 65: Line 75:
 
** [[EVE University Management]]
 
** [[EVE University Management]]
 
** [[EVE University Rules]]
 
** [[EVE University Rules]]
 +
}}
 +
 +
 +
: {{Code|<nowiki>{{flatlist|1=
 +
* [https://forum.eveuniversity.org/viewforum.php?f=270 EVE University Wiki Forum]
 +
* [[EVE University Management]]
 +
* [[EVE University Rules]]
 +
}}
 +
</nowiki>}} gives...
 +
{{flatlist|1=
 +
* [https://forum.eveuniversity.org/viewforum.php?f=270 EVE University Wiki Forum]
 +
* [[EVE University Management]]
 +
* [[EVE University Rules]]
 
}}
 
}}
  
  
 
; See also:
 
; See also:
:* [[Template:Equals]]
 
 
:* [[Template:Navbox]]
 
:* [[Template:Navbox]]
 
:* [https://en.wikipedia.org/wiki/Template:Flatlist Wikipedia Flatlist]
 
:* [https://en.wikipedia.org/wiki/Template:Flatlist Wikipedia Flatlist]
  
 
; Notes
 
; Notes
: It is a known bug that external hyperlinks that contain the equal sign '=' cannot be parsed by the {{t|Flatlist}} template. Replace the equals sign with {{t|Equals}}.
+
: It is a known Wiki parser limitation that the first equal sign '=' in a parameter will be interpreted as a special character. To avoid such an issue with parameters containing a =, explicitly "name" the parameter i.e.<code><nowiki>{{flatlist|1=</nowiki></code>.
 
: <references group="note" />
 
: <references group="note" />
  
<includeonly>[[Category:Formatting templates|{{PAGENAME}}]]</includeonly>
+
<includeonly>[[Category:Formatting templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 12:49, 8 July 2024

Description
This template is used to create a horizontal list of items separated by middots little circles ○[note 1].
Its primary purpose is to format lists inside {{Navbox}}.
Dependencies
uses:
hlist class in Common.css
used by:
{{AnomicMissionNav}}
{{COREClassNav}}
{{EVE University}}
{{EVEUniversityNav}}
{{FactionsNav}}
{{GasNebulaeNav}}
{{GettingStartedNav}}
{{Incursions sites horizontal}}
{{Limited time events}}
{{Mining Links}}
{{Missionrelated}}
{{UniWikiNav}}
Syntax
See Sample output
Sample output
{{flatlist| * [[EVE University]] * [[EVE University Management]] * [[EVE University Rules]] }}
gives ...


{{flatlist| # [[EVE University]] # [[EVE University Management]] # [[EVE University Rules]] }}
gives...


{{flatlist| * [[EVE University]] * [[EVE University Management]] * [[EVE University Rules]] }}
gives...


{{flatlist| * [[EVE University]] ** [[EVE University Management]] ** [[EVE University Rules]] }}
gives...


{{flatlist|1= * [https://forum.eveuniversity.org/viewforum.php?f=270 EVE University Wiki Forum] * [[EVE University Management]] * [[EVE University Rules]] }}
gives...


See also
Notes
It is a known Wiki parser limitation that the first equal sign '=' in a parameter will be interpreted as a special character. To avoid such an issue with parameters containing a =, explicitly "name" the parameter i.e.{{flatlist|1=.
  1. ^ Still have to find the formal name of these.
    Looks to be named "white circle" by the Unicode docs