Template:Extensions header: Difference between revisions
change link for adding |
vendor |
||
(21 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>''Usage | <noinclude>''Usage:'' | ||
<nowiki>{{extensions | |||
Put the following at the top of an article: | |||
<nowiki>{{extensions header}}</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 | ||
|Title = [[ | |Title = [[Portal:Extensions directory|Extensions directory]] | ||
|List = | |List = | ||
<big>'''This article describes | <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 vendor]] • [[List of extensions by profile name]] • [[List of extensions by element]] | ||
''Instructions for [[adding to the | ''Instructions for [[adding to the extensions directory]]'' | ||
|Color = | |Color = {{color extensions light}} | ||
|Summary = Information about COLLADA extensions. | |Summary = Information about COLLADA <technique profile=...> and <extra> extensions. | ||
}} | }} | ||
<includeonly>[[Category: | <includeonly>{{ #if: {{{vendor|}}}{{{product|}}} |[[Category:COLLADA extensions]]|[[Category:COLLADA extensions|*]]}}</includeonly> | ||
<noinclude>[[Category: | <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 | |||
| 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 {{{vendor}}}.'''</big> | |||
[[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}}}.