Template:Picdiclabel/new: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
image:G50.png{{!}}310px | image:G50.png{{!}}310px | ||
rect 0 0 1 1 [[{{PAGENAME}}]] | rect 0 0 1 1 [[{{PAGENAME}}]] | ||
}}<!-- this part is for testing --></noinclude><!-- | }}<!-- this part is for testing --></noinclude><includeonly><!-- | ||
--><div style="position: absolute; height:0px; line-height:{{{fontsize|12}}}px; font-size:{{{fontsize|12}}}px; top: {{{y}}}px; left:{{{x}}}px;"><!-- | --><div class = "picdic-label" style="position: absolute; height:0px; line-height:{{{fontsize|12}}}px; font-size:{{{fontsize|12}}}px; width:100%; text-align:{{{align|center}}}; top:{{{y|{{{posy|10}}}}}}px; left:{{{x|{{#expr:{{{posx|150}}}-{{#switch:{{{align}}}|left=0|right=300|#default=150}}}}}}}px;"><!-- | ||
-->{{ | -->{{#if:{{{raw|}}}|<span style="color:{{{color|{{#if:{{{pcolor|}}}|var(--wikt-palette-{{{pcolor|}}})|var(--wikt-palette-black,black)}}}}}">{{{2}}}</span>|<!-- | ||
-->{{l-self|{{{1}}}|{{{link|{{{2|}}}}}}{{#if:{{{anchor|}}}|#{{{anchor|}}}}}|{{color|{{{color|{{#if:{{{pcolor|}}}|var(--wikt-palette-{{{pcolor|}}})|var(--wikt-palette-black,black)}}}}}|{{{altlink|{{{alt|{{{link|{{{2|}}}}}}}}}}}}}}|sc={{{sc|}}}|tr={{#if:{{{tr|}}}{{{showtr|}}}|{{{tr|}}}|-}}|ts={{{ts|}}}}}<!-- | |||
-->{{ | |||
--> | -->}}<!-- closing raw if | ||
--></div><!-- | --></div></includeonly><!-- | ||
--><noinclude><!-- this part is for testing --></div><!-- this part is for testing --></noinclude><!-- | --><noinclude><!-- this part is for testing --></div><!-- this part is for testing --></noinclude><!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||