Template:ImageNote: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if: {{{style|}}} |<div id="image_annotation_note_{{{id|{{{1}}}}}}" class="image_annotation" style="display:none;">}}
<includeonly>{{#ifeq:{{{id|{{{1}}}}}}|1|<!--  -->{{Iffile|1={{ImageNote/header}}}}<!--  -->}}{{#if: {{{style|}}} |<div id="image_annotation_note_{{{id|{{{1}}}}}}" class="image_annotation" style="display:none;">}}
<div class="image_annotation_view_x_{{{id|{{{1}}}}}}" id="image_annotation_view_x_{{{id|{{{1}}}}}}">{{{x|{{{2}}}}}}</div>
<div class="image_annotation_view_x_{{{id|{{{1}}}}}}" id="image_annotation_view_x_{{{id|{{{1}}}}}}">{{{x|{{{2}}}}}}</div>
<div class="image_annotation_view_y_{{{id|{{{1}}}}}}" id="image_annotation_view_y_{{{id|{{{1}}}}}}">{{{y|{{{3}}}}}}</div>
<div class="image_annotation_view_y_{{{id|{{{1}}}}}}" id="image_annotation_view_y_{{{id|{{{1}}}}}}">{{{y|{{{3}}}}}}</div>
Line 6: Line 6:
<div class="image_annotation_full_width_{{{id|{{{1}}}}}}" id="image_annotation_full_width_{{{id|{{{1}}}}}}">{{{dimx|{{{6}}}}}}</div>
<div class="image_annotation_full_width_{{{id|{{{1}}}}}}" id="image_annotation_full_width_{{{id|{{{1}}}}}}">{{{dimx|{{{6}}}}}}</div>
<div class="image_annotation_full_height_{{{id|{{{1}}}}}}" id="image_annotation_full_height_{{{id|{{{1}}}}}}">{{{dimy|{{{7}}}}}}</div>
<div class="image_annotation_full_height_{{{id|{{{1}}}}}}" id="image_annotation_full_height_{{{id|{{{1}}}}}}">{{{dimy|{{{7}}}}}}</div>
<includeonly>{{#switch:{{NAMESPACE}}|File=[[Category:Images with annotations|{{PAGENAME}}]]}}</includeonly>
{{#switch:{{NAMESPACE}}|File=[[Category:Images with annotations|{{PAGENAME}}]]}}
{{#if: {{{style|}}} |<div class="image_annotation_content_{{{id|{{{1}}}}}}" id="image_annotation_content_{{{id|{{{1}}}}}}">}}
{{#if: {{{style|}}} |<div class="image_annotation_content_{{{id|{{{1}}}}}}" id="image_annotation_content_{{{id|{{{1}}}}}}">}}
{{#ifeq:{{{id|{{{1}}}}}}|10|{{#switch:{{NAMESPACE}}|File=[[Category:Images with 10+ annotations|{{PAGENAME}}]]}}}}
{{#ifeq:{{{id|{{{1}}}}}}|10|{{#switch:{{NAMESPACE}}|File=[[Category:Images with 10+ annotations|{{PAGENAME}}]]}}}}</includeonly><noinclude>{{documentation}}[[Category:ImageAnnotations templates]]</noinclude>

Latest revision as of 17:23, 22 July 2024

Instructions for {{ImageNote}}