Template:Infobox item: Difference between revisions
update documentation style |
m using translation category |
||
| Line 31: | Line 31: | ||
}}{{ | }}{{ | ||
#if: {{{nocat|}}}{{NAMESPACE}} || | #if: {{{nocat|}}}{{NAMESPACE}} || | ||
{{#if:{{{type|}}}|{{#ifeq:{{{type}}}|Items||{{ | {{#if: {{{type|}}} | {{ #ifeq: {{{type}}}| Items || {{translation category|{{{type}}}}} }} | ||
{{translation category|project=0|{{ | |||
| yes = | #switch: {{lc: {{{renewable|}}} }} | ||
| no = | | yes = Renewable resources | ||
| | | no = Non-renewable resources | ||
}} | | Resources with invalid renewability | ||
}}</includeonly><noinclude> | }} | ||
}}}}</includeonly><noinclude> | |||
<!-- categories/interwikis on the /doc subpage, not here --> | <!-- categories/interwikis on the /doc subpage, not here --> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||