Difference between revisions of "Template:Flatlist/doc"

From EVE University Wiki
Jump to: navigation, search
m
(Remove forum link because of phase out of the forum.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
; 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.<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}}.
  
;Description
+
; Dependencies:
:This template is used to create a horizontal list of items separated by middots.
+
: uses:
:Its primary purpose is to format lists inside [[Template:Navbox]].
+
:: hlist class in [[MediaWiki:Common.css|Common.css]]
;Dependencies:
+
: used by:
:* hlist code in [[MediaWiki:Common.css|Common.css]]
+
:: {{T|AnomicMissionNav}}
;Syntax
+
:: {{T|COREClassNav}}
:See '''Sample output'''
+
:: {{T|EVE University}}
;Sample output
+
:: {{T|EVEUniversityNav}}
<pre><nowiki>
+
:: {{T|FactionsNav}}
{{flatlist|
+
:: {{T|GasNebulaeNav}}
 +
:: {{T|GettingStartedNav}}
 +
:: {{T|Incursions sites horizontal}}
 +
:: {{T|Limited time events}}
 +
:: {{T|Mining Links}}
 +
:: {{T|Missionrelated}}
 +
:: {{T|UniWikiNav}}
 +
 
 +
; Syntax
 +
: See '''Sample output'''
 +
 
 +
; Sample output
 +
: {{Code|<nowiki>{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
 
* [[EVE University Management]]
 
* [[EVE University Management]]
 
* [[EVE University Rules]]
 
* [[EVE University Rules]]
 
}}
 
}}
</nowiki></pre>
+
</nowiki>}} gives ...
::gives...
 
 
{{flatlist|
 
{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
Line 22: Line 36:
 
}}
 
}}
  
<pre><nowiki>
+
 
{{flatlist|
+
: {{Code|<nowiki>{{flatlist|
 
# [[EVE University]]
 
# [[EVE University]]
 
# [[EVE University Management]]
 
# [[EVE University Management]]
 
# [[EVE University Rules]]
 
# [[EVE University Rules]]
 
}}
 
}}
</nowiki></pre>
+
</nowiki>}} gives...
::gives...
 
 
{{flatlist|
 
{{flatlist|
 
# [[EVE University]]
 
# [[EVE University]]
Line 36: Line 49:
 
}}
 
}}
  
<pre><nowiki>
+
 
{{flatlist|
+
: {{Code|<nowiki>{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
  
Line 43: Line 56:
 
* [[EVE University Rules]]
 
* [[EVE University Rules]]
 
}}
 
}}
</nowiki></pre>
+
</nowiki>}} gives...
::gives...
 
 
{{flatlist|
 
{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
Line 52: Line 64:
 
}}
 
}}
  
<pre><nowiki>
+
 
{{flatlist|
+
: {{Code|<nowiki>{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
 
** [[EVE University Management]]
 
** [[EVE University Management]]
 
** [[EVE University Rules]]
 
** [[EVE University Rules]]
 
}}
 
}}
</nowiki></pre>
+
</nowiki>}} gives...
::gives...
 
 
{{flatlist|
 
{{flatlist|
 
* [[EVE University]]
 
* [[EVE University]]
Line 65: Line 76:
 
** [[EVE University Rules]]
 
** [[EVE University Rules]]
 
}}
 
}}
;See also:
+
 
 +
 
 +
; See also:
 
:* [[Template:Navbox]]
 
:* [[Template:Navbox]]
 +
:* [https://en.wikipedia.org/wiki/Template:Flatlist Wikipedia Flatlist]
 +
 +
; 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.<code><nowiki>{{flatlist|1=</nowiki></code>.
 +
: <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:11, 4 November 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...


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