Template:Navigation string: Difference between revisions
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
-->{{#if:{{{image|}}}|<div class="NavPic" style="background: none; float: left; margin-right: 5px; margin-top: 1.8em;">{{{image}}}</div>}}<!-- | -->{{#if:{{{image|}}}|<div class="NavPic" style="background: none; float: left; margin-right: 5px; margin-top: 1.8em;">{{{image}}}</div>}}<!-- | ||
-->{{#if:{{{image2|}}}|<div class="NavPic" style="background: none; float: right; margin-left: 5px; margin-top:1.8em;">{{{image2}}}</div>}} | -->{{#if:{{{image2|}}}|<div class="NavPic" style="background: none; float: right; margin-left: 5px; margin-top:1.8em;">{{{image2}}}</div>}} | ||
<div class="NavHead" style="background:{{#if:{{{color|}}}|{{{color}}}|#ccf}};font-weight:normal"><span style="font-weight:bold">{{{title}}}</span> | <div class="NavHead" style="background:{{#if:{{{color|}}}|{{{color}}}|#ccf}};font-weight:normal"><span style="font-weight:bold;"><center>{{{title}}}</center></span> | ||
</div> | </div> | ||
<div class="NavContent" style="font-size:95%;"> | <div class="NavContent" style="font-size:95%; text-align: center;"> | ||
{{{content}}} | {{{content}}} | ||
</div> | </div> | ||
Line 26: | Line 26: | ||
[[Солнце]] | [[Солнце]] | ||
}} | }} | ||
[[Category:Templates for templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 00:35, 26 January 2024
Documentation
{{Navigation string |color = yellow |image = [[Изображение:Sun01.svg|40px|солнце]] |image2 = [[Изображение:Rain01.svg|40px|дождь]] |title = [[Погода]] |content = [[Гроза]] {{!}} [[Облачность]] {{!}} [[Ветер]] {{!}} [[Снег]] {{!}} [[Дождь]] {{!}} [[Град (осадки)|Град]] {{!}} [[Солнце]] }}