Template:Editlink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 46: | Line 46: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
--><span class=" | --><span class="editlink" style="font-weight:normal; {{#if:{{{tight|}}}|font-size:.76em; position:absolute; right:.2em; top:.2em;|font-size:.83em; float:{{{float|right}}}; margin:.2em 0 -2em 0;}} {{{style|}}}">[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{#if:{{{color|}}}|<span style="color:{{{color|}}};">}}{{{2|}}}{{#if:{{{color|}}}|</span>}}]</span><!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> | ||
Revision as of 23:48, 4 August 2023
Puts a small "e" edit link in a subscript-like position in a table cell. Intended for transcluded tables, but theoretically could be used for other things. See also {{sectioneditlink}} and {{tabledisplaylink}}.
- Usage
- - internal link page, like 'Template:Somenav'
- - (optional) char or text to use as link. Default is 'e'
- color - (optional) text color link. Default is regular link color
- float - (optional) Default is 'right'. both|right|left|none
- tight - (optional) render the "e" that fits better in tight space, doesn't disturb flow
- style - (optional) additional style, like margins or as necessary
- Example
{| class="darktable" width="30%"
|-
! Table with edit link {{editlink|Template:editlink}}
|-
| Cell 1
|}
| Table with edit link [1] |
|---|
| Cell 1 |
:Some kind of heading {{editlink|Template:editlink}}
:I like unicorn.
:I like princess.
- Some kind of heading [2]
- I like unicorn.
- I like princess.
- See also
- {{Newsectionlink}}
- {{Sectioneditlink}}
- Template