Template:Elink: Difference between revisions
Jump to navigation
Jump to search
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
No edit summary |
||
| Line 102: | Line 102: | ||
--><div class="elinks-item-{{#var:tICONNAME}}" <!-- | --><div class="elinks-item-{{#var:tICONNAME}}" <!-- | ||
-->style="{{#if:{{{style|}}}{{{inline|}}}||padding-left:26px; text-indent:-26px;}}{{{style|}}};{{#if:{{{inline|}}}| | -->style="{{#if:{{{style|}}}{{{inline|}}}||padding-left:26px; text-indent:-26px;}}{{{style|}}};{{#if:{{{inline|}}}|display:inline;}}"><!-- | ||
PREFIX AND ICON | PREFIX AND ICON | ||
-->{{#if:{{{prefix|}}}|{{{prefix}}} }}<!-- | -->{{#if:{{{prefix|}}}|{{{prefix}}} }}<!-- | ||
Latest revision as of 18:52, 13 September 2022
Places a standard external link on a wiki page.
- Usage
prefix=(Optional) prefix text before the icon.type=(Optional) With correct name, automatically fills in '|icon=' and '|site='.icon=(Optional) Icon name (expects same image filename format as {{wwicon}}) to show a specific icon before link that also works :site=Simple name for the site, used as the link text.link=URL to link to.
url=(Optional) Can be used alternatively, but is not recommended.desc=(Optional) description of what can be found at the link, placed after the link in plain text.
title=(Optional) Can be used alternatively, but is not recommended.bydate=(Optional) appears after the description in 90% of font-size (smaller).style=(Optional) additional style for the outer div container. Useful for inline style formatting.inline=(Optional) if set, will make the link work properly as inline text.strike=(Optional) if set, will strike though the link and meta portions.postfix=(Optional) postfix text after the link and meta.
See Template:Elink/doc for instructions and examples.
- See also