Difference between revisions of "Template:Commoncats"

From blackwiki
Jump to navigation Jump to search
imported>Fabartus
(2nd example in table)
imported>Fabartus
(vanish the table and we get? ... extra </div>'s apparently)
Line 303: Line 303:
 
;This is temporary debugging and should be ingnored, resume reading (should you see it at all) at the blue help below
 
;This is temporary debugging and should be ingnored, resume reading (should you see it at all) at the blue help below
 
{{Lorem}}
 
{{Lorem}}
{{FixHTML|beg}}
+
{{32FC|{{FixHTML|beg}}}}
 
{{Commoncats|Architecture|Objects}}
 
{{Commoncats|Architecture|Objects}}
{{FixHTML|mid}}
+
{{32FC|{{FixHTML|mid}}}}
 
{{Commoncats|!|Objects}}
 
{{Commoncats|!|Objects}}
{{FixHTML|end}}
+
{{32FC|{{FixHTML|end}}}}
 
<hr>
 
<hr>
 
{{Lorem|3}}
 
{{Lorem|3}}

Revision as of 03:43, 31 July 2008

English Wikipedia article:
[[Template:WPDCommoncats |Commoncats ]]


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



This is temporary debugging and should be ingnored, resume reading (should you see it at all) at the blue help below

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Template:32FC

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


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

Template:32FC


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

Template:32FC


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.

Template:Left60

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