תבנית:Main other – הבדלי גרסאות
יצירת דף עם התוכן "{{safesubst:<noinclude/>#switch: <noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude> {{safesubst:<noinclude/>#if:{{{demospace|}}} | {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude> | {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:0}} | main | other }} }} | main = {{{1|}}} | other | #defa..." |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
{{ | {{#בחר: | ||
{{#תנאי:{{{הדגמה|}}} | |||
{{ | |{{{הדגמה}}} | ||
| {{ | |{{#שווה:{{מרחב השם}}|{{מרחב שם:0}} | ||
| {{ | |ראשי | ||
| | |אחר | ||
| | }} | ||
}} | |||
}} | }} | ||
| | |ראשי={{{1|}}} | ||
| | |אחר | ||
| # | |#ברירת מחדל={{{2|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{תיעוד}} | |||
{{ | [[קטגוריה:תבניות עזר לתבניות]] | ||
< | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"description": { | |||
"he": "ערך הפרמטר יוצג אם התבנית הוטמעה במרחב הראשי" | |||
}, | |||
"label": "במרחב הראשי", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"2": { | |||
"description": { | |||
"he": "ערך הפרמטר יוצג אם התבנית הוטמעה מחוץ למרחב הראשי" | |||
}, | |||
"label": "מחוץ למרחב הראשי", | |||
"required": false, | |||
"suggested": true | |||
}, | |||
"הדגמה": { | |||
"description": { | |||
"he": "הפרמטר משמש לבדיקת התבנית: אם קיבל את הערך \"ראשי\", התבנית תתנהג כאילו הוטמעה במרחב הראשי; אם קיבל את הערך \"אחר\", התבנית תתנהג כאילו הוטמעה מחוץ למרחב הראשי" | |||
}, | |||
"label": "הדגמה", | |||
"suggestedvalues": [ | |||
"ראשי", "אחר" | |||
], | |||
"required": false, | |||
"suggested": false, | |||
"type": "line" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"הדגמה" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||