Diferencia entre revisiones de «Plantilla:RevistasCAAD»

De WikiCAAD
 
(No se muestran 15 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
<includeonly>{{Infobox
<noinclude>
|name        =  
</noinclude><!--
|bodystyle    = background-color: #f6f6f6; color:#000000  min-width: 300px; font-size:small; padding: 5px
--><templatestyles src="Template:Infobox/styles.css" /><!--
|title        =  
--><templatestyles src="Template:Skin/styles.css" /><!--
|titlestyle  =  
--><templatestyles src="Template:Extension/status.css" /><!--
|above        = {{{Name|{{{name|{{PAGENAME}}}}}}}} {{#if:{{{rating|}}}|<br/>{{Red|The ''rating'' parameter for this template is deprecated; use the ''difficulty'' parameter instead}}|}}
--><includeonly>
|abovestyle  = background-color: #96b9fa; font-size:medium; overflow-wrap: break-word; width:300px;
<table class="infobox infobox-{{dir|{{PAGELANGUAGE}}}} skin-infobox ext-status-{{#switch: {{lc: {{{status|unknown}}} }}
|unmaintained|unstable|experimental|beta|stable={{{status}}}
|#default=unknown
}}">
<tr class="infobox-header skin-infobox-header" style="text-align:{{dir|{{PAGELANGUAGE}}|right|left}}">
<th colspan="2" style="text-align:center">
<span style="font-size: 130%;">
{{{Titulo|{{PAGENAME}}}}}</span><br />{{{autor|}}} ({{{year|}}})
</th>
<tr>
<td colspan="2" style="text-align: center;"><div class="overlay">
</div>[[Image:{{{imagen}}}|{{{imagesize|220}}}px]]</td>
</tr>
{{#if:{{{year|}}}|
<tr>
<td style="vertical-align: middle">'''Año'''</td>
<td>
[[:Categoría:Anuario_{{{year}}}|{{{year}}}]]
</td>
</tr>
}}
{{#if:{{{lanzamiento|}}}|
<tr>
<td style="vertical-align: middle">'''Meses'''</td>
<td>
{{{lanzamiento|}}}
</td>
</tr>
}}
{{#if:{{{paginas|}}}|
<tr>
<td style="vertical-align: middle">'''Págs.'''</td>
<td>
{{{paginas|}}}
</td>
</tr>
}}
{{#if:{{{colaboradores|}}}|
<tr>
<td style="vertical-align: middle;">'''Colaboradores'''</td>
<td>
{{#arraymap: {{{colaboradores|}}} |, |x|
  {{#if: {{#titleparts:x|1}} | <!-- Si la primera parte del token no está vacía -->
    [[{{#titleparts:x|1}}]]{{#ifeq:{{#titleparts:x|2}}| | |}}
  }}
}}
</td>
</tr>
}}


|imagestyle  = text-align: center;
{{#if:{{{portada|}}}|
|captionstyle =
<tr>


|image        = {{{Image|{{{image|{{{5| }}}}}}}}} {{#if:{{{Image|{{{image|{{{5|}}}}}}}}}| {{#if:{{{Noincludecat|{{{noincludecat|}}}}}}||[[Category:Recipes with images|{{PAGENAME}}]]}} }}
<td>
|caption      =
{{#arraymap: {{{portada|}}} |, |x|
|image2      =
  {{#if: {{#titleparts:x|1}} | <!-- Si la primera parte del token no está vacía -->
|caption2    =
    [[{{#titleparts:x|1}}]]{{#ifeq:{{#titleparts:x|2}}| | |}}  
  }}
}}
</td>
</tr>
}}


|headerstyle  =
</table>
|labelstyle  = text-align: left;
|datastyle    =


|header1  =
<includeonly>
|label1  = Category
|data1    = {{ #if: {{{Category|{{{category|{{{1|}}}}}}}}}|[[:Category:{{{Category|{{{category|{{{1}}}}}}}}}|{{{Category|{{{category|{{{1}}}}}}}}}]] }}
|header2  =
|label2  = Yield
|data2    = {{{Yield|{{{yield|{{{8|}}}}}}}}}
|header3  =
|label3  = Servings
|data3    = {{{Servings|{{{servings|{{{2|}}}}}}}}}
|header4  =
|label4  = Energy
|data4    = {{{Energy|{{{energy|{{{6|}}}}}}}}}
|header5  =
|label5  = Time
|data5    = {{{Time|{{{time|{{{3|}}}}}}}}}
|header6  =
|label6  = Difficulty
|data6    = {{#if:{{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|<span class="metadata">[[File:{{{Difficulty|{{{difficulty|{{{4}}}}}}}}}o5dots.svg|{{#switch:{{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|1=Very Easy|2=Easy|3=Medium|4=Difficult|5=Very Difficult}}]]</span>{{#if:{{{Noincludecat|{{{noincludecat|}}}}}}||{{#if:{{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|[[Category:{{#switch:{{{Difficulty|{{{difficulty|{{{4|}}}}}}}}}|1=Very Easy|2=Easy|3=Medium Difficulty|4=Difficult|5=Very Difficult}} recipes|{{PAGENAME}}]]}}}}}}
|label7  = Note
|data7    = {{{Note|{{{note|{{{6|}}}}}}}}}


|belowstyle =
[[Categoría:Revistas]]
|below =
</includeonly>
}}{{ #if: {{{Servings|{{{servings|{{{2|}}}}}}}}}||{{{Noincludecat|{{{noincludecat|[[Category:Recipes without servings|{{PAGENAME}}]]}}}}}} }}{{ #if: {{{Time|{{{time|{{{3|}}}}}}}}}||{{{Noincludecat|{{{noincludecat|[[Category:Recipes without cooking time|{{PAGENAME}}]]}}}}}} }}</includeonly><noinclude>{{documentation}}<templatedata>
{
"params": {
"Name": {
"aliases": [
"name"
],
"description": "The name of the recipe. Defaults to PAGENAME if not set.",
"type": "string",
"autovalue": "{{subst:PAGENAME}}"
},
"rating": {
"label": "Rating",
"type": "number",
"deprecated": "Use the difficulty parameter instead"
},
"Image": {
"aliases": [
"image",
"5"
],
"description": "An image of the product of the recipe",
"example": "[[File:Hamburger_sandwich.jpg|300px]]",
"type": "unbalanced-wikitext",
"suggested": true
},
"Noincludecat": {
"description": "When this parameter is set to anything, don't put the page in the category specified in the \"category\" parameter.",
"type": "boolean"
},
"Category": {
"aliases": [
"category",
"1"
],
"description": "Category of the recipe.",
"example": "Dessert recipes",
"type": "unknown",
"suggested": true
},
"Yield": {
"aliases": [
"yield",
"8"
],
"description": "How much the recipe makes.",
"example": "24 cookies, 2 cups, 500 g, etc.",
"suggested": true
},
"Servings": {
"aliases": [
"servings",
"2"
],
"description": "The number(s) of servings the recipe would make.",
"example": "1~2",
"suggested": true
},
"Energy": {
"aliases": [
"energy",
"6"
],
"description": "Energy intake of the product of the recipe.",
"example": "100 Cal (400 kJ)",
"type": "string",
"suggested": true
},
"Time": {
"aliases": [
"3"
],
"description": "Time needed to complete the recipe.",
"example": "30 minutes",
"suggested": true
},
"Difficulty": {
"aliases": [
"difficulty",
"4"
],
"description": "The difficulty of finishing the recipe on a scale of 1~5.",
"type": "number",
"suggestedvalues": [
"1",
"2",
"3",
"4",
"5"
],
"suggested": true
},
"Note": {
"aliases": [
"note",
"7"
],
"description": "Any notes on the recipe.",
"type": "string"
}
},
"description": "Infobox for recipes in the cookbook",
"paramOrder": [
"Name",
"Category",
"Yield",
"Servings",
"Time",
"Difficulty",
"Image",
"Energy",
"Note",
"Noincludecat",
"rating"
],
"format": "block"
}
</templatedata></noinclude>

Revisión actual - 18:58 12 jul 2024