Munur á milli breytinga „Snið:Infoboxtakn“

Úr SignWiki
Jump to navigation Jump to search
Lína 26: Lína 26:
 
<div style="width:90px;float:left;text-align:right;">{{{serving}}}</div>
 
<div style="width:90px;float:left;text-align:right;">{{{serving}}}</div>
 
</div>
 
</div>
<div class="{{#if:{{{major-ingredient1|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;border-top:1px solid #B5B7CF;">
+
<div class="{{#if:{{{tengslt1|}}}||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;">Tengd tákn</div>
 +
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl1}}}</div>
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl1}}}</div>
 
</div>
 
</div>
<div class="{{#if:{{{major-ingredient2|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
+
<div class="{{#if:{{{tengsl2|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div style="width:70px;float:left;text-align:left;">-</div>
 
<div style="width:70px;float:left;text-align:left;">-</div>
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl2}}}</div>
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl2}}}</div>
 
</div>
 
</div>
<div class="{{#if:{{{major-ingredient3|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
+
<div class="{{#if:{{{tengsl3|}}}||hiddenStructure}}" style="clear:left;font-size:12px;text-align:center;">
 
<div style="width:70px;float:left;text-align:left;">-</div>
 
<div style="width:70px;float:left;text-align:left;">-</div>
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl3}}}</div>
 
<div style="width:180px;float:left;text-align:right;">{{{tengsl3}}}</div>

Útgáfa síðunnar 18. október 2011 kl. 10:24

{{{name}}}
{{{texti}}}
Orðflokkur
[[:category:{{{ordflokkur}}}|{{{ordflokkur}}}]]
Type
{{{dish-type}}}
Prep time
{{{prep-time}}}
Cooking time
{{{cooking-time}}}
Serving
{{{serving}}}
Tengd tákn
{{{tengsl1}}}
-
{{{tengsl2}}}
-
{{{tengsl3}}}
Cooking Methods
{{{major-cooking-method}}}
Vegetarian
{{{vegetarian}}}
Diabetic Friendly
{{{diabetic}}}
Diet-friendly
{{{diet-friendly}}}
Gluten-free
{{{gluten-free}}}
Vegan
{{{vegan}}}
Kosher
{{{kosher}}}
halal
{{{halal}}}
Diabetic Friendly
{{{diabetic}}}
Credit
{{{credit}}}
EmbedVideo received the bad id "{{{youtube}}}?rel=0" for the service "youtube".

Usage

{{Infoboxtakn
| Image=   <!-- e.g. food.jpg>
| name=
| texti=  
| youtube= <!-- Youtube unique ID -->  
| ordflokkur=    <!--- t.d. sagnorð eða persónufornafn  -->
| prep-time=    <!--- Write down minutes. 2 hours are 60 minutes --> 
| cooking-time=  
| serving= 
| tengsl1=
| tengsl2=
| tengsl3=
| major-cooking-method=
| dish-type=  <!--- breakfast, lunch, dinner, snack, dessert, side dish, main -->
| credit=   
| <!--- Only answer "yes". If the answer is no, leave it blank -->
| vegetarian=
| diet-friendly=
| diabetic=
| vegan=
| gluten-free=
| halal=
| kosher=
}}