Difference between revisions of "Template:Nail"
From Ryzom Forge Wiki
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{preums|}}}||<td style="width: 2%; border-bottom: {{#if:{{{Border|}}}|{{{Border}}}|outset thin #def}}"> </td>}}<td {{#switch:{{{Blender}}}|Yes=Blender|#default=}}" style="text-align: {{#if:{{{Align|}}}|{{{Align}}}|center}}; {{#if:{{{Radius|}}}| | + | <includeonly>{{#if:{{{preums|}}}||<td style="width: 2%; border-bottom: {{#if:{{{Border|}}}|{{{Border}}}|outset thin #def}}"> </td>}}<td {{#switch:{{{Blender}}}|Yes=Blender|#default=}}" style="text-align: {{#if:{{{Align|}}}|{{{Align}}}|center}}; {{#if:{{{Radius|}}}|border-radius: {{{Radius}}} {{{Radius}}} 0 0;}} padding:0.3em; border: {{#if:{{{Border|}}}|{{{Border}}}|outset thin #def}}; font-size: 110%; {{#ifeq:{{FULLPAGENAME}}|{{{URL}}}|background-color: {{#if:{{{BG frame|}}}|{{{BG frame}}}|transparent}}; border-bottom: none; font-weight:bold; |background-color: {{#if:{{{BG nail|}}}|{{{BG nail}}}|#def}}; }}" width="{{#expr:(100/{{Nombre de paramètres définis|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}})-2}}%">{{#if:{{{Image|}}}|[[Fichier:{{{Image}}}|20px|{{{Nail}}}|link={{{URL}}}]] |}}{{#ifeq:{{{URLType|}}}|http|<span class="plainlinks noarchive">[{{{URL}}} {{{Nail}}}]</span>|[[{{{URL}}}|{{{Nail}}}]]}}</td></includeonly><noinclude>[[Category:Template:Tab]]</noinclude> |