Template:ImageNote: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(per talk for the template)
(using {{documentation}})
Line 1: Line 1:
{{#ifeq:{{{id|{{{1}}}}}}|1|<!--  -->{{Iffile|1={{ImageNote/header}}}}<!--  -->}}{{#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}}</noinclude>

Revision as of 19:21, 26 August 2011

Instructions for {{ImageNote}}