Template:IsSpaceship: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
mNo edit summary
Undo revision 107237 by CurrentNews (talk): why is that necessary?
Tag: Undo
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{#switch: {{lc:{{{1|}}}}} | glider = 1 | lwss = 1 | mwss = 1 | hwss = 1 | }}</onlyinclude>
This is a helper template used by e.g. [[Template:Conduit]] that returns 1 if the pattern passed is a spaceship, 0 otherwise.
 
<onlyinclude>{{#switch: {{lc:{{{1|}}}}} | glider = 1 | lwss = 1 | mwss = 1 | hwss = 1 | 0 }}</onlyinclude>
 
[[Category:Infobox subtemplates]]

Latest revision as of 09:16, 12 May 2022

This is a helper template used by e.g. Template:Conduit that returns 1 if the pattern passed is a spaceship, 0 otherwise.

0