Difference between revisions of "Template:PatternDiscovery"
Jump to navigation
Jump to search
(patterns with unknown discoverer, unknown discovery date) |
(Experimental change to templates per agreement at https://conwaylife.com/forums/viewtopic.php?p=166781#p166781 -- issue not considered resolved until (at minimum) review in a week or two) Tag: Undo |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
--><tr> | --><tr> | ||
<th valign="top"> Discovered by </th> | <th valign="top"> Discovered by </th> | ||
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr> | <td> {{#if: {{{discoverer|}}} | {{nowrap|[[{{{discoverer|}}}]]}} | Unknown }}{{#if: {{{discoverer2|}}} | <br />{{nowrap|[[{{{discoverer2|}}}]]}} | }}{{#if: {{{discoverer3|}}} | <br />{{nowrap|[[{{{discoverer3|}}}]]}} | }}{{#if: {{{discoverer4|}}} | <br />{{nowrap|[[{{{discoverer4|}}}]]}} | }}{{#if: {{{discoverer5|}}} | <br />{{nowrap|[[{{{discoverer5|}}}]]}} | }} </td></tr> | ||
<tr> | <tr> | ||
<th> Year of discovery </th> | <th> {{nowrap|Year of discovery}} </th> | ||
<td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr><!-- | <td> {{#if: {{{discoveryear|}}} | [[:Category:Patterns found in {{{discoveryear|}}}|{{{discoveryear|}}}]] | Unknown }} </td></tr><!-- | ||
Categories | Categories | ||
-->{{# | -->{{#if:{{NAMESPACE}}|| | ||
{{#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 | {{#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]] }} | ||
}}<!-- | }}<!-- | ||
Line 21: | Line 21: | ||
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. | 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. | ||
[[Category:Infobox | [[Category:Infobox subtemplates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:18, 10 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.