Notes Bản_mẫu:Redirect_category_shell

Mbox note

  1. When the wiki markup of this template is opened, it is seen that this is an "mbox-based" template. "Mbox" stands for "multi namespace message box", which is a meta-template that works in all namespaces. There can be a problem with this mbox unless editors are careful to place Redirect category shell on its own line at the very beginning of the line. If this is done then all is well; if this is not done, then HTML Tidy may interfere with the mbox and cause this template to appear in an abnormal and unexpected manner when saved. So be careful where you leave this template placed in a redirect's Edit screen, take another look at the above readability guide, and be sure to preview your edits – all your edits.Correct:
    #REDIRECT [[(target page)]]{{Redirect category shell||{{R unprintworthy}}}}
    Not correct:
    #REDIRECT [[(target page)]] {{Redirect category shell||{{R unprintworthy}}}}
    A blank line is usually placed between the redirect target and this template to make the "Edit" screen easier to read.

Printworthiness note

  1. Where the printworthiness of a mainspace redirect is concerned, there are three kinds of rcats:
    1. those that populate the Printworthy redirects category by default,
    2. those that populate the Unprintworthy redirects category by default, and
    3. those that do not default to either of the above, and which leave it to the editor to decide based upon best knowledge whether or not a mainspace redirect is suitable for a printed or DVD version of Wikipedia.
    At present, those that are types 1 and 2 will populate the appropriate printworthiness category, however the notice will not appear within the mbox of this template unless either {{R printworthy}} or {{R unprintworthy}} is listed as an rcat within this template. For example, if a redirect is tagged with:
    {{Redirect category shell|{{R from ambiguous term}}}}
    ...then the hidden categories populated will be Redirects from ambiguous pages, Unprintworthy redirects and any appropriate protection categories. These will appear at the bottom of the redirect page only to registered users who are logged in and who have set their preferences to see hidden categories. The mbox that will appear to all readers would look like:
    Trang này là một trang đổi hướng. Những thể loại sau được dùng để theo dõi và giám sát trang đổi hướng này:Bản mẫu:R from ambiguous term/demoKhi cần thiết, mức độ khoá trang sẽ được tự động phát hiện, mô tả và phân loại.
    To show the printability or printworthiness information in the mbox, then the redirect must be tagged with either the printworthy or unprintworthy rcat as in the following example:
    {{Redirect category shell|{{R from ambiguous term}}{{R unprintworthy}}}}
    ...which produces:
    Trang này là một trang đổi hướng. Những thể loại sau được dùng để theo dõi và giám sát trang đổi hướng này:Bản mẫu:R from ambiguous term/demoBản mẫu:R unprintworthyKhi cần thiết, mức độ khoá trang sẽ được tự động phát hiện, mô tả và phân loại.
    Only then will the printability, printworthy or unprintworthy, be described within this template's mbox on the redirect page.

Liên quan