Munur á milli breytinga „Snið:Infoboxkennsla“

Úr SignWiki
Jump to navigation Jump to search
(Ný síða: <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;"> ...)
 
 
(15 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 style="clear:left;font-size:13px;text-align:center;">
+
<div class="{{#if:{{{tema|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
+
<div style="width:125px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Þema</div>
<div class="{{#if:{{{þema|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
+
<div style="width:125px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">{{{tema}}}</div>
<div style="width:70px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Þema</div>
+
 
<div style="width:180px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">[[:category:{{{tema}}}|{{{tema}}}]]</div>
 
 
</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>
{{stafroftengt}}
 
 
<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>{{#if: {{{video2}}} | {{#evt:service=youtube|id={{{video2}}}|urlargs=&amp;rel=0}}}}
  
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
 
<div>{{#if: {{{video1}}} | {{#ev:youtube|{{{video1}}}?rel=0}} | Settu inn myndband }}
 
</div>
 
<div>{{#if: {{{video2}}} | {{#ev:youtube|{{{video2}}}?rel=0}}}}
 
</div>
 
{{stafrofnav}}
 
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infoboxkennsla
 
{{Infoboxkennsla
 +
| name=
 
| Image=           
 
| Image=           
 
| video1=
 
| video1=
 
| video2=   
 
| video2=   
| þema=
+
| tema=
 
| efnisflokkur=
 
| efnisflokkur=
 
| tengsl1=   
 
| tengsl1=   
Lína 62: Lína 57:
 
  __NOTOC__
 
  __NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Orðabók A-Ö]]}}</includeonly>
+
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Kennsluefni]]}}</includeonly>
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Stafróf]]}}</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=        
}}