قالب:Tlxs/شرح

من ويكيبيديا، الموسوعة الحرة

This template creates a template link to templatespace for templates which require substitution as well as parameters. For templates that don't take parameters, try {{نقا}}.

Syntax[عدل]

     {{tlxs|template|first parameter|second parameter|third|...|tenth}} {{نسخ:template|first parameter|second parameter|third|...|tenth}}

Where parameters to be illustrated might contain one or more equals-signs ("="), replace each equals-sign with {{=}}:

     {{tlxs|template|first{{=}}something|second|third{{=}}something...|tenth}} {{نسخ:template|first=something|second|third=something|...|tenth}}

If an eleventh parameter ore more are included, ... will appear at the end of the code created by this template.

To have the illustrated template name show in bold (e.g. to match use of {{tlxb}} in the same material) add the |bold=y (or |bold=yes, etc.) parameter:

          {{tlxs|bold=y|template|first parameter|...}} {{نسخ:template|first parameter|...}}

طالع أيضاً[عدل]

General-purpose formatting[عدل]

Comparison of template-linking templates according to the styles of generated text and link produced
Text style ↓ {{tlg}} options[أ]
to achieve text style
Link style
Linked Unlinked Linked with subst Unlinked with subst Linked including braces Linked with alternative text
{{tlg}} options[أ]
to achieve link style
DEFAULT nolink=yes subst=yes nolink=yes|subst=yes braceinside=yes alttext=Foo
2=Foo
normal DEFAULT {{tlg}}[أ]
{{وصلة قالب}}
{{قاو|1}}[ب]
{{Template:tlu}}[ج]
{{وصلة قالب بوصلة موقوفة}}[ب]
<template link>
{{نسخ:نقا}}
{{نسخ:Template:tlsu}}[ج]
قالب:Tlsf[ب]
<template link  [لغات أخرى]‏>
{{tn}} {{tla}}
code code=yes {{tl2}}
{{tlx}}
{{Template:tlxu}}[ج]
{{tlc}}[ب]
<template link>
تم كشف حلقة قالب: قالب:Tnull<template link>
{{نسخ:tlxs}} {{نسخ:tlsc}}[ب]
<template link>
monospace plaincode=yes[د] {{subst:tltss}}[ه]
kbd kbd=yes[ه]
bold bold=yes {{tlb}}
bold+code bold=yes|code=yes {{tlxb}}
italic+code italic=yes|code=yes {{tlxi}}
الوسم <ref> في <references> فيه خاصية group متضاربة "arabic-abajed".

Other formatting templates[عدل]

Templates producing specialised formatting effects for given templates, modules or parameters
Code example Effect Notes
{{Template journal|Hatnote|Some text|selfref: yes|category: no|lang: fr}}
{{Hatnote
| Some text
| selfref = yes
| category = no
| lang = fr
}}
Supports colors, placeholder texts, named and unnamed parameters
<syntaxhighlight lang="wikitext">
{{ملاحظة علوية
   | Some text
   | selfref = yes
   | category = no
   | lang = fr
}}
</syntaxhighlight>
{{ملاحظة علوية
    | Some text
    | selfref = yes
    | category = no
    | lang = fr
}}
Same as above
{{Tji|Hatnote|Some text|selfref: yes|category: no|lang: fr}} {{Hatnote|Some text|selfref=yes|category=no|lang=fr}} Supports colors, placeholder texts, named and unnamed parameters
<syntaxhighlight lang="wikitext" inline>{{ملاحظة علوية|Some text|selfref=yes|category=no|lang=fr}}</syntaxhighlight> {{ملاحظة علوية|Some text|selfref=yes|category=no|lang=fr}} Same as above
{{tl2|Hatnote|lang=fr}} {{hatnote}} Supports linking to sister projects (e.g., fr:Hatnote)
{{demo|<nowiki>{{ملاحظة علوية|lang=fr|Some text}}</nowiki>}}
{{hatnote|lang=fr|Some text}}
Shows code and example
{{tln|ملاحظة علوية}} قالب:ملاحظة علوية Produces a normal link to the template
{{elc|Template:ملاحظة علوية}}
{{elc|Template:Hatnote|Hatnote}}
[[Template:ملاحظة علوية]]
[[Template:Hatnote|Hatnote]]
Formats wikilink, with optional piped link text and blended suffix
{{ml|Example|hello}} {{#invoke:Example|hello}} Counterpart to {{وصلة قالب}} for linking to Lua modules
{{mfl|Example|hello}} قالب:Mfl Similar to {{ml}}, but expects the function to be documented and creates a link to the corresponding section
{{mlx|Example|hello}} {{#استدعاء:Example|hello}} Counterpart to {{tlx}} for linking to Lua modules
{{ml-lua|Module:Example|hello}} قالب:Ml-lua Link to Lua modules and built-in libraries, showing Lua code.
{{para|title|<var>book title</var>}} |title=book title Formats template parameters for display, with or without values
{{sclx|LASTING}} [[WP:LASTING]] Takes a shortcut suffix in project namespace and displays it with brackets and the WP: alias in a <code></code> tag.
{{tag|ref}}
{{xtag|templatedata}}
<ref></ref>
<templatedata>
Formats [X]HTML tags; can add content, choose opening, closing, or self-closing
{{dtl|Ping project}} {{d:Ping project}} Wikidata counterpart to {{وصلة قالب}}
{{pf|if}}
{{pf|if|{{{1}}}|true|false}}
قالب:Pf
قالب:Pf
Parser function equivalent to {{وصلة قالب}}
{{magic word|uc:}} {{uc:}} Magic word links

With utility links[عدل]

Templates producing utility links for a given template (Hatnote used here as example)
Code example Effect
{{lt|ملاحظة علوية}} قالب:ملاحظة علوية (عدل | نقاش | تاريخ | وصلات | راقب | سجل)
{{lts|ملاحظة علوية}} قالب:ملاحظة علوية(تحرير نقاش ارتباطات تاريخ)
{{t links|ملاحظة علوية}} ملاحظة علوية (عدل نقاش تاريخ وصلات # /صفحات فرعية /شرح /شرح عدل /ملعب /ملعب فرق /مختبر)
{{tfd links|ملاحظة علوية}} Template:ملاحظة علوية (نقاش · تاريخ · تحويلات · سجلات · صفحات فرعية)
{{tetl|ملاحظة علوية}} {{ ملاحظة علوية }}
ارتباطات نقاش عرض
{{tsetl|ملاحظة علوية}} {{نسخ:ملاحظة علوية}}
 وصلات نقاش عدّل
{{ti|ملاحظة علوية}} قالب:ملاحظة علوية (نقاش, روابط, تحرير)
{{tic|ملاحظة علوية}} قالب:ملاحظة علوية (نقاش وصلات تعديل)
{{tim|ملاحظة علوية}} قالب:ملاحظة علوية ( نقاش، ماذا يصل هنا، عدل)
{{tiw|ملاحظة علوية}} قالب:ملاحظة علوية (نقاش، ماذا يصل هنا، تعديل)
{{tlt|ملاحظة علوية}} {{ملاحظة علوية}} (نقاش)
{{ttl|ملاحظة علوية}} {{ملاحظة علوية}} (t/l)
{{twlh|ملاحظة علوية}} قالب:ملاحظة علوية (وصلات، نقاش)



وسوم <ref> موجودة لمجموعة اسمها "arabic-abajed"، ولكن لم يتم العثور على وسم <references group="arabic-abajed"/> أو هناك وسم </ref> ناقص