Difference between revisions of "Template:Extensions header"

From COLLADA Public Wiki
Jump to navigation Jump to search
(correct usage & chg color)
(vendor)
 
Line 8: Line 8:
 
|Title = [[Portal:Extensions directory|Extensions directory]]
 
|Title = [[Portal:Extensions directory|Extensions directory]]
 
|List =  
 
|List =  
<big>'''This article {{ #if: {{{company|}}}{{{product|}}} |describes [[extension]]s for {{{product}}} by {{{company}}}|is part of the COLLADA [[extension]]s directory}}.'''</big>
+
<big>'''This article {{ #if: {{{vendor|}}}{{{product|}}} |describes [[extension]]s for {{{product}}} by {{{vendor}}}|is part of the COLLADA [[extension]]s directory}}.'''</big>
 
----
 
----
• [[List of extensions by company]]&nbsp;• [[List of extensions by profile name]]&nbsp;• [[List of extensions by element]]
+
• [[List of extensions by vendor]]&nbsp;• [[List of extensions by profile name]]&nbsp;• [[List of extensions by element]]
  
 
''Instructions for [[adding to the extensions directory]]''
 
''Instructions for [[adding to the extensions directory]]''
Line 16: Line 16:
 
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
 
|Summary = Information about COLLADA <technique profile=...> and <extra> extensions.
 
}}
 
}}
<includeonly>{{ #if: {{{company|}}}{{{product|}}} |[[Category:COLLADA extensions]]|[[Category:COLLADA extensions|*]]}}</includeonly>
+
<includeonly>{{ #if: {{{vendor|}}}{{{product|}}} |[[Category:COLLADA extensions]]|[[Category:COLLADA extensions|*]]}}</includeonly>
 
<noinclude>  
 
<noinclude>  
 
There are optional arguments, but this usage is obsolete; instead, use [[Template:Extension]]. With the arguments, it looks like this (names can contain spaces):
 
There are optional arguments, but this usage is obsolete; instead, use [[Template:Extension]]. With the arguments, it looks like this (names can contain spaces):
 
  <nowiki>{{extension
 
  <nowiki>{{extension
  | company = yourcompanyname
+
  | vendor = yourvendorname
 
  | product = yourproductname}}</nowiki>
 
  | product = yourproductname}}</nowiki>
  
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:
+
Vendor 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:
  
<big>'''This article describes [[extension]]s for {{{product}}} by {{{company}}}.'''</big>
+
<big>'''This article describes [[extension]]s for {{{product}}} by {{{vendor}}}.'''</big>
 
[[Category:User templates|{{PAGENAME}}]]</noinclude>
 
[[Category:User templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:34, 23 July 2010

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 vendor • 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
 | vendor = yourvendorname
 | product = yourproductname}}

Vendor 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 {{{vendor}}}.