Template:Picdic: Difference between revisions
Created page with "{| class="floatright" role="presentation" style="border-collapse:collapse; border:1px solid #ccc; <includeonly>width:{{{width|310}}}px;</includeonly> " |- ! style="font-weight..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| class="floatright" role="presentation" style=" | <noinclude>{{wp|Picture dictionary}} | ||
</noinclude><templatestyles src="Template:picdic/style.css" /><div class="floatright standard-box picdic-box vsSwitcher" data-toggle-category="picture dictionary" role="presentation" style="<includeonly>width:{{{width|310}}}px;</includeonly> "> | |||
<div class="center picdic-heading vsToggleElement">[[wikt:Wiktionary:Picture dictionary|Picture dictionary]]{{#if:{{{text|}}}|<nowiki/>: '''{{{text}}}'''}}</div> | |||
| | <div class="picdic-contents vsHide"><!--cheapest hack ever | ||
-->{{#tag:imagemap| | -->{{#tag:imagemap| | ||
image:{{{image|Image-missing.svg}}}{{!}}<includeonly>{{{width|310}}}x{{{height|{{{width|310}}}}}}px</includeonly><noinclude>100px</noinclude>{{!}}{{{text|{{PAGENAME}}}}}{{!}}alt={{{text|{{PAGENAME}}}}} | image:{{{image|Image-missing.svg}}}{{!}}<includeonly>{{#if:{{{height|}}}|{{{width|310}}}x{{{height|{{{width|310}}}}}}px|{{{width|310}}}px}}</includeonly><noinclude>100px</noinclude>{{!}}{{{text|{{PAGENAME}}}}}{{!}}alt={{{text|{{PAGENAME}}}}}{{#if:{{{invertible|}}}|{{!}}class=skin-invert-image}} | ||
{{#if:{{{imagemap|}}}| | {{#if:{{{imagemap|}}}| | ||
{{{imagemap}}} | {{{imagemap}}} | ||
| Line 12: | Line 11: | ||
}}}} | }}}} | ||
{{#if:{{{labels|}}}|{{{labels}}}}} | {{#if:{{{labels|}}}|{{{labels}}}}} | ||
</div> | </div><div class="picdic-contents vsHide" role="presentation"> | ||
{{#if:{{{scrollable|}}}|<div style="width:{{{width|310}}}px; overflow:scroll; white-space:nowrap;"><table style="border: 1px solid var(--border-color-base,#ccc); border-collapse:collapse;"><tr><td>}} | |||
<table role="presentation" style="margin-top: 0.5em; border-collapse:collapse; white-space: wrap;"><tr><td> | |||
<table role="presentation" style=" | |||
{{{detail1|Detail1 missing}}} | {{{detail1|Detail1 missing}}} | ||
</td></tr></table><!-- | </td></tr></table><!-- | ||
-->{{#if:{{{detail2|}}}|< | -->{{#if:{{{detail2|}}}|<hr style="margin-top: 0.5em"><table role="presentation" style="margin-top: 0.5em; border-collapse:collapse; white-space: wrap;"><tr><td> | ||
{{{detail2|Detail2}}} | {{{detail2|Detail2}}} | ||
</td></tr></table>}}<!-- | </td></tr></table>}}<!-- | ||
-->{{#if:{{{detail3|}}}|< | -->{{#if:{{{detail3|}}}|<hr style="margin-top: 0.5em"><table role="presentation" style="margin-top: 0.5em; border-collapse:collapse; white-space: wrap;"><tr><td> | ||
{{{detail3|Detail3}}} | {{{detail3|Detail3}}} | ||
</td></tr></table>}}<!-- | </td></tr></table>}}<!-- | ||
-->{{#if:{{{detail4|}}}|< | -->{{#if:{{{detail4|}}}|<hr style="margin-top: 0.5em"><table role="presentation" style="margin-top: 0.5em; border-collapse:collapse; white-space: wrap;"><tr><td> | ||
{{{detail4|Detail4}}} | {{{detail4|Detail4}}} | ||
</td></tr></table>}}{{#if:{{{scrollable|}}}|</td></tr></table></div>}} | </td></tr></table>}}{{#if:{{{scrollable|}}}|</td></tr></table></div>}} | ||
</div></div><noinclude>{{documentation}}</noinclude> | |||