Template:Extensions header: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
extensions->extension
vendor
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>''Usage:''
<noinclude>''Usage:''


Put the following at the top of an article (names can contain spaces):
Put the following at the top of an article:
<nowiki>{{extension
  <nowiki>{{extensions header}}</nowiki>
| company = yourcompanyname
It places the article into <nowiki>[[Category:COLLADA extensions|*]]</nowiki> and displays the following:
| product = yourproductname}}</nowiki>
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>
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
|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]]''
|Color = #FFDFA0
|Color = {{color extensions light}}
|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>  
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:
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
| vendor = yourvendorname
| product = yourproductname}}</nowiki>
 
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:Navigation 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}}}.