「模板:Image label」修訂間的差異

跳至導覽 跳至搜尋
Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q5614901 (translate me)
標籤手機版編輯 手機版網頁編輯
<includeonly><div style="position: absolute; left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px; top: {{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px;">{{{text}}}</div></includeonly><noinclude>
{{#if:{{{text-align|}}}|text-align:{{{text-align}}};}}
{{#if:{{{font-size|}}}|font-size:{{{font-size}}};}}
{{#if:{{{background|}}}|background-color: rgba(255, 255, 255, 0.5); padding: 0 2px;}}
{{#if:{{{color|}}}|color: {{{color|}}};}}
left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px;
top:{{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px">{{{text}}}</div></includeonly><noinclude>
==用法==
<pre>
{| style="background-color:transparent;"
|<pre>
[[{{Image: label begin|Example-zh.jpg]]}}
<div style="position: relative;">
[[Image:Example-zh.jpg]]
{{Image label|x=0|y=0|text=●}}
{{Image label|x=1|y=1|scale=100|text=★}}
{{Image label|x=1|y=1|scale=50|text=Hello}}
{{Image label end}}
</div>
</pre>
[[|{{Image: label begin|Example-zh.jpg]]}}
|<div style="position: relative;">
[[Image:Example-zh.jpg]]
{{Image label|x=0|y=0|text=●}}
{{Image label|x=1|y=1|scale=100|text=★}}
{{Image label|x=1|y=1|scale=50|text=Hello}}
{{Image label end}}
</div>
|}
[[Category:模板]]
22

次編輯

導覽選單