Difference between revisions of "Template:Chembox headerbar/doc"
Jump to navigation
Jump to search
imported>DePiep m (DePiep moved page Template:Chembox header/doc to Template:Chembox headerbar/doc: follow parent to new bar) |
imported>DePiep |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
| + | ==Testing a category== | ||
| + | :{{para|addcats_TEST}} adds the category when ''not'' in mainspace (through the second parameter in {{tl|main other}}). This is to test categorising in development (sandboxing). Such testpages (like in templatespace) would pollute formal maint categories, which is undesired. Solution: either use a dedicated spoiled category, or add the colon-trick <code><nowiki>[[:Category:..]]</nowiki></code>. | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:Chembox templates|{{PAGENAME}}]] | [[Category:Chembox templates|{{PAGENAME}}]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Revision as of 08:51, 5 June 2015
| This is a documentation subpage for Template:Chembox headerbar. It contains usage information, categories and other content that is not part of the original template page. |
|header=Identifiers (header text)
Usage
Testing a category
|addcats_TEST=adds the category when not in mainspace (through the second parameter in {{main other}}). This is to test categorising in development (sandboxing). Such testpages (like in templatespace) would pollute formal maint categories, which is undesired. Solution: either use a dedicated spoiled category, or add the colon-trick[[:Category:..]].