Munur á milli breytinga „Snið:Infoboxkennsla“
Jump to navigation
Jump to search
(11 millibreytingar ekki sýndar frá 2 notendum) | |||
Lína 1: | Lína 1: | ||
+ | <div class="clearbo"></div> | ||
<div class="infoboxtakn" style="width:250px;background-color:white;float:right;clear:right;margin:-1em 0 1em 1em;border:1px solid;-moz-border-radius:12px;padding:12px 12px 12px 12px;"> | <div class="infoboxtakn" style="width:250px;background-color:white;float:right;clear:right;margin:-1em 0 1em 1em;border:1px solid;-moz-border-radius:12px;padding:12px 12px 12px 12px;"> | ||
− | + | <div style="text-align:center;font-size:16px;font-weight:bold;line-height:1.5em;">{{{name}}}</div> | |
<div>{{#if:{{{Image|}}}|[[Image:{{{Image}}}|250px|alt={{PAGENAME}}]]|}}</div> | <div>{{#if:{{{Image|}}}|[[Image:{{{Image}}}|250px|alt={{PAGENAME}}]]|}}</div> | ||
<div style="text-align:center;font-size:12px;font-weight:bold;line-height:1.5em;">{{{texti}}}</div> | <div style="text-align:center;font-size:12px;font-weight:bold;line-height:1.5em;">{{{texti}}}</div> | ||
− | + | <div class="{{#if:{{{tema|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;"> | |
− | + | <div style="width:125px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Þema</div> | |
− | <div class="{{#if:{{{ | + | <div style="width:125px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">{{{tema}}}</div> |
− | <div style="width: | + | |
− | <div style="width: | ||
</div> | </div> | ||
<div style="clear:left;border-top:1px solid #B5B7CF;"></div> | <div style="clear:left;border-top:1px solid #B5B7CF;"></div> | ||
Lína 18: | Lína 18: | ||
<div>{{#if:{{{Image2|}}}|[[Image:{{{Image2}}}|250px|alt={{PAGENAME}}]]|}}</div> | <div>{{#if:{{{Image2|}}}|[[Image:{{{Image2}}}|250px|alt={{PAGENAME}}]]|}}</div> | ||
<div style="clear:left;border-top:1px solid #B5B7CF;"></div> | <div style="clear:left;border-top:1px solid #B5B7CF;"></div> | ||
− | |||
<div style="width:250px;clear:left;font-size:12px;text-align:center;"> | <div style="width:250px;clear:left;font-size:12px;text-align:center;"> | ||
</div> | </div> | ||
Lína 36: | Lína 35: | ||
<div style="width:180px;float:left;text-align:right;">{{{tengsl3}}}</div> | <div style="width:180px;float:left;text-align:right;">{{{tengsl3}}}</div> | ||
</div> | </div> | ||
+ | <div>{{#if: {{{video1}}} | {{#evt:service=youtube|id={{{video1}}}|dimensions=425|alignment=left|urlargs=?rel=0&wmode=transparent}} | Settu inn myndband }} | ||
</div> | </div> | ||
− | <div>{{#if: {{{ | + | <div>{{#if: {{{video2}}} | {{#evt:service=youtube|id={{{video2}}}|urlargs=&rel=0}}}} |
− | |||
− | |||
<noinclude> | <noinclude> | ||
Lína 45: | Lína 43: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Infoboxkennsla | {{Infoboxkennsla | ||
+ | | name= | ||
| Image= | | Image= | ||
| video1= | | video1= | ||
| video2= | | video2= | ||
− | | | + | | tema= |
| efnisflokkur= | | efnisflokkur= | ||
| tengsl1= | | tengsl1= | ||
Lína 58: | Lína 57: | ||
__NOTOC__ | __NOTOC__ | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
− | <includeonly>{{#if:{{NAMESPACE}}||[[Category: | + | <includeonly>{{#if:{{NAMESPACE}}||[[Category:Kennsluefni]]}}</includeonly> |
− |
Núverandi breyting frá og með 27. mars 2018 kl. 08:04
{{{name}}}
{{{texti}}}
Þema
{{{tema}}}
Efnisflokkur
[[:category:{{{efnisflokkur}}}|{{{efnisflokkur}}}]]
Tengd tákn
{{{tengsl1}}}
-
{{{tengsl2}}}
-
{{{tengsl3}}}
EmbedVideo received the bad id "{{{video1}}}" for the service "youtube".
EmbedVideo received the bad id "{{{video2}}}" for the service "youtube".
Usage
{{Infoboxkennsla | name= | Image= | video1= | video2= | tema= | efnisflokkur= | tengsl1= | tengsl2= | tengsl3= }}