Template:Animated tile: Difference between revisions

Content deleted Content added
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
== Animated tile with image ==
{{animated tile|}}


<div class="row p-5 light-bg1">
== Animated tile with icon ==
{{animated tile||image=Fox on shelf.jpg|link=Template:Animated tile|title=Animated with image|content-box=This is an animated tile with an image but no shadow. Click it to get back here.|align-arrow=right|dir=right|no-shadow=yes}}
{{animated tile|}}
{{animated tile|link=Template:Animated tile|title=Animated tile with icon|icon=acorn|content-box=This is an animated tile with fontawesome icon|align-arrow=right|dir=right}}</div>
</noinclude><includeonly><div class="ourSpecials panel-wrp col-sm-{{{mobile-columns|12}}} col-md-{{{md-columns|6}}} col-lg-{{{columns|4}}} {{{class|}}} {{#if: {{{order|}}}|order-{{{order}}} }}">
</noinclude><includeonly><div class="ourSpecials panel-wrp col-sm-{{{mobile-columns|12}}} col-md-{{{md-columns|6}}} col-lg-{{{columns|4}}} {{{class|}}} {{#if: {{{order|}}}|order-{{{order}}} }}">
<div class="panel-with-animation">{{#if:{{{linkable|}}}|[[{{{link|{{{prefix|}}}{{{title|}}}}}}|{{#if: {{{button-text|}}} | {{{button-text|}}} |{{{title|}}}}}]]|}}
<div class="panel-with-animation">{{#if:{{{linkable|}}}|[[{{{link|{{{prefix|}}}{{{title|}}}}}}|{{#if: {{{button-text|}}} | {{{button-text|}}} |{{{title|}}}}}]]|}}
<div class="panel panel-default" {{#if: {{{height|}}}|style="height:{{{height|}}}"|}}>
<div class="panel panel-default {{#if:{{{no-shadow|}}}|no-shadow|shadow}}" {{#if: {{{height|}}}|style="height:{{{height|}}}"|}}>
{{#vardefine:image_cargo|{{#cargo_query:tables=banner_image
|fields=CONCAT('',image)=image
|where=_pageName='{{#replace:{{{link|}}}|&#39;|\'}}'
|format=template
|template=שורה פשוטה
|default=
}} }}
<div class="fennec-wiskers-img-container {{#if: {{{icon|}}}|icon-size|}}" style="{{#if:{{{image-height|}}}|height: {{{image-height}}};|}}{{#if:{{{no-opacity|}}}|opacity: 1;|}}">
<div class="fennec-wiskers-img-container {{#if: {{{icon|}}}|icon-size|}}" style="{{#if:{{{image-height|}}}|height: {{{image-height}}};|}}{{#if:{{{no-opacity|}}}|opacity: 1;|}}">
<p class="fennec-wiskers-img-container-p text-center" {{#if: {{{style|}}}{{{background|#3f91af}}} | style="{{#if: {{{style|}}}|{{{style|}}}|}} background-color:{{{background|#3f91af}}}" |}}>
<p class="fennec-wiskers-img-container-p text-center {{#if:{{{background|}}}||f-purple-bg}}" {{#if: {{{style|}}}{{{background|}}} | style="{{{style|zoom: normal;}}}; {{#if:{{{background|}}}|background-color:{{{background}}}|}}" |}}>
{{#if: {{{icon|}}}|[[{{{link|{{{prefix|}}}{{{title|}}} }}}|{{I|{{{icon}}}|fal|size={{{icon-size|4}}}|padding=5|color={{{icon-color|#fff}}}}}]]|
{{#if: {{{icon|}}}|[[{{{link|{{{prefix|}}}{{{title|}}} }}}|{{I|{{{icon}}}|fal|size={{{icon-size|4}}}|padding=5|color={{{icon-color|#fff}}}}}]]|
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{tile bg image
{{תמונת רקע באריח
|image={{{image}}}
|image={{{image}}}
|link={{{link|}}}
|link={{{link|}}}
Line 25: Line 17:
|title={{{title|}}}
|title={{{title|}}}
|image-height={{{image-height|}}}
|image-height={{{image-height|}}}
}}|{{#if:{{#var:image_cargo }}|{{תמונת רקע באריח
}}|{{#if:{{#var:image_cargo }}|{{tile bg image
|image={{#var:image_cargo}}
|image={{#var:image_cargo}}
|link={{{link|}}}
|link={{{link|}}}
Line 41: Line 33:
</div>
</div>
</div>
</div>
{{#if: {{{noarrow|}}}||<p class="arrow-icon text-{{{align-arrow|left}}}">[[{{{link|{{{prefix|}}}{{{title|}}}}}}|{{#if: {{{button-text|}}} | {{{button-text|}}} |<i class="fas fa-{{{fa|arrow-alt-circle-left}}} btn {{{btn-class|}}}"></i>}}]]</p>}}
{{#if: {{{noarrow|}}}||<p class="arrow-icon text-{{{align-arrow|left}}}">[[{{{link|{{{prefix|}}}{{{title|}}}}}}|{{#if: {{{button-text|}}} | {{{button-text|}}} |<i class="fas fa-{{{fa|arrow-alt-circle-{{{dir|left}}}}}} btn {{{btn-class|}}}"></i>}}]]</p>}}
</div>
</div>
</div>
</div>
Line 93: Line 85:
"prefix": {
"prefix": {
"label": "מרחב שם",
"label": "מרחב שם",
"description": "תחילים מרחב השם ",
"description": "תחילית מרחב השם ",
"example": "פעילות:",
"example": "פעילות:",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"content-box": {},
"content-box": {
"label": "Content",
"type": "content",
"suggested": true
},
"align-arrow": {
"align-arrow": {
"label": "כיוון החץ",
"label": "כיוון החץ",
Line 171: Line 167:
},
},
"h-size": {},
"h-size": {},
"body-text-size": {}
"body-text-size": {},
"order": {}
},
},
"description": "תבנית אב ליצירת אריחים",
"description": "תבנית אב ליצירת אריחים",
Line 178: Line 175:
"image",
"image",
"title",
"title",
"prefix",
"content-box",
"content-box",
"prefix",
"mobile-columns",
"mobile-columns",
"columns",
"columns",
Line 201: Line 198:
"linkable",
"linkable",
"h-size",
"h-size",
"body-text-size"
"body-text-size",
"order"
]
]
}
}

Latest revision as of 16:48, 26 October 2022


tile background image

Animated with image

This is an animated tile with an image but no shadow. Click it to get back here.

Animated tile with icon

This is an animated tile with fontawesome icon


תבנית אב ליצירת אריחים

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
קישורlink

שם הדף אליו האריח מקשר

Page namerequired
תמונהimage

תמונת רקע

Filesuggested
כותרתtitle

הכותרת שתוצג (במידה ושונה מהקישור)

Unknownsuggested
Contentcontent-box

no description

Contentsuggested
מרחב שםprefix

תחילית מרחב השם

Example
פעילות:
Stringsuggested
עמודות בניידmobile-columns

מספר העמודות מתוך 12 שהאריח יתפוס בנייד (1-12)

Example
12
Numbersuggested
רוחבcolumns

מספר העמודות שהאריח יתפוס מתוך 12 (1-12)

Example
4
Numbersuggested
קלאסclass קלאס

קלאס (אופציונאלי) לאריח

Stringsuggested
כיוון החץalign-arrow

center left right

Example
center
Stringsuggested
פונט-אוסםfa

קלאס פונט אוסם ללא התחילית (למשל - envelope)

Stringsuggested
טקסט כפתורbutton-text

טקסט לכפתור (במקום החץ)

Unbalanced wikitextsuggested
קלאס לכפתור לקריאה נוספתbtn-class

no description

Unknownsuggested
שם האייקוןicon

no description

Unknownsuggested
עיצוב נוסףstyle

עיצוב

Unknownsuggested
רקע האייקוןbackground

no description

Unknownsuggested
גובה האריחheight

no description

Unknownoptional
גובה התמונהimage-height

no description

Unknownsuggested
ללא שקיפות במעבר עכברno-opacity

no description

Unknownsuggested
גודל האייקון (במספרים 1-5)icon-size

no description

Unknownsuggested
צבע האייקוןicon-color

no description

Unknownsuggested
רקע תוכןtext-background

no description

Unknownsuggested
צבע התוכןtext-color

no description

Unknownoptional
להציג ללא חץ לקישורnoarrow

no description

Unknownsuggested
md-columnsmd-columns

no description

Unknownoptional
linkablelinkable

האם אנחנו רוצים להוסיף לינק (שצריך לתפוס בעיצוב) שיכול על כל התיבה)

Booleanoptional
h-sizeh-size

no description

Unknownoptional
body-text-sizebody-text-size

no description

Unknownoptional
orderorder

no description

Unknownoptional