قالب:لغات رومانسية

من ويكيبيديا، الموسوعة الحرة
اذهب إلى: تصفح، ‏ ابحث

استخدم {{لغات رومانسية|وضع=collapsed}} لتظهر هذا القالب في حالته المطوية (المخفية).
استخدم {{لغات رومانسية|وضع=expanded}} لتظهر هذا القالب في حالته الممدودة (رؤية كاملة).
استخدم {{لغات رومانسية|وضع=autocollapse}} لتظهر هذا القالب في حالته المطوية (المخفية) إذا وجد قالب آخر من نفس النوع في الصفحة.


How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, مساعدة:قالب |name where name is one of the following names identifying the groups/sections (omit any speech or quote marks):
  • "Eastern and Southern" or "Italo-Western"
  • For example:

    This is the {{tlc}} template.

    This page is also the documentation for {{tld}} and {{tlf}} that work almost exactly the same.

    When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using <nowiki></nowiki> tags you can write it simpler and shorter by using these templates.

    Here is how these templates look. Code to the left and actual rendering to the right:

    {{tlc|name|parameters}} = {{name|parameters}}
    {{tld|name|parameters}} = {{name|parameters}}
    {{tlf|name|parameters}} = {{name|parameters}}

    These templates work similarly to {{tl}} and {{tlx}}, but they don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. So on the first occurrence of a template name use {{tl}} or {{tlx}}, and then use {{tlc}}, {{tld}} or {{tlf}}.

    Features of {{tlc}}, {{tld}} and {{tlf}}:

    • They show a template name and up to eight parameters.
    • They also show empty parameters. (See examples below.)
    • They prevent line wraps in their output.

    أمثلة[عدل]

    Wikitables make the <code></code> tags transparent, that's why the "code colouring" is missing in these examples.

    Code Result Comment
    {{tlc}} {{tlc|...}} Shows its own syntax.
    {{tlc|name}} {{name}}
    {{tlc|name|one}} {{name|one}}
    {{tlc|name|one|two}} {{name|one|two}}
    {{tlc|name|a|b|c|d|e|f|g|h|i|j}} {{name|a|b|c|d|e|f|g|h}} Shows up to eight parameters. The rest are dropped.
    {{tlc|name|||three|four}} {{name|||three|four}} Also shows empty parameters.
    {{tlc|name|||three||}} {{name|||three||}} Even shows empty parameters that come in the end.
    {{tlc|name|one=a|two=b}} {{name}} Equal signs is a problem, but there is a fix.
    {{tlc|name|2=one=a|3=two=b}} {{name|one=a|two=b}} Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

    If you have equal signs in your template parameters then it probably is simpler and clearer to code it using <nowiki> tags etc. Here are the codes to emulate {{tlf}}, {{tld}} and {{tlc}} respectively. Code to the left and actual rendering to the right:

    <nowiki>{{name|one=a|two=b}}</nowiki> = {{name|one=a|two=b}}
    <tt><nowiki>{{name|one=a|two=b}}</nowiki></tt> = {{name|one=a|two=b}}
    <code><nowiki>{{name|one=a|two=b}}</nowiki></code> = {{name|one=a|two=b}}

    انظر أيضاً[عدل]

    • {{tlc}} – Not linked, several parameters and text in <code></code> style.
    • {{tld}} – Not linked, several parameters and teletype text style.
    • {{tlf}} – Not linked, several parameters and normal text style.
    • {{tl}} – Template link, no parameters and normal text style.
    • {{tlx}} – Template link, several parameters and interwiki links, teletype text style.
    • {{tn}} – Same as {{tl}}, but shows the braces as part of the link.

List of Romance languages, including information from Ethnologue.com. Also listed are alternative names for languages, according to the same source. This message will not appear in the text of the article.