Template:Edit: Difference between revisions

From OLPC
Jump to navigation Jump to search
(..)
(adjust class)
 
(3 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:
Example:
<div style="font-size:60%; float:right; margin:10px;">{{edit|Emulation|edit emulation}}</div>
<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.
Emulation is tricky -- please add your own experiences with particular (build, emulator) to our page on the subject.



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.