Difference between revisions of "Template:Fuse"

From LifeWiki
Jump to navigation Jump to search
(Undo revision 43843 by Apple Bottom (talk))
(Links)
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--  
<!--


Display "request pattern file" box if no pattern files exist and "nofile" was not passed to suppress this
Begin infobox


--> <includeonly>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | | {{requestpatternfile}} }}</includeonly><!--
-->{{InfoboxStart
|typename      = Fuse
|defaultconfig = fuse
|viewerconfig  = {{{viewerconfig|}}}
|name          = {{{name|}}}
|zip          = {{{zip|}}}
|mc            = {{{mc|}}}
|life105      = {{{life105|}}}
|life106      = {{{life106|}}}
|plaintext    = {{{plaintext|}}}
|rle          = {{{rle|}}}
|nofile        = {{{nofile|}}}
|pname        = {{{pname|}}}
|animated      = {{{animated|}}}
}}<!--


Begin infobox
Display pattern type


--> <table class="infobox">
--><tr>
<tr><td colspan="2" class="infobox_head"> {{{name|Fuse Name}}} </td></tr>
<tr>
<td colspan="2" class="infobox_img"><table class="img_border" cellpadding="0"><tr><td>{{#if: {{{zip|}}}{{{mc|}}}{{{life105|}}}{{{life106|}}}{{{plaintext|}}}{{{rle|}}}{{{nofile|}}} | [[Image:{{{pname|}}}.png|{{{name}}} image]]|[[Image:UnknownPattern.png|{{{name}}} image]]}}</td></tr></table></td></tr>{{#if: {{{animated|}}} | <tr><td colspan="2" class="infobox_animlink"> [[Media:{{{pname|name}}}.gif|View animated image]] </td></tr> }}
<!-- {{#if: {{{rle|}}} | <tr><td colspan="2" class="infobox_link"> [http://www.conwaylife.com?p={{{pname|name}}} Manipulate via Java] </td></tr> }} -->
<tr>
<th> Pattern type </th>
<th> Pattern type </th>
<td> [[Fuse]] </td></tr>
<td> [[Fuse]] </td></tr>
<tr>
<tr>
<th> [[Period]] </th>
<th> [[Period]] </th>
<td> {{{p|Unknown}}} </td></tr>
<td> {{#if: {{{p|}}} | [[:Category:Fuses with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr>
<tr>
<tr>
<th> [[Speed]] </th>
<th> [[Speed]] </th>
<td> {{{s|Unknown}}} </td></tr>
<td> {{#if: {{{s|}}} | [[:Category:Fuses burning at speed {{{s}}}|{{{s}}}]] | Unknown }} </td></tr><!--
<tr>
 
<th valign="top"> Discovered by </th>
Display an infobox divider
<td> {{#if: {{{discoverer|}}} | [[{{{discoverer|}}}]] | Unknown }}{{#if: {{{discoverer2|}}} | <br />[[{{{discoverer2|}}}]] | }}{{#if: {{{discoverer3|}}} | <br />[[{{{discoverer3|}}}]] | }}{{#if: {{{discoverer4|}}} | <br />[[{{{discoverer4|}}}]] | }}{{#if: {{{discoverer5|}}} | <br />[[{{{discoverer5|}}}]] | }} </td></tr>
 
<tr>
-->{{InfoboxDivider}}<!--
<th> Year of discovery </th>
 
<td> {{{discoveryear|Unknown}}} </td></tr><!--
Display discoverers and year of discovery
 
-->{{PatternDiscovery
|discoverer  = {{{discoverer|}}}
|discoverer2  = {{{discoverer2|}}}
|discoverer3  = {{{discoverer3|}}}
|discoverer4  = {{{discoverer4|}}}
|discoverer5  = {{{discoverer5|}}}
|discoveryear = {{{discoveryear|}}}
}}<!--


Display "Rules", "Glider synthesis", "Pattern files" sections
Display "Rules", "Glider synthesis", "Pattern files" sections
Line 43: Line 61:
|rulemax      = {{{rulemax|}}}
|rulemax      = {{{rulemax|}}}
|rulemin      = {{{rulemin|}}}  
|rulemin      = {{{rulemin|}}}  
|isorulemax  = {{{isorulemax|}}}
|isorulemin  = {{{isorulemin|}}}
}}<!--
}}<!--


Line 66: Line 86:


--><includeonly>
--><includeonly>
{{#ifeq:{{NAMESPACE}}|User||
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Fuses]]
[[Category:Fuses]]
[[Category:Wicks]]
[[Category:Wicks]]
{{#if: {{{p|}}} | [[Category:Fuses with period {{{p|}}}]] | [[Category:Fuses with unknown period]] }}{{#if: {{{s|}}} | [[Category:Fuses burning at speed {{{s|}}}]] | [[Category:Fuses burning at an unknown speed]] }}{{#if: {{{discoverer|}}} | [[Category:Patterns found by {{{discoverer|}}}]] }}{{#if: {{{discoverer2|}}} | [[Category:Patterns found by {{{discoverer2|}}}]] }}{{#if: {{{discoverer3|}}} | [[Category:Patterns found by {{{discoverer3|}}}]] }}{{#if: {{{discoverer4|}}} | [[Category:Patterns found by {{{discoverer4|}}}]] }}{{#if: {{{discoverer5|}}} | [[Category:Patterns found by {{{discoverer5|}}}]] }}{{#if: {{{discoveryear|}}} | [[Category:Patterns found in {{{discoveryear|}}}]] }}
{{#if: {{{p|}}} | [[Category:Fuses with period {{{p|}}}]] | [[Category:Fuses with unknown period]] }}{{#if: {{{s|}}} | [[Category:Fuses burning at speed {{{s|}}}]] | [[Category:Fuses burning at an unknown speed]] }}
}}
</includeonly>
</includeonly>

Revision as of 03:27, 11 July 2019

Fuse Name
image
Pattern type Fuse
Period Unknown
Speed Unknown
Discovered by Unknown
Year of discovery Unknown

This is an infobox template for fuses. 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 Blinker fuse.

Special parameters

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

  • p: the period of the fuse (e.g. p=4).
  • s: the speed at which the fuse burns (e.g. s=c).


Pattern templates