Content deleted Content added
m FennecBot moved page Template:אריח עם אנימציה to Template:Animated tile |
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|}}}|'|\'}}' |
|||
|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| |
<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", |
||
| ⚫ | |||
"content-box", |
"content-box", |
||
| ⚫ | |||
"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
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
תבנית אב ליצירת אריחים
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| קישור | link | שם הדף אליו האריח מקשר | Page name | required |
| תמונה | image | תמונת רקע | File | suggested |
| כותרת | title | הכותרת שתוצג (במידה ושונה מהקישור) | Unknown | suggested |
| Content | content-box | no description | Content | suggested |
| מרחב שם | prefix | תחילית מרחב השם
| String | suggested |
| עמודות בנייד | mobile-columns | מספר העמודות מתוך 12 שהאריח יתפוס בנייד (1-12)
| Number | suggested |
| רוחב | columns | מספר העמודות שהאריח יתפוס מתוך 12 (1-12)
| Number | suggested |
| קלאס | class קלאס | קלאס (אופציונאלי) לאריח | String | suggested |
| כיוון החץ | align-arrow | center left right
| String | suggested |
| פונט-אוסם | fa | קלאס פונט אוסם ללא התחילית (למשל - envelope) | String | suggested |
| טקסט כפתור | button-text | טקסט לכפתור (במקום החץ) | Unbalanced wikitext | suggested |
| קלאס לכפתור לקריאה נוספת | btn-class | no description | Unknown | suggested |
| שם האייקון | icon | no description | Unknown | suggested |
| עיצוב נוסף | style | עיצוב | Unknown | suggested |
| רקע האייקון | background | no description | Unknown | suggested |
| גובה האריח | height | no description | Unknown | optional |
| גובה התמונה | image-height | no description | Unknown | suggested |
| ללא שקיפות במעבר עכבר | no-opacity | no description | Unknown | suggested |
| גודל האייקון (במספרים 1-5) | icon-size | no description | Unknown | suggested |
| צבע האייקון | icon-color | no description | Unknown | suggested |
| רקע תוכן | text-background | no description | Unknown | suggested |
| צבע התוכן | text-color | no description | Unknown | optional |
| להציג ללא חץ לקישור | noarrow | no description | Unknown | suggested |
| md-columns | md-columns | no description | Unknown | optional |
| linkable | linkable | האם אנחנו רוצים להוסיף לינק (שצריך לתפוס בעיצוב) שיכול על כל התיבה) | Boolean | optional |
| h-size | h-size | no description | Unknown | optional |
| body-text-size | body-text-size | no description | Unknown | optional |
| order | order | no description | Unknown | optional |