Template:Ambox: Difference between revisions

cat2 parameter + doc
(case insensitive parameters; hide parameter text if empty; lock image for protection type; documentation)
(cat2 parameter + doc)
Line 27: Line 27:
}}
}}
|}
|}
{{#ifeq: {{lc:{{{includecat|}}}}} | no | | {{#if: {{{category|}}} | [[Category:{{{category}}}]] }} }}<noinclude>
{{#ifeq: {{lc:{{{includecat|}}}}} | no | | {{#if: {{{category|}}} | [[Category:{{{category}}}]] }} {{{cat2|}}} }}<noinclude>


{{Documentation|CONTENT=
{{Documentation|CONTENT=
Line 77: Line 77:
'''category''' parameter allows a tracking category for pages with this template. Only use the name of the category, without "Category:" in front.
'''category''' parameter allows a tracking category for pages with this template. Only use the name of the category, without "Category:" in front.


'''includecat''' parameter disables the tracking category for an instant. This way the template can be used for showcasing without including it to the tracking category. Write "no" to disable the tracking category.
'''cat2''' parameter allows additional or more complex tracking categorization. Can be used in addition or instead of '''category'''. Use form <nowiki>[[Category:Category name]]</nowiki> or similar.
 
'''includecat''' parameter disables the tracking category for an instant. This way the template can be used for showcasing without including it to the tracking category. Disables both '''category''' and '''cat2''' parameters. Write "no" to disable the tracking category.
}}
}}
[[Category:Wiki System Templates]]
[[Category:Wiki System Templates]]
</noinclude>
</noinclude>
1,776

edits