Difference between revisions of "Template:Lex"

From EVE University Wiki
Jump to: navigation, search
m
m (Added dashed subtle lines between entries.)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| valign="top" nowrap | <span id="{{{1}}}" style="color:coral; padding-right:8px;">{{{1}}}</span>
+
| valign="top" nowrap style="border-bottom:1px dashed #222222;" | <span id="{{{1}}}" style="color:coral; padding-right:8px; ">{{{1}}}</span>
| valign="top" | <span>{{{2}}}</span></includeonly><noinclude>[[category:template]]{{documentation}}</noinclude>
+
| valign="top" style="border-bottom:1px dashed #222222;" | <span>{{{2}}}</span></includeonly><noinclude>[[category:template]]{{documentation}}</noinclude>

Revision as of 01:01, 23 April 2017

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
{{Lex|Word|Description}}
gives...

|- | valign="top" nowrap style="border-bottom:1px dashed #222222;" | Word | valign="top" style="border-bottom:1px dashed #222222;" | Description

{{Lex|Word| # Item one # Item two}}
gives...

|- | valign="top" nowrap style="border-bottom:1px dashed #222222;" | Word | valign="top" style="border-bottom:1px dashed #222222;" |

  1. Item one
  2. Item two
Visit Template:Lex/doc to edit this text! (How does this work?) (Refresh this text - why?)