Template:Extensions header: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
m insert bullet char
Elf (talk | contribs)
adding info about category placement
Line 4: Line 4:
  <nowiki>{{extensions
  <nowiki>{{extensions
  | company = yourcompanyname
  | company = yourcompanyname
  | product = yourproductname }}</nowiki>
  | product = yourproductname}}</nowiki>
Company and product arguments are optional. If you do  not need them,  put just the following:
Company and product arguments are optional, but you must use both or neither. If you do  not need them,  put just the following:
  <nowiki>{{extensions}}</nowiki>
  <nowiki>{{extensions}}</nowiki>
The nonargument version (or missing company or product) displays the following:
If either company or product is missing, it places the article into <nowiki>[[Category:COLLADA extensions|*]]</nowiki> and displays the following:
</noinclude>{{NavigationBox
</noinclude>{{NavigationBox
|Name = COLLADA extensions
|Name = COLLADA extensions
Line 20: Line 20:
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
}}
}}
<includeonly>[[Category:COLLADA extensions]]</includeonly>
<includeonly>{{ #if: {{{company|}}}{{{product|}}} |[[Category:COLLADA extensions]]|[[Category:COLLADA extensions|*]]}}</includeonly>
<noinclude>
<noinclude>
The argument version replaces "This article is part of the COLLADA extensions directory" with:
If company and product arguments are used, it places the article into <nowiki>[[Category:COLLADA extensions]]</nowiki> and replaces "This article is part of the COLLADA extensions directory" with:


<big>'''This article describes [[extension]]s for {{{product}}} by {{{company}}}.'''</big>
<big>'''This article describes [[extension]]s for {{{product}}} by {{{company}}}.'''</big>
[[Category:Navigation templates]]</noinclude>
[[Category:Navigation templates]]</noinclude>

Revision as of 20:27, 25 June 2007

Usage:

Put the following at the top of an article (names can contain spaces):

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

Company and product arguments are optional, but you must use both or neither. If you do not need them, put just the following:

{{extensions}}

If either company or product is missing, it places the article into [[Category:COLLADA extensions|*]] and displays the following:

Extension 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 extension directory

[[Category: ]]


If company and product 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}}}.