Template:PatternIdentifiers: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Convert from wikitable to HTML table
Support displaying spaceship's number in David Eppstein's glider DB
Line 18: Line 18:
<th>Pentadecathlon&nbsp;ID</th>
<th>Pentadecathlon&nbsp;ID</th>
<td style="text-align:right;" valign="middle">{{LinkPentadecathlonObject|id={{{pentadecathlonid|}}}|style=raw}}</td>
<td style="text-align:right;" valign="middle">{{LinkPentadecathlonObject|id={{{pentadecathlonid|}}}|style=raw}}</td>
</tr> }} {{#if: {{{eppsteinid|}}} | <tr>
<th>[[David Eppstein]]'s glider DB</th>
<td style="text-align:right;" valign="middle">{{LinkEppstein|number={{{eppsteinid|}}}|style=raw}}</td>
</tr> }}
</tr> }}
</table>
</table>

Revision as of 10:31, 17 July 2017

This template displays the "Identifiers" box that appears 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.