Template:IsSpaceship: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Fixed typo) (I know that you're now inactive, so I wish that you don't mind me leaving cookies on your computer.) (----
Tag: Reverted
Line 1: Line 1:
This is a helper template used by e.g. [[Template:Conduit]] that returns 1 if the pattern passed is a spaceship, 0 otherwise.
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>
<includeonly>{{#switch: {{lc:{{{1|}}}}} | glider = 1 | lwss = 1 | mwss = 1 | hwss = 1 | 0 }}</includeonly>


[[Category:Infobox subtemplates]]
[[Category:Infobox subtemplates]]

Revision as of 09:59, 11 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.