قالب:لا طباعة/شرح

من ويكي الجامعة, مركز التعليم الحر
اذهب إلى التنقل اذهب إلى البحث
هذه صفحة توثيق فرعية تخص قالب:لا طباعة. تحتوي هذه الصفحة على معلومات وتصنيفات ومحتويات أخرى تتعلق بشرح القالب ولا تعتبر جزء منه.

Usage[عدل]

This template excludes text from an article when it is rendered into a digital document such as a PDF or DjVu file, or printed, either through the "Printable version" or the "Create a book" links on the side bar. It is used to hide elements that make no sense in print such as "Click the name of a town on the map for more details".

Where possible you can also use class="noprint" or span class="noprint" to any block element in order to hide that content from printing. This template is actually a shorthand for the latter option.

  • DO NOT use this on templates. Templates that need to be hidden from printing should be added to Category:Exclude in print instead.
  • DO NOT use this on large sections that include headings (==This is a heading==). This will cause the edit link next to the heading to disappear.

Keep in mind that one of the stated goals of the project is to allow for pages to be printed and used by travelers while they are traveling. This template should only be used in cases, such as the example above, where leaving content in would cause confusion.

Examples[عدل]

{{noprint|text to be hidden}}


{{noprint|1=text to be hidden}}


If the content that is being hidden contains an equals (=) sign, you will have to use noprint|1= instead of noprint|. Otherwise there is no difference between using and not using the 1= after the vertical line.

See also[عدل]