Difference between revisions of "User:Evon R'al/Sandbox template/doc"
From EVE University Wiki
m (Working on template {{Lex}}doc.) |
m (rewrite for removal of the ws= parameter.) |
||
Line 1: | Line 1: | ||
; Description | ; Description | ||
− | : This is a template exclusively used for the [[EVE Lexicon]] page, to tidy up the list of abbreviations and acronyms and make editing the list easy without losing functionality like highlighting words, allowing for links (anchors) etc. | + | : This is a template exclusively used for the [[EVE Lexicon]] page, to tidy up the list of abbreviations and acronyms and make editing the list easy without losing functionality like highlighting words, allowing for links (anchors) etc. It also creates an anchor so that it can be linked. |
; Syntax | ; Syntax | ||
− | : {{T|Lex|word|description | + | : {{T|Lex|word|description}} |
− | :: '''word''' - Abbreviation, acronym or word that needs explanation. | + | :: '''word''' - Abbreviation, acronym or word that needs explanation. Word is also used to create an anchor so that it can be linked to. |
:: '''description''' - The meaning of word (Can contain formatting, links, etc.) | :: '''description''' - The meaning of word (Can contain formatting, links, etc.) | ||
− | |||
; Sample | ; Sample | ||
Line 12: | Line 11: | ||
{{Lex|Word|Description}} | {{Lex|Word|Description}} | ||
− | |||
: {{Code|<nowiki>{{Lex|Word| | : {{Code|<nowiki>{{Lex|Word| | ||
# Item one | # Item one | ||
Line 19: | Line 17: | ||
# Item one | # Item one | ||
# Item two}} | # Item two}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 14:42, 26 April 2022
- Description
- This is a template exclusively used for the EVE Lexicon page, to tidy up the list of abbreviations and acronyms and make editing the list easy without losing functionality like highlighting words, allowing for links (anchors) etc. It also creates an anchor so that it can be linked.
- Syntax
- {{Lex|<word>|<description>}}
- word - Abbreviation, acronym or word that needs explanation. Word is also used to create an anchor so that it can be linked to.
- description - The meaning of word (Can contain formatting, links, etc.)
- Sample
gives...{{Lex|Word|Description}}
Word
Description
gives...{{Lex|Word| # Item one # Item two}}
Word
- Item one
- Item two