Template:Extensions header: Difference between revisions
chg templ catg |
rearrange for obsolete usage |
||
Line 1: | Line 1: | ||
<noinclude>''Usage:'' | <noinclude>''Usage:'' | ||
Put the following at the top of an article | Put the following at the top of an article: | ||
<nowiki>{{extensions}}</nowiki> | <nowiki>{{extensions}}</nowiki> | ||
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 21: | Line 17: | ||
}} | }} | ||
<includeonly>{{ #if: {{{company|}}}{{{product|}}} |[[Category:COLLADA extensions]]|[[Category:COLLADA extensions|*]]}}</includeonly> | <includeonly>{{ #if: {{{company|}}}{{{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): | |||
<nowiki>{{extension | |||
| company = yourcompanyname | |||
| 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: | |||
<big>'''This article describes [[extension]]s for {{{product}}} by {{{company}}}.'''</big> | <big>'''This article describes [[extension]]s for {{{product}}} by {{{company}}}.'''</big> | ||
[[Category:Info box templates|{{PAGENAME}}]]</noinclude> | [[Category:Info box templates|{{PAGENAME}}]]</noinclude> |
Revision as of 20:07, 24 February 2009
Usage:
Put the following at the top of an article:
{{extensions}}
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}}}.