Munur á milli breytinga „Snið:Infoboxtakn“

Úr SignWiki
Jump to navigation Jump to search
Lína 5: Lína 5:
 
<div style="clear:left;font-size:12px;text-align:center;">
 
<div style="clear:left;font-size:12px;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:{{{cuisine|}}}||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;">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;">[[:category:{{{ordflokkur}}}|{{{ordflokkur}}}]]</div>
Lína 83: Lína 83:
 
</div>
 
</div>
 
</div></div>
 
</div></div>
{{#if:{{{Image|}}}|[[category:Orðabók]]|[[category:No image]]}}{{#if:{{{cuisine|}}}|[[category:{{#lowercase:{{{cuisine}}}}}]]}}{{#if:{{{dish-type|}}}|[[category:{{#lowercase:{{{dish-type}}}}}]]}}{{#if:{{{major-ingredient1|}}}|[[category:{{{major-ingredient1}}}]]}}{{#if:{{{major-ingredient2|}}}|[[category:{{{major-ingredient2}}}]]}}{{#if:{{{major-ingredient3|}}}|[[category:{{{major-ingredient3}}}]]}}{{#if:{{{vegetarian|}}}|[[category:vegetarian]]}}{{#if:{{{diabetic|}}}|[[category:diabetic]]}}{{#if:{{{diet-friendly|}}}|[[category:diet-friendly]]}}
+
{{#if:{{{Image|}}}|[[category:Orðabók]]|[[category:No image]]}}
{{#if:{{{vegan|}}}|[[category:vegan]]}}{{#if:{{{halal|}}}|[[category:halal]]}}{{#if:{{{kosher|}}}|[[category:kosher]]}}
 
  
 
{{#if: {{{youtube}}} | {{#ev:youtube|{{{youtube}}}?rel=0}} | No youtube video }}
 
{{#if: {{{youtube}}} | {{#ev:youtube|{{{youtube}}}?rel=0}} | No youtube video }}

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

{{{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=
}}