Jump to content

User:Psephomancy/Sandbox: Difference between revisions

No edit summary
Line 438:
== Metadata ==
Is cached and not updated until I edit page?
 
== Image annotations ==
 
"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]]
 
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."
 
[[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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.