Difference between revisions of "Template:Flatlist"

From EVE University Wiki
Jump to: navigation, search
m (Category extracted)
m (Had to add <includeonly> {{Flatlist}} used the docs as input and mucked up the docs formatting.)
 
Line 1: Line 1:
<div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
+
<includeonly><div class="hlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}|
 
{{{1}}}
 
{{{1}}}
</div>}}<noinclude>
+
</div>}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:52, 12 April 2022

Template documentation (for the above template, sometimes hidden or invisible)
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...


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
  2. Visit Template:Flatlist/doc to edit this text! (How does this work?) (Refresh this text - why?)