Munur á milli breytinga „Snið:Infoboxtakn“

Úr SignWiki
Jump to navigation Jump to search
 
(77 millibreytingar ekki sýndar frá 2 notendum)
Lína 1: Lína 1:
<div 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 style="text-align:center;font-size:16px;font-weight:bold;line-height:1.5em;">{{{name}}}</div>
 
<div>{{#if:{{{Image|}}}|[[Image:{{{Image}}}|250px|alt={{PAGENAME}}]]|[[Image:addphoto.gif|250px|center|link=Special:Upload]]}}</div>
 
<div>{{#if:{{{Image|}}}|[[Image:{{{Image}}}|250px|alt={{PAGENAME}}]]|[[Image:addphoto.gif|250px|center|link=Special:Upload]]}}</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:12px;text-align:center;">
+
<div style="clear:left;font-size:13px;text-align:center;">
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div class="{{#if:{{{ordflokkur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div class="{{#if:{{{ordflokkur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
<div style="width:70px;float:left;text-align:left;">Orðflokkur</div>
+
<div style="width:70px;float:left;text-align:left;font-size:14px;padding-top:5px;padding-bottom:5px;">Orðflokkur</div>
<div style="width:180px;float:left;text-align:right;">[[:category:{{{ordflokkur}}}|{{{ordflokkur}}}]]</div>
+
<div style="width:180px;float:left;text-align:right;font-size:14px;padding-top:5px;padding-bottom:5px;">[[:category:{{{ordflokkur}}}|{{{ordflokkur}}}]]</div>
 
</div>
 
</div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div class="{{#if:{{{efnisflokkur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div class="{{#if:{{{efnisflokkur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
<div style="width:70px;float:left;text-align:left;">Efnisflokkur</div>
+
<div style="width:70px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Efnisflokkur</div>
<div style="width:180px;float:left;text-align:right;">[[:category:{{{efnisflokkur}}}|{{{efnisflokkur}}}]]</div>
+
<div style="width:180px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">[[:category:{{{efnisflokkur}}}|{{{efnisflokkur}}}]]</div>
 
</div>
 
</div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
<div class="{{#if:{{{myndunarstadur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
+
<div class="{{#if:{{{myndunarstadur|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;padding-top:5px;padding-bottom:5px;">
<div style="width:70px;float:left;text-align:left;">Myndunarstaður</div>
+
<div style="width:70px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Myndunarstaður</div>
<div style="width:180px;float:left;text-align:right;">[[:category:{{{myndunarstadur}}}|{{{myndunarstadur}}}]]</div>
+
<div style="width:180px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">[[:category:{{{myndunarstadur}}}|{{{myndunarstadur}}}]]</div>
 
</div>
 
</div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
<div class="{{#if:{{{handform|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
+
<div class="{{#if:{{{handform|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;padding-top:5px;padding-bottom:5px;">
<div style="width:70px;float:left;text-align:left;">Handform</div>
+
<div style="width:70px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Handform</div>
<div style="width:180px;float:left;text-align:right;">[[:category:{{{handform}}}|{{{handform}}}]]</div>
+
<div style="width:180px;float:left;text-align:right;padding-top:5px;padding-bottom:5px">[[:snið:{{{handform}}}|{{{handform}}}]]</div>
 
</div>
 
</div>
 
<div class="{{#if:{{{munnhreyfing|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div class="{{#if:{{{munnhreyfing|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:125px;float:left;text-align:left;">Munnhreyfing</div>
+
<div style="width:125px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Munnhreyfing</div>
<div style="width:125px;float:left;text-align:right;">{{{munnhreyfing}}}</div>
+
<div style="width:125px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">{{{munnhreyfing}}}</div>
  
 
</div>
 
</div>
 
<div class="{{#if:{{{samheiti|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div class="{{#if:{{{samheiti|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:125px;float:left;text-align:left;">Samheiti</div>
+
<div style="width:125px;float:left;text-align:left;padding-top:5px;padding-bottom:5px;">Samheiti</div>
<div style="width:125px;float:left;text-align:right;">{{{samheiti}}}</div>
+
<div style="width:125px;float:left;text-align:right;padding-top:5px;padding-bottom:5px;">{{{samheiti}}}</div>
  
 
</div>
 
</div>
  
 
<div class="{{#if:{{{tengsl1|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div class="{{#if:{{{tengsl1|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:70px;float:left;text-align:left;">Tengd tákn</div>
+
<div style="width:70px;float:left;text-align:left;padding-top:5px;">Tengd tákn</div>
  
<div style="width:180px;float:left;text-align:right;">{{{tengsl1}}}</div>
+
<div style="width:180px;float:left;text-align:right;padding-top:5px;">{{{tengsl1}}}</div>
 
</div>
 
</div>
 
<div class="{{#if:{{{tengsl2|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div class="{{#if:{{{tengsl2|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
Lína 49: Lína 49:
 
</div>
 
</div>
  
</div>
+
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div class="{{#if:{{{annad|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div style="width:70px;float:left;text-align:left;">Annað</div>
 
<div style="width:180px;float:left;text-align:right;">{{{annad}}}</div>
 
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
  
<div>{{#if:{{{Image2|}}}|[[Image:{{{Image2}}}|200px|alt={{PAGENAME}}]]|[[Image:addphoto.gif|250px|center|link=Special:Upload]]}}</div>
+
<div>{{#if:{{{Image2|}}}|[[Image:{{{Image2}}}|250px|alt={{PAGENAME}}]]|[[Image:addphoto.gif|x250px|center|link=Special:Upload]]}}</div>
 +
 
 
<div class="{{#if:{{{myndatexti|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div class="{{#if:{{{myndatexti|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;font-weight:bold;text-align:left;">{{{myndatexti}}}</div>
 
<div style="width:125px;float:left;font-weight:bold;text-align:left;">{{{myndatexti}}}</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
{{#if:{{{Image|}}}|[[category:Orðabók]]
+
<div style="width:250px;clear:left;font-size:12px;text-align:center;">
 
+
</div>
 
+
</div>
 
 
<noinclude>[[Category:admin]]</noinclude>
 
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Infoboxtakn
 
{{Infoboxtakn
| Image=   <!-- e.g. food.jpg>
+
| Image=         <!--- t.d. epli.jpg-->
| name=
+
| texti=             <!--- lýsið tákninu-->
| texti=
+
| name=
| youtube= <!-- Youtube unique ID -->
+
| ordflokkur=         <!--- t.d. Sagnorð -->
| ordflokkur=   <!--- t.d. sagnorð eða persónufornafn -->
+
| efnisflokkur=               <!--- Flokkur  -->
| prep-time=   <!--- Write down minutes. 2 hours are 60 minutes -->  
+
| myndunarstadur=  
| myndunarstadur=
+
| handform=
| handform=  
+
| samheiti=
| tengsl1=
+
| munnhreyfing=
 +
| tengsl1=   <!--- Önnur svipuð eða tengd tákn-->
 
| tengsl2=
 
| tengsl2=
 
| tengsl3=
 
| tengsl3=
| major-cooking-method=
+
| Image2=         <!--- Mynd sem tengist merkingu táknsins-->
| dish-type=  <!--- breakfast, lunch, dinner, snack, dessert, side dish, main -->
+
| myndatexti=   
| credit=   
+
| youtube1=
| <!--- Only answer "yes". If the answer is no, leave it blank -->
+
| youtube2=
| vegetarian=
+
| diet-friendly=
 
| diabetic=
 
| vegan=
 
| gluten-free=
 
| halal=
 
| kosher=
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
 
</noinclude>
 
</noinclude>
 +
 +
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Orðabók]]}}</includeonly>
 +
<includeonly>{{#if:{{{ordflokkur|}}}|[[category:{{#lowercase:{{{ordflokkur}}}}}]]}}</includeonly>
 +
<includeonly>{{#if:{{{efnisflokkur|}}}|[[category:{{#lowercase:{{{efnisflokkur}}}}}]]}}</includeonly>
 +
<includeonly>{{#if:{{{myndunarstadur|}}}|[[category:{{#lowercase:{{{myndunarstadur}}}}}]]}}</includeonly>
 +
<includeonly>{{#if:{{{handform|}}}|[[category:{{#lowercase:{{{handform}}}}}]]}}</includeonly>

Núverandi breyting frá og með 2. desember 2011 kl. 13:50

{{{name}}}
{{{texti}}}
Orðflokkur
[[:category:{{{ordflokkur}}}|{{{ordflokkur}}}]]
Efnisflokkur
[[:category:{{{efnisflokkur}}}|{{{efnisflokkur}}}]]
Myndunarstaður
[[:category:{{{myndunarstadur}}}|{{{myndunarstadur}}}]]
Handform
[[:snið:{{{handform}}}|{{{handform}}}]]
Munnhreyfing
{{{munnhreyfing}}}
Samheiti
{{{samheiti}}}
Tengd tákn
{{{tengsl1}}}
-
{{{tengsl2}}}
-
{{{tengsl3}}}


{{{myndatexti}}}

Usage

{{Infoboxtakn
| Image=          <!--- t.d. epli.jpg-->
| texti=             <!--- lýsið tákninu-->
| name= 
| ordflokkur=          <!--- t.d. Sagnorð  -->
| efnisflokkur=               <!--- Flokkur  -->
| myndunarstadur= 
| handform=
| samheiti=
| munnhreyfing=
| tengsl1=    <!--- Önnur svipuð eða tengd tákn-->
| tengsl2=
| tengsl3=
| Image2=          <!--- Mynd sem tengist merkingu táknsins-->  
| myndatexti=   
| youtube1=
| youtube2=
 
}}