Difference between revisions of "Template:Lex"
From EVE University Wiki
Artoria2e5 (talk | contribs) |
(Make words in lexicon links to their anchors for easier copy/pasting) |
||
Line 1: | Line 1: | ||
− | <includeonly><div style="position:relative; width: 100%; padding:2px; border-bottom:1px dotted #222222;"><span id="{{{1}}}" style="position:absolute; display: inline-block; width: 135px; color:coral;">{{{1}}}</span><span style="display: inline-block; margin-left: 135px; {{{ws|white-space:pre-wrap;}}}">{{{2}}}</span></div></includeonly><noinclude>[[category:template]]{{documentation}}</noinclude> | + | <includeonly><div style="position:relative; width: 100%; padding:2px; border-bottom:1px dotted #222222;"><span id="{{{1}}}" style="position:absolute; display: inline-block; width: 135px;">[[#{{{1}}}|<span style="color: coral; text-decoration-color: coral;">{{{1}}}</span>]]</span><span style="display: inline-block; margin-left: 135px; {{{ws|white-space:pre-wrap;}}}">{{{2}}}</span></div></includeonly><noinclude>[[category:template]]{{documentation}}</noinclude> |
Revision as of 23:55, 11 September 2020
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}}
WordDescription
gives...{{Lex|Word| # Item one # Item two}}
Word
- Item one
- Item two