Munur á milli breytinga „Snið:Infoboxtakn“

Úr SignWiki
Jump to navigation Jump to search
 
(93 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 48: Lína 48:
 
<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 class="{{#if:{{{major-cooking-method|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
+
 
<div style="width:125px;float:left;text-align:left;">Cooking Methods</div>
+
 
<div style="width:125px;float:left;text-align:right;">{{{major-cooking-method}}}</div>
+
<div style="clear:left;border-top:1px solid #B5B7CF;"></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 style="width:125px;float:left;font-weight:bold;text-align:left;">{{{myndatexti}}}</div>
 
</div>
 
</div>
<div class="{{#if:{{{vegetarian|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Vegetarian</div>
 
<div style="width:125px;float:left;text-align:right;">{{{vegetarian}}}</div>
 
 
</div>
 
</div>
<div class="{{#if:{{{diabetic|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
+
<div style="width:250px;clear:left;font-size:12px;text-align:center;">
<div style="width:125px;float:left;text-align:left;">Diabetic Friendly</div>
 
<div style="width:125px;float:left;text-align:right;">{{{diabetic}}}</div>
 
 
</div>
 
</div>
<div class="{{#if:{{{diet-friendly|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Diet-friendly</div>
 
<div style="width:125px;float:left;text-align:right;">{{{diet-friendly}}}</div>
 
 
</div>
 
</div>
<div class="{{#if:{{{gluten-free|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Gluten-free</div>
 
<div style="width:125px;float:left;text-align:right;">{{{gluten-free}}}</div>
 
</div>
 
<div class="{{#if:{{{vegan|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Vegan</div>
 
<div style="width:125px;float:left;text-align:right;">{{{vegan}}}</div>
 
</div>
 
<div class="{{#if:{{{kosher|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Kosher</div>
 
<div style="width:125px;float:left;text-align:right;">{{{kosher}}}</div>
 
</div>
 
<div class="{{#if:{{{halal|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">halal</div>
 
<div style="width:125px;float:left;text-align:right;">{{{halal}}}</div>
 
</div>
 
<div class="{{#if:{{{diabetic|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
 
<div style="width:125px;float:left;text-align:left;">Diabetic Friendly</div>
 
<div style="width:125px;float:left;text-align:right;">{{{diabetic}}}</div>
 
</div>
 
<div style="clear:left;border-top:1px solid #B5B7CF;"></div>
 
<div class="{{#if:{{{credit|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div style="width:70px;float:left;text-align:left;">Credit</div>
 
<div style="width:180px;float:left;text-align:right;">{{{credit}}}</div>
 
<div>{{#if:{{{Image2|}}}|[[Image2:{{{Image2}}}|250px|alt={{PAGENAME}}]]|[[Image:addphoto.gif|250px|center|link=Special:Upload]]}}</div>
 
</div>
 
<div style="width:250px;clear:left;font-size:12px;text-align:center;">
 
</div>
 
</div></div>
 
{{#if:{{{Image|}}}|[[category:Orðabók]]|[[category:No image]]}}
 
 
{{#if: {{{youtube}}} | {{#ev:youtube|{{{youtube}}}?rel=0}} | No youtube video }}
 
 
 
<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=
 
}}