Template:Extensions header: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
chg to catg user templ
Elf (talk | contribs)
correct usage & chg color
Line 2: Line 2:


Put the following at the top of an article:
Put the following at the top of an article:
  <nowiki>{{extensions}}</nowiki>
  <nowiki>{{extensions header}}</nowiki>
It places the article into <nowiki>[[Category:COLLADA extensions|*]]</nowiki> and displays the following:
It places the article into <nowiki>[[Category:COLLADA extensions|*]]</nowiki> and displays the following:
</noinclude>{{NavigationBox
</noinclude>{{NavigationBox
Line 13: Line 13:


''Instructions for [[adding to the extensions directory]]''
''Instructions for [[adding to the extensions directory]]''
|Color = #FFDFA0
|Color = {{color extensions light}}
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
}}
}}

Revision as of 00:07, 5 March 2009

Usage:

Put the following at the top of an article:

{{extensions header}}

It places the article into [[Category:COLLADA extensions|*]] and displays the following:

Extensions directory
Information about COLLADA <technique profile=...> and <extra> extensions.
This article is part of the COLLADA extensions directory.

List of extensions by company • List of extensions by profile name • List of extensions by element

Instructions for adding to the extensions directory

[[Category: ]]


There are optional arguments, but this usage is obsolete; instead, use Template:Extension. With the arguments, it looks like this (names can contain spaces):

{{extension
 | company = yourcompanyname
 | product = yourproductname}}

Company and product arguments are optional, but if using this format, you must use both or neither. If both arguments are used, it places the article into Category:COLLADA extensions and replaces "This article is part of the COLLADA extensions directory" with:

This article describes extensions for {{{product}}} by {{{company}}}.