Difference between revisions of "Template:Flatlist/doc"
From EVE University Wiki
(Shown off how the template works) |
(Remove forum link because of phase out of the forum.) |
||
(12 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 ○<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}}. | ||
− | ; | + | ; Dependencies: |
− | : | + | : uses: |
− | : | + | :: hlist class in [[MediaWiki:Common.css|Common.css]] |
− | + | : used by: | |
− | : | + | :: {{T|AnomicMissionNav}} |
− | ;Syntax | + | :: {{T|COREClassNav}} |
− | :See '''Sample output''' | + | :: {{T|EVE University}} |
− | ;Sample output | + | :: {{T|EVEUniversityNav}} |
− | + | :: {{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> | + | </nowiki>}} gives ... |
− | |||
{{flatlist| | {{flatlist| | ||
* [[EVE University]] | * [[EVE University]] | ||
Line 22: | Line 36: | ||
}} | }} | ||
− | + | ||
− | {{flatlist| | + | : {{Code|<nowiki>{{flatlist| |
# [[EVE University]] | # [[EVE University]] | ||
# [[EVE University Management]] | # [[EVE University Management]] | ||
# [[EVE University Rules]] | # [[EVE University Rules]] | ||
}} | }} | ||
− | </nowiki> | + | </nowiki>}} gives... |
− | |||
{{flatlist| | {{flatlist| | ||
# [[EVE University]] | # [[EVE University]] | ||
Line 36: | Line 49: | ||
}} | }} | ||
− | + | ||
− | {{flatlist| | + | : {{Code|<nowiki>{{flatlist| |
* [[EVE University]] | * [[EVE University]] | ||
Line 43: | Line 56: | ||
* [[EVE University Rules]] | * [[EVE University Rules]] | ||
}} | }} | ||
− | </nowiki> | + | </nowiki>}} gives... |
− | |||
{{flatlist| | {{flatlist| | ||
* [[EVE University]] | * [[EVE University]] | ||
Line 52: | Line 64: | ||
}} | }} | ||
− | + | ||
− | {{flatlist| | + | : {{Code|<nowiki>{{flatlist| |
* [[EVE University]] | * [[EVE University]] | ||
** [[EVE University Management]] | ** [[EVE University Management]] | ||
** [[EVE University Rules]] | ** [[EVE University Rules]] | ||
}} | }} | ||
− | </nowiki> | + | </nowiki>}} 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 | + | <includeonly>[[Category:Formatting templates]]</includeonly> |
− | <noinclude>[[Category:Template documentation | + | <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
middotslittle 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
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| * [[EVE University]] ** [[EVE University Management]] ** [[EVE University Rules]] }}
- 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=
.
Looks to be named "white circle" by the Unicode docs