Template:Edit: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: <span class="noprint plainlinksneverexpand">[{{fullurl:{{{1}}}|action=edit}} {{#if:{{{2|}}}|{{{2}}}|edit}}]</span><noinclude> This template generates an "edit" link for the first variable...)
 
(adjust class)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span class="noprint plainlinksneverexpand">[{{fullurl:{{{1}}}|action=edit}} {{#if:{{{2|}}}|{{{2}}}|edit}}]</span><noinclude>
<span class="noprint plainlinks">[{{fullurl:{{{1}}}|action=edit}} {{#if:{{{2|}}}|{{{2}}}|edit}}]</span><noinclude>


This template generates an "edit" link for the first variable it is passed, with the linktext of the second variable passed. Any formatting such as alignment or font size should set up in the calling page.
This template generates an "edit" link for the first variable it is passed, with the linktext of the second variable passed. Any formatting such as alignment or font size should set up in the calling page.

Example:
<div style="font-size:60%; float:right; margin-left:10px;">{{edit|Emulation|edit emulation}}</div>

Emulation is tricky -- please add your own experiences with particular (build, emulator) to our page on the subject.


</noinclude>
</noinclude>

Latest revision as of 14:54, 13 August 2014

[{{fullurl:{{{1}}}|action=edit}} edit]

This template generates an "edit" link for the first variable it is passed, with the linktext of the second variable passed. Any formatting such as alignment or font size should set up in the calling page.

Example:

edit emulation

Emulation is tricky -- please add your own experiences with particular (build, emulator) to our page on the subject.