Difference between revisions of "Template:Lex"
From EVE University Wiki
m |
m (Rewrite. Remove the bottom border. Remove the self-linking. Remove the white-space: pre-wrap. Change span with display: inline-block to div.) |
||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div | + | <includeonly> |
+ | <div id="{{{1}}}" style="position: relative; padding: 2px;"> | ||
+ | <div style="position: absolute; width: 135px; color: coral;">{{{1}}}</div> | ||
+ | <div style="position: relative; margin-left: 139px;">{{{2}}}</div><!-- margin-left: = padding: containing div + width: first div + 2px --> | ||
+ | </div></includeonly><noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |
Latest revision as of 14:47, 26 April 2022
Template documentation (for the above template, sometimes hidden or invisible)
- 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