Template:PatternDownload: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
m Removed protection from "Template:PatternDownload": Editing is already restricted to trusted users.
Always display "glider synthesis" section if pentadecathlonid is passed, even if synthesis/synthesisRLE are not.
Line 19: Line 19:
{{!}}}
{{!}}}
</td></tr>
</td></tr>
}} {{#if: {{{synthesis|}}}{{{synthesisRLE|}}} |
}} {{#if: {{{synthesis|}}}{{{synthesisRLE|}}}{{{pentadecathlonid|}}} |
<tr>
<tr>
<td colspan="2" style="height:3px;"></td></tr>
<td colspan="2" style="height:3px;"></td></tr>
Line 27: Line 27:
<td colspan="2">
<td colspan="2">
{{{!}} class="infobox_table collapsible collapsed" style="width:100%"
{{{!}} class="infobox_table collapsible collapsed" style="width:100%"
{{#if: {{{synthesisRLE|}}}{{{synthesis|}}} |
{{!}}-
{{!}}-
! colspan="2" class="infobox_subhead" {{!}} [[Glider synthesis]]
! colspan="2" class="infobox_subhead" {{!}} [[Glider synthesis]]
Line 42: Line 43:
! Auto-generated synthesis
! Auto-generated synthesis
{{!}} style="text-align:right; word-break: break-all" {{!}} [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}]
{{!}} style="text-align:right; word-break: break-all" {{!}} [https://glidersynth.neocities.org/?{{{apgcode|}}} {{{apgcode|}}}]
}}
}}
}}
{{#if: {{{pentadecathlonid|}}} |  
{{#if: {{{pentadecathlonid|}}} |  

Revision as of 13:52, 20 September 2017

This template displays the "Rules", "Glider synthesis" and "Pattern files" boxes that appear on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.