תבנית:חלונית – הבדלי גרסאות
מ החלפת טקסט – " " ב־" " |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
<includeonly> | <noinclude>{{ניהול פרמטרים/תוכן}}</noinclude><includeonly>{{#invoke:ParamValidator|validateparams|module_options=יחידה:PV-options}}</includeonly><includeonly>{| class="infobox" cellspacing="5" {{#תנאי:{{{מרכז|}}}|align="center" style="margin:auto; |style="clear:left; float:left;margin:1px 7px 1px 1px; }} {{#תנאי:{{{ניקוד|}}}|font-family:David;}} font-size:{{#תנאי:{{{ניקוד|}}}|120|85}}%; background:{{{רקע|#c6dbf7}}}; width:{{{רוחב|20em}}}; border:1px #aaaaaa solid; max-width:{{{רוחב מקסימלי|40%}}};" | ||
{| class=" | |||
{{#if:{{{כותרת|{{{1|}}}}}}|! style="background:{{{רקע כותרת|#9999ff}}};" {{!}}<div style="text-align:center;"> | {{#if:{{{כותרת|{{{1|}}}}}}|! style="background:{{{רקע כותרת|#9999ff}}};" {{!}}<div style="text-align:center;"> | ||
{{{כותרת|{{{1|}}}}}} </div> }} | {{{כותרת|{{{1|}}}}}} </div> }} | ||
| שורה 9: | שורה 8: | ||
| style="{{#if:{{{יישור|}}}|text-align: {{{יישור|right}}};}} {{#שווה:{{{יישור|}}}|left|direction:ltr;}}" | | | style="{{#if:{{{יישור|}}}|text-align: {{{יישור|right}}};}} {{#שווה:{{{יישור|}}}|left|direction:ltr;}}" | | ||
{{{תוכן|{{{2|}}}}}} | {{{תוכן|{{{2|}}}}}} | ||
|- | |||
|{{#תנאי:{{{תוכן במקור|<noinclude>-</noinclude>}}}|<div class="mw-collapsible mw-collapsed" style="text-align:left; color:#808080; border:0; overflow:hidden;"> | |||
<div style="text-align:right; color:#666;">המקור ב{{{שפה}}}</div> | |||
<div dir="ltr" class="mw-collapsible-content">{{{תוכן במקור}}}</div> | |||
</div>}} | |||
|- | |- | ||
| style="text-align:left; {{#תנאי:{{{ניקוד|}}}|font-family:David;}} " | {{{מקור|{{{3|}}}}}} | | style="text-align:left; {{#תנאי:{{{ניקוד|}}}|font-family:David;}} " | {{{מקור|{{{3|}}}}}} | ||
| שורה 27: | שורה 31: | ||
}, | }, | ||
"ניקוד": { | "ניקוד": { | ||
"description": "להגדיר גופן מתאים לניקוד. אם מגדירים ניקוד=כן הגופן בתבנית יהיה david המתאים לטקסט מנוקד", | "description": "להגדיר גופן מתאים לניקוד. אם מגדירים ניקוד=כן הגופן בתבנית יהיה david המתאים לטקסט מנוקד", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
| שורה 43: | שורה 47: | ||
}, | }, | ||
"כותרת": { | "כותרת": { | ||
"description": "תוכן של הכותרת. | "description": "תוכן של הכותרת. אופציונלי. ברירת מחדל ריק.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"aliases": [ | |||
"1" | |||
] | |||
}, | }, | ||
"רקע כותרת": { | "רקע כותרת": { | ||
| שורה 52: | שורה 59: | ||
}, | }, | ||
"יישור": { | "יישור": { | ||
"description": "יישור הטקסט בתוך החלונית. האפשרויות הן: center (מרכז), left (שמאל) | "description": "יישור הטקסט בתוך החלונית. האפשרויות הן: center (מרכז), left (שמאל) או right (ימין). ברירת מחדל היא יישור לימין", | ||
"type": "string" | "type": "string", | ||
"suggestedvalues": [ | |||
"center", | |||
"left", | |||
"right" | |||
] | |||
}, | }, | ||
"תוכן": { | "תוכן": { | ||
"description": "תוכן הטקסט שיכתב.", | "description": "תוכן הטקסט שיכתב.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"aliases": [ | |||
"2" | |||
] | |||
}, | }, | ||
"מקור": { | "מקור": { | ||
"description": "מקור של תוכן הטקסט, שיופיע בחלק התחתי", | "description": "מקור של תוכן הטקסט, שיופיע בחלק התחתי", | ||
"type": "string", | |||
"aliases": [ | |||
"3" | |||
] | |||
}, | |||
"תוכן במקור": { | |||
"description": "הציטוט בשפה המקורית, במקרה של ציטוט מתורגם", | |||
"type": "string" | |||
}, | |||
"שפה": { | |||
"description": "השפה המקורית של הציטוט", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||