no edit summary
(Created page with ";Description :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. ;Syntax...") |
No edit summary |
||
| Line 4: | Line 4: | ||
;Syntax | ;Syntax | ||
:<code>{{t|Tableeditlink|page to edit}}</code> | :<code>{{t|Tableeditlink|page to edit}}</code> | ||
;Parameters | |||
* <code>1=</code> Internal link page (like <tt>Template:Somenav</tt>) | |||
* <code>color=</code> ''Optional'' text color for "e" | |||
* <code>float=</code> ''Optional'' float (default: right) | |||
;Example | |||
<pre> | |||
{| class="darktable" | |||
|- | |||
! Table with edit link {{tableeditlink|Template:Tableeditlink}} | |||
|- | |||
| Cell 1 | |||
|- | |||
| Cell 2 | |||
|} | |||
</pre> | |||
;Output | |||
{| class="darktable" | |||
|- | |||
! Table with edit link {{tableeditlink|Template:Tableeditlink}} | |||
|- | |||
| Cell 1 | |||
|- | |||
| Cell 2 | |||
|} | |||
;See also | |||
* {{t|sectioneditlink}} | |||
* {{t|tabledisplaylink}} | |||
---- | ---- | ||
;Template | ;Template | ||
<onlyinclude><span style="float:right; font-size:75%; margin-bottom:- | <onlyinclude><span style="float:{{{float|right}}}; font-size:75%; font-weight:normal; margin-bottom:-6px; margin-top:6px;">[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|action=edit}} {{#if:{{{color|}}}|<span style="color:{{{color|}}};">}}{{{2|e}}}{{#if:{{{color|}}}|</span>}}]</span></onlyinclude> | ||
[[Category:Inline templates]] | |||