Difference between revisions of "Template:Commoncats"

From blackwiki
Jump to navigation Jump to search
imported>MelonBot
m (Tag for MfD using AWB)
Line 1: Line 1:
 +
<noinclude>{{mfd|WikiProject template sharing and related structures}}</noinclude>
 
<!-- Commoncats -- descendent of the various commons:WikiPcatXX family and w:CommonscatXX templates, consolidated into a single general template in April-May 2007
 
<!-- Commoncats -- descendent of the various commons:WikiPcatXX family and w:CommonscatXX templates, consolidated into a single general template in April-May 2007
 
start_div1/+DV01:  
 
start_div1/+DV01:  

Revision as of 16:25, 17 November 2008

Template:Mfd

Wikimedia Foundation RGB logo with text.svg
Wikipedia-logo.png
English Wikipedia article:
[[Template:WPDCommoncats |Commoncats ]]


Commons related category:
[[:Template:OTHERSITECategory:Commoncats | Commoncats ]]


Template:Left60


Template:FixHTML

English Wikipedia article:
[[Template:WPDArchitecture |Architecture ]]


Commons related category:
[[:Template:OTHERSITECategory:Objects| Objects]]

Template:FixHTML


Commons related category:
[[:Template:OTHERSITECategory:Objects| Objects]]

Template:FixHTML

Purpose
Template:Commoncats replaces a large number of templates formerly used to link between category pages between the English Wikipedia and the multilingual environment of Template:Wpd ("The Commons").
  1. Unlike it's rivals (sic) it usually replaces multiple templates ({{Catmore}} and {{Commons cat}}, or other variant of 'commons cat'), can link to multiple commons categories, and displays the main article for the en.wikipedia category... usually without anything but the template name: {{Commoncats}}.
    1. The exception is those main articles where by the naming conventions the article is singular case, and the main category is plural.
  2. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

These are handled identically to {{catmore}}, which is to say

  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

by specifying the article name as the first argument (the numbered parameter {{{1}}}

  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

or the (named parameter) argument '1A=' something

  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

two other named parameters arguments '|2A= something-2 ' & '|3A= something-3 ' can be specified to link upto three related article pages. (Say a list article, and two related topics sharing the category)

    1. Unlike requiring a 'explict link name call form such as {{Commons cat|Teaching illustrations}}, in all the foregoing, the template was also linking to the commons category of the same category name like some of the earlier templates it replaces that also linked to both types of pages.
  1. REDIRECT Template:•
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

To use in the small percentage of case where there is no appropriate main article for a category, {{Commoncats|!}} will replicate the only-the-category-linking' of {{Commons cat|{{PAGENAME}}}}... again, without needing to specify the page name (See magic word: {{PAGENAME}})

    1. Like {{Commons cat}}, you can also indeed specify an entirely different commons page name:
      "{{Commoncats|!|Objects}}" (shown above and right)
further modes
  • The Command meta characters ('!', '$', or '#') are used as placeholders in either or both {{Commoncats|{{{1}}}|{{{2}}} }} for
    Skipping a category or article link in place of the default {{PAGENAME}}.
  • The Command meta characters ('@', '"', or ' ') are used as placeholders in either or both {{Commoncats|{{{1}}}|{{{2}}} }} for explicitly directing a category or article link be made with the default {{PAGENAME}}.

For further usage, see: Template:WpdTemplate:Left60