User:Psephomancy/Sandbox: Difference between revisions

Content added Content deleted
Line 442: Line 442:


"The gadget will work for files uploaded locally on your Wiki exactly as it does for files here at the Commons."
"The gadget will work for files uploaded locally on your Wiki exactly as it does for files here at the Commons."

So does that mean it needs a template around it or not?


[[File:Voting system Euler diagram.svg|500px]]
[[File:Voting system Euler diagram.svg|500px]]

ImageWithNotes for local notes:

{{subst:void|<span class="error">'''You forgot to subst this template. Replace &#123;{ImageWithNotes}&#125; with &#123;{subst:ImageWithNotes}&#125;'''</span>}}<div class="wpImageAnnotatorEnable">
<span class="wpImageAnnotatorPageName" style="display:none;">Psephomancy/Sandbox</span>
<span class="wpImageAnnotatorFullName" style="display:none;">User:Psephomancy/Sandbox</span>
<div class="wpImageAnnotatorFile">[[File:Voting system Euler diagram.svg|500px]]</div>
<div style="display:none;"><div><div><!--Dummy marker to have image notes inserted below this line-->{{ImageNoteEnd|id=-1}}
</div>
</div>


"For non-local files (files hosted here at the Commons, but viewed on your Wiki), the script will enable viewing of the notes (if there are any), but will not allow modifying them."
"For non-local files (files hosted here at the Commons, but viewed on your Wiki), the script will enable viewing of the notes (if there are any), but will not allow modifying them."


[[File:Chicago.jpg|500px]]
[[File:Chicago.jpg|500px]]

ImageWithNotes for local notes:

{{subst:void|<span class="error">'''You forgot to subst this template. Replace &#123;{ImageWithNotes}&#125; with &#123;{subst:ImageWithNotes}&#125;'''</span>}}<div class="wpImageAnnotatorEnable">
<span class="wpImageAnnotatorPageName" style="display:none;">Psephomancy/Sandbox</span>
<span class="wpImageAnnotatorFullName" style="display:none;">User:Psephomancy/Sandbox</span>
<div class="wpImageAnnotatorFile">[[File:Chicago.jpg|500px]]</div>
<div style="display:none;"><div><div><!--Dummy marker to have image notes inserted below this line-->{{ImageNoteEnd|id=-1}}
</div>
</div>