Template:InfoboxStart: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Confocal (talk | contribs)
The claim "The changes have now been discussed, ..." is misleading -- the changes are pushed without seeking consensus, only a few hours after the start of Tiki bar discussion. Revert to old existing state; hopefully further changes (if any) will be made by someone else who does not have a strong preference one way or another. See LifeWiki:Tiki_bar#Alien_pattern_pages and https://conwaylife.com/forums/viewtopic.php?p=166635#p166635
Tag: Manual revert
Undo revision 136784 by Confocal (talk)
Tag: Undo
Line 33: Line 33:
Categories
Categories


-->{{#ifeq:{{NAMESPACE}}|User||{{#ifeq:{{NAMESPACE}}|Template||
-->{{#if:{{NAMESPACE}}||
[[Category:Patterns]] {{#ifexist:RLE:{{{pname}}} | {{#if:{{{viewerconfig|}}} | | [[Category:Patterns with RLE snippets but no LifeViewer configuration]] }} }}
[[Category:Patterns]] {{#ifexist:RLE:{{{pname}}} | {{#if:{{{viewerconfig|}}} | | [[Category:Patterns with RLE snippets but no LifeViewer configuration]] }} }}
}} }}<!--
}}<!--


Documentation
Documentation

Revision as of 21:13, 9 September 2023

This template starts the infobox on the right hand side of pattern pages, and displays the pattern's name, image and LifeViewer (if any). It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator.

It supports the following parameters:

  • typename: a human-readable name of the type of pattern being displayed, e.g. "Still Life".
  • defaultconfig: the name of a subpage of "Template:LifeViewer config" holding the default LifeViewer configuration for this type of pattern, e.g. "stilllife".

All other parameters should simply be passed through by the transcluding template.