راهنما:ویرایش ویکی‌نبشته: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
Yoosef Pooranvary (بحث | مشارکت‌ها)
Yoosef Pooranvary (بحث | مشارکت‌ها)
خط ۷۵:
::هر چه تعداد دونقطه‌ها بیشتر شوند، تورفتگی بیشتر می‌شود.
}}
 
=== الگوها و سایر جلوه‌های دیداری ===
در ویکی‌نبشته الگوها محبوب‌ترین رویکرد برای پیاده‌سازی قالب‌بندی‌های پیچیده‌تر هستند. الگو ها با دو جفت ابرو <nowiki>{{ }}</nowiki> در متن به کار می‌روند. در میان این دو ابرو غالباً از یک نویسهٔ «|» برای افزودن مقادیر استفاده می‌شود.
{{سنجش
|t1='''آنچه که تایپ می‌کنید'''
|t2='''آنچه که ویکی‌نبشته نمایش می‌دهد'''
| <nowiki>اگر خواهان اندازه قلم {{بزرگتر|بزرگتر}} یا {{کوچکتر|کوچکتر}} هستید، الگوها بهترین گزینه هستند.</nowiki>
| اگر خواهان اندازه قلم {{بزرگتر|بزرگتر}} یا {{کوچکتر|کوچکتر}} هستید، الگوها بهترین گزینه هستند.
| <nowiki>ما از اندازه‌های مطلق نظیر «بزرگ» استفاده نکرده‌ایم تا خواندن متن به هر اندازه که باشد آسان باشد اما شما می‌توانید متون را {{بزرگتر۱|حتی بزرگتر}} و {{بزرگتر۲|خیلی بزرگتر}} کنید. از سوی دیگر می‌توانید متن را {{کوچکتر۱|خیلی کوچتر}} و {{کوچکتر۲|ریز}} هم بکنید.</nowiki>
| ما از اندازه‌های مطلق نظیر «بزرگ» استفاده نکرده‌ایم تا خواندن متن به هر اندازه که باشد آسان باشد اما شما می‌توانید متون را {{بزرگتر۱|حتی بزرگتر}} و {{بزرگتر۲|خیلی بزرگتر}} کنید. از سوی دیگر می‌توانید متن را {{کوچکتر۱|خیلی کوچتر}} و {{کوچکتر۲|ریز}} هم بکنید.
|<nowiki>{{center|'''A centred title'''}}</nowiki>
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
|{{center|'''A centred title'''}}
Note that you can use any normal formatting within the template. In this case "center" is often abbreviated to "c".
|<nowiki>You can also do
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
{{justify|But if you want to use '''justified text''', this is also available in a similar way. Note in these examples that the template may introduce a new paragraph implicitly.}}
</nowiki>
|You can also do
{{right|'''right aligned''' text}} and the normal is {{left|'''left aligned'''.}}
{{justify|But if you want to use '''justified text''', this is available in a similar way. Note in these examples that the template may introduce a new paragraph implicitly.}}
| <nowiki>The '''rule''' template {{rule|5em}} uses its argument to govern the length of the rule: "em" is the width of a single wide character whereas "px" stands for pixels.</nowiki>
| The '''rule''' template {{rule|5em}} uses its argument to govern the length of the rule: "em" is the width of a single wide character whereas "px" stands for pixels.
}}
 
*See also {{tl|hanging indent}}, {{tl|drop initial}}, {{tl|gap}}, etc., in [[:Category:Formatting templates]]. The use of {{tl|running header}}, {{tl|Hyphenated word start}}, etc., is explained at [[Help:Proofread]]
 
===تیتر===