The root function of this template is:
{{{{{|safesubst:}}}#switch:{{{1}}}
| user
| #default =
}}
It allows a variety of switches for specific آیا میدانستید
uses.
This template is used by آیا میدانستید
to tag a variety of project pages, according to the needs of the project.
Template {{DYK/Tags}}
is a multipurpose template, with specific applications, designed to meet the specialized needs of آیا میدانستید
. It will be expanded to meet additional needs as they are identified—in the course of supporting the DYK mission.
Expand examples → → → |
---|
Transclusion examples
الگو:DYKT
{{DYK/Tags}} or {{DYKT}} may be used to produce the |default= portion of this template. It becomes the basic top-notice for all DYK categories and sub-categories. Either syntax shown produces the following example:
الگو:DYKT
{{DYKT}} must only be used in the ویکیپدیا:فضای نام. The template will produce an error message if it is present in any other namespace. The parameters must be switched when it is used in other areas—for example: the |talk= switch allows its use on talk pages, in any namespace—as described below:
{{DYK/Tags|talk}} or {{DYKT|talk}} may be used for tagging remote talk pages that are rarely motored—directing editors to a more appropriate talk page, where they are more likely to get a response. Either syntax shown produces the following example:
الگو:DYKT
The templates internal code will detect its location and automatically adjust its prose for that subject-space. Consider these category talk, template talk, and Wikipedia talk examples.
Substitution examples
الگو:DYKT
The "|doc= " switch produces DYK specific output for creating template documentation pages. By saving the template's document page with {{جا:DYKT|doc}} in place, a completely usable documentation page is created for the templates basic function. The pre-loaded text and syntax will result in the following comparative example:
{{subst:DYK/Tags|doc}} markup preload
|
Standard {{documentation}} markup preload
|
{{Documentation subpage}}
__NOTOC__
This is a {{DYK blue}} special purpose template.
== Template <b>{{tlx|DYK message}}</b> ==
This template was developed for {{DYK blue}} specialized use.
=== Usage ===
* Using <b>{{tlx|DYK message}}</b>
<b>Produces:</b>
{{DYK message}}
=== Examples ===
{{DYK cbox|
Examples go here.
}}
=== See also ===
* {{DYK blue}}
<includeonly>{{{sandbox other||
[[رده:آیا میدانستید/مدیریت]]
}}</includeonly>
|
{{Documentation subpage}}
== Usage ==
== See also ==
<includeonly>
<!-- Categories and interwikis go here: -->
</includeonly>
|
|