Difference between revisions of "Template:Flatlist/doc"

From EVE University Wiki
Jump to: navigation, search
m (Replaced Equals Template with a more elegant solution. Thanks User:Evon R'al)
m (Make the notes text about a = in a parameter more general.)
Line 86: Line 86:
  
 
; Notes
 
; Notes
: It is a known Wiki parser limitation that the first equal sign '=' will be interpreted as a special character. To avoid such an issue with linking external hyperlinks, use the <code><nowiki>{{flatlist|1=</nowiki></code> syntax.
+
: 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>

Revision as of 07:36, 21 April 2022

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:
{{GasNebulaeNav}}
{{Limited time events}}
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.