قالب:Clear/doc

[{{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

/doc/use-count/doc|action=edit&editintro=Template:Possible-risk/editintro&preload=Template:Possible-risk/preload&summary=create}} create use count]

Usage

Used to clear the sides of a block of text of all data (images, ToCs, etc). Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to inappropriate images.
{{clear|left}} | {{clear|right}} | {{clear|both}} | {{clear}}