Difference between revisions of "Template:Stilllife"

From LifeWiki
Jump to navigation Jump to search
m (Automatically add to constellations category)
(This is a test to remove user pages from categories)
Line 104: Line 104:
  
 
--><includeonly>
 
--><includeonly>
 +
{{#ifeq:{{NAMESPACE}}|User||
 
{{#ifeq: {{{type|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | constellation | [[Category:Constellations]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} | [[Category:Still lifes]][[Category:Strict still lifes]]{{#if: {{{c|}}} | [[Category:Strict still lifes with {{{c}}} cells]] }} }} }} }}{{#ifeq: {{{type2|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | constellation | [[Category:Still lifes]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} }} }} }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{apgcode|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no apgcode infobox parameter]] }} }} }} }} }}{{#if: {{{pentadecathlonid|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no Pentadecathlon ID]] }} }} }} }} }}
 
{{#ifeq: {{{type|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | constellation | [[Category:Constellations]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} | [[Category:Still lifes]][[Category:Strict still lifes]]{{#if: {{{c|}}} | [[Category:Strict still lifes with {{{c}}} cells]] }} }} }} }}{{#ifeq: {{{type2|}}} | pseudo | [[Category:Still lifes]][[Category:Pseudo still lifes]] {{#if: {{{c|}}} | [[Category:Pseudo still lifes with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | constellation | [[Category:Still lifes]] {{#if: {{{c|}}} | [[Category:Constellations with {{{c}}} cells]] }} | {{#ifeq: {{{type2|}}} | eater | [[Category:Still lifes]][[Category:Eaters]] {{#if: {{{c|}}} | [[Category:Eaters with {{{c}}} cells]] }} }} }} }}{{#if: {{{family|}}} | [[Category:{{{family|}}} variants]] }}{{#if: {{{apgcode|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no apgcode infobox parameter]] }} }} }} }} }}{{#if: {{{pentadecathlonid|}}} | | {{#ifeq: {{{type|}}} | constellation | | {{#ifeq: {{{type|}}} | pseudo | | {{#ifeq: {{{type2|}}} | constellation | | {{#ifeq: {{{type2|}}} | pseudo | | [[Category:Still lifes with no Pentadecathlon ID]] }} }} }} }} }}
 +
}}
 
</includeonly>
 
</includeonly>

Revision as of 01:37, 4 December 2018

Still Life Name
image
Pattern type Strict still life
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for still lifes. An example can be seen to the right. For general information about how to use pattern templates, see LifeWiki:Style guide/Pattern layout. To see a live example of this template in action, see block.

Special parameters

The following parameters are optional.

  • type: any of "strict", "pseudo", "eater", or "constellation" (without the quotes) which refer to strict still lifes, pseudo still lifes, eaters, or constellations, respectively. If omitted, it will default to strict still life.
  • type2: like type; should only be specified if type is not empty.

Pattern templates