قالب:Short description/test
[edit] Template documentation
Usage
For testing purposes, this is a version of the {{Short description}} template which displays its text by default.
- {{Short description/test}} displays the short description if supplied
- {{Short description/test}} displays nothing if
none
is supplied - {{Short description/test}} displays the description from Wikidata if
wikidata
is supplied.
Taking
[{{fullurl:
Usage
Returns the name of the non-documentation page presumably associated with the transcluding page: returns {{FULLPAGENAME}} with a /doc
suffix, if any, stripped off.
Use on a documentation subpage names the documented page (the object of the documentation) both when viewing the subpage directly and when transcluding it on the documented page.
An optional unnamed parameter specifies a name to use in place of {{FULLPAGENAME}}.
This template can be substituted (via subst:
) as well as transcluded.
Examples
page where called | result |
---|---|
Template:Assistant/dwim | {{تم كشف حلقة قالب: قالب:OBJECTPAGENAME|Template:Assistant/dwim}}
|
Template:Assistant/dwim/doc | {{تم كشف حلقة قالب: قالب:OBJECTPAGENAME|Template:Assistant/dwim/doc}}
|
أخبار المعرفة:Assistant/dwim | {{تم كشف حلقة قالب: قالب:OBJECTPAGENAME|أخبار المعرفة:Assistant/dwim}}
|
أخبار المعرفة:Assistant/dwim/doc | {{تم كشف حلقة قالب: قالب:OBJECTPAGENAME|أخبار المعرفة:Assistant/dwim/doc}}
|
See also
- {{Documentation}}
Usage
See also
as an example:
{{short description/test|underwater diving where breathing is from equipment independent of the surface }}
→{{short description/test|none }}
→{{short description/test|wikidata }}
→