Template:PatternDiscovery: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Restricted categories to main namespace. Hopefully this works
Confocal (talk | contribs)
Undo revision 136502 by Galoomba (talk) revert undiscussed changes, see Template talk:Spaceship
Tag: Undo
Line 12: Line 12:
Categories
Categories


-->{{#if:{{NAMESPACE}}||
-->{{#ifeq:{{NAMESPACE}}|User||{{#ifeq:{{NAMESPACE}}|Template||
{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] | [[Category:Patterns with unknown discoverer]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] | [[Category:Patterns with unknown discovery year]] }}
{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] | [[Category:Patterns with unknown discoverer]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] | [[Category:Patterns with unknown discovery year]] }}
}}<!--
}} }}<!--


Documentation
Documentation

Revision as of 16:55, 4 September 2023

This template displays the discoverers and year of discovery in the infobox on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.