Template:ImageNote: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (Protected "Template:ImageNote": Used by a gadget ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Bongolium500 (talk | contribs) No edit summary |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<div id="image_annotation_view_x_{{{id|{{{1}}}}}}">{{{x|{{{2}}}}}}</div> | <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 id="image_annotation_view_y_{{{id|{{{1}}}}}}">{{{y|{{{3}}}}}}</div> | <div class="image_annotation_view_x_{{{id|{{{1}}}}}}" id="image_annotation_view_x_{{{id|{{{1}}}}}}">{{{x|{{{2}}}}}}</div> | ||
<div id="image_annotation_view_w_{{{id|{{{1}}}}}}">{{{w|{{{4}}}}}}</div> | <div class="image_annotation_view_y_{{{id|{{{1}}}}}}" id="image_annotation_view_y_{{{id|{{{1}}}}}}">{{{y|{{{3}}}}}}</div> | ||
<div id="image_annotation_view_h_{{{id|{{{1}}}}}}">{{{h|{{{5}}}}}}</div> | <div class="image_annotation_view_w_{{{id|{{{1}}}}}}" id="image_annotation_view_w_{{{id|{{{1}}}}}}">{{{w|{{{4}}}}}}</div> | ||
<div id="image_annotation_full_width_{{{id|{{{1}}}}}}">{{{dimx|{{{6}}}}}}</div> | <div class="image_annotation_view_h_{{{id|{{{1}}}}}}" id="image_annotation_view_h_{{{id|{{{1}}}}}}">{{{h|{{{5}}}}}}</div> | ||
<div id="image_annotation_full_height_{{{id|{{{1}}}}}}">{{{dimy|{{{7}}}}}}</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> | |||
{{#switch:{{NAMESPACE}}|File=[[Category:Images with annotations|{{PAGENAME}}]]}} | |||
{{#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}}]]}}}}</includeonly><noinclude>{{documentation}}[[Category:ImageAnnotations templates]]</noinclude> |
Latest revision as of 17:23, 22 July 2024
Instructions for {{ImageNote}}