הבדלים בין גרסאות בדף "תבנית:באנר"

מאגר הידע של דואלוג: מאגר הידע המקיף בעברית בתחומי האסטרטגיה והחשיבה המערכתית
קפיצה לניווט קפיצה לחיפוש
 
(43 גרסאות ביניים של 3 משתמשים אינן מוצגות)
שורה 1: שורה 1:
<div id="image-banner" {{#תנאי:{{{title|}}}|title="{{{title}}}"|}} {{#תנאי:{{{עיצוב|}}}|style="{{{עיצוב}}}"|}}>
+
<includeonly>{{#htmlbeforetitle:
 +
<div id="image-banner" {{#תנאי:{{{title|}}}|title="{{{title}}}"|}} {{#תנאי:{{{עיצוב|}}}{{{פריסה|}}}|style="{{#תנאי:{{{פריסה|}}}|background-size:{{{פריסה|contain}}};}}{{{עיצוב}}}"|}} class="tooltip {{{class|}}} {{#if:{{{contain|}}}|contained}}">
 
     <div class="art__hero__txt">
 
     <div class="art__hero__txt">
 
         <div id="newHeading">
 
         <div id="newHeading">
 
         </div><br />
 
         </div><br />
<html><a href="#content" id="heroButton"><i class="fa fa-chevron-circle-down"></i></a>
+
<div id="heroButton">[[{{FULLPAGENAME}}#breadcrumbs2|<i class="fal fa-chevron-circle-down"></i>]]
<div id="fullScreen" class="fullScreen" title="לצפיה במסך מלא"></div>
+
</div>
</html>
+
</div>
    </div>
+
{{#תנאי:{{{קישור|}}}|<div id="fullScreen" class="fullScreen" title="לצפיה במסך מלא"><htmltag tagname="a" rel="nofollow" target="_blank" href="{{{קישור}}}" class="image hide fancybox"></htmltag></div>|}} }}
 
</div>
 
</div>
{{#תנאי:{{{קישור|}}}|<htmltag tagname="a" rel="nofollow" target="_blank" href="{{{קישור}}}" class="image hide fancybox"></htmltag>|}}
 
 
{{#תנאי:{{{תמונה|}}}|[[file:{{{תמונה|Intro1.jpg}}}|1500px|class=hide|]]|}}
 
{{#תנאי:{{{תמונה|}}}|[[file:{{{תמונה|Intro1.jpg}}}|1500px|class=hide|]]|}}
<div class="hide">{{#תנאי:{{{תמונה2|}}}|{{תמונה|{{{תמונה2}}}|}}|}}</div>
+
<div class="hide">{{#if:{{{תמונה2|}}} |{{תמונה|{{{תמונה2}}}|}}|}}</div>
 +
{{#seo:|og:image={{{ogimage|{{{תמונה|{{filepath:{{{תמונה2|}}} }} }}} }}} }}[[קטגוריה:באנר]]{{#vardefine:featured_image_src|{{#if:{{{תמונה|}}}|{{filepath:{{{תמונה}}} }}|{{{תמונה2|}}} }} }}</includeonly>
 +
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"תמונה": {
 +
"label": "תמונה פנימית ",
 +
"type": "wiki-file-name",
 +
"suggested": true
 +
},
 +
"תמונה2": {
 +
"label": "כתובת תמונה חיצונית",
 +
"type": "url"
 +
},
 +
"title": {
 +
"label": "כותרת עבור SEO"
 +
},
 +
"עיצוב": {
 +
"example": "עיצוב נוסף"
 +
},
 +
"קישור": {},
 +
"ogimage": {
 +
"label": "og:image",
 +
"description": "הוספת תמונה לרשתות חברתיות",
 +
"type": "url"
 +
},
 +
"פריסה": {
 +
"suggested": true
 +
},
 +
"class": {
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"contain": {
 +
"label": "פריסת תמונה: מוכלת",
 +
"type": "boolean",
 +
"suggested": true
 +
}
 +
},
 +
"description": "תבנית להוספת hero (באנר תמונה) בראש הדף. "
 +
}
 +
</templatedata>
 +
</noinclude>

גרסה אחרונה מ־13:00, 23 בדצמבר 2022


תבנית להוספת hero (באנר תמונה) בראש הדף.

פרמטרים של תבניות

פרמטרתיאורסוגמצב
תמונה פנימית תמונה

אין תיאור

קובץמוצע
כתובת תמונה חיצוניתתמונה2

אין תיאור

URLלא דרוש
כותרת עבור SEOtitle

אין תיאור

בלתי־ידועלא דרוש
עיצובעיצוב

אין תיאור

דוגמה
עיצוב נוסף
בלתי־ידועלא דרוש
קישורקישור

אין תיאור

בלתי־ידועלא דרוש
og:imageogimage

הוספת תמונה לרשתות חברתיות

URLלא דרוש
פריסהפריסה

אין תיאור

בלתי־ידועמוצע
Classclass

אין תיאור

מחרוזתמוצע
פריסת תמונה: מוכלתcontain

אין תיאור

בוליאנימוצע

הודפס מתוך מאגר הידע של דואלוג בכתובת: "https://doalogue.co.il/wiki/index.php?title=תבנית:באנר&oldid=11910"

משותף תחת רישיון CC-BY 4.0. ניתן להפיץ באופן חופשי תוך מתן קרדיט לדואלוג וקישור למקור.