Template:Wave: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
-->{{InfoboxStart
-->{{InfoboxStart
|typename      = Wave
|typename      = Wave
|defaultconfig = wave
|defaultconfig = spaceship
|viewerconfig  = {{{viewerconfig|}}}
|viewerconfig  = {{{viewerconfig|}}}
|name          = {{{name|}}}
|name          = {{{name|}}}
Line 17: Line 17:
|pname        = {{{pname|}}}
|pname        = {{{pname|}}}
|animated      = {{{animated|}}}
|animated      = {{{animated|}}}
|hideimg      = {{{hideimg|}}}
}}<!--
}}<!--


Line 42: Line 43:
{{#if: {{{slope|}}} |  
{{#if: {{{slope|}}} |  
<tr>
<tr>
<th> Slope </th>
<th> [[Slope]] </th>
<td> [[:Category:Waves with slope {{{slope}}}|{{{slope}}}]] </td></tr>
<td> [[:Category:Waves with slope {{{slope}}}|{{{slope}}}]] </td></tr>
}}
}}
Line 91: Line 92:
|rulemax      = {{{rulemax|}}}
|rulemax      = {{{rulemax|}}}
|rulemin      = {{{rulemin|}}}  
|rulemin      = {{{rulemin|}}}  
|isorulemax  = {{{isorulemax|}}}
|isorulemin  = {{{isorulemin|}}}
}}<!--
}}<!--


Line 114: Line 117:


--><includeonly>
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Waves]]
[[Category:Waves]]
{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{p|}}} | [[Category:Waves with period {{{p}}}]] }}{{#if: {{{dir|}}} | [[Category:{{{dir}}} waves]] }}{{#if: {{{slope|}}} | [[Category:Waves with slope {{{slope}}}]] }}{{#if: {{{s|}}} | [[Category:Waves with speed {{{s}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Waves with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{sup|}}} | [[Category:{{{sup}}}-supported waves]] }}{{#if: {{{m|}}} | [[Category:Waves with mod {{{m|}}}]] }}
{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{p|}}} | [[Category:Waves with period {{{p}}}]] }}{{#if: {{{dir|}}} | [[Category:{{{dir}}} waves]] }}{{#if: {{{slope|}}} | [[Category:Waves with slope {{{slope}}}]] }}{{#if: {{{s|}}} | [[Category:Waves with speed {{{s}}}]] }}{{#if: {{{h|}}} | {{#iferror: {{#expr: floor({{{h}}})}} | | [[Category:Waves with heat {{#expr: floor({{{h}}})}}]] }} }}{{#if: {{{m|}}} | [[Category:Waves with mod {{{m|}}}]] }}
}}
</includeonly>
</includeonly>

Latest revision as of 19:15, 28 April 2023

Wave Name
image
Pattern type Wave
Direction Unknown
Period Unknown
Mod Unknown
Speed Unknown
Heat Unknown
Can be supported by None
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for waves. 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 c/4 wave.

Special parameters

The following parameters are optional and should only be specified if their values are known.

  • dir: the direction of the wave (either dir=Orthogonal, dir=Diagonal, or dir=Oblique).
  • slope: the slope of the wave (for dir=Oblique only, e.g. slope=5).
  • h: the heat of the wave (e.g. h=4).
  • p: the period of the wave (e.g. p=28).
  • m: the mod of the wave (e.g. m=14).
  • s: the speed of the wave (e.g. s=3c/7).
  • sup: what spaceships can support this wave.


Pattern templates