Template:PatternIdentifiers: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) Actually display identifier section if only eppsteinid= is passed. |
Apple Bottom (talk | contribs) Support niemiecid2= |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{apgcode|}}}{{{niemiecid|}}}{{{pentadecathlonid|}}}{{{eppsteinid|}}} | <tr> | <includeonly>{{#if: {{{apgcode|}}}{{{niemiecid|}}}{{{niemiecid2|}}}{{{pentadecathlonid|}}}{{{eppsteinid|}}} | <tr> | ||
<td colspan="2" style="height:3px;"></td></tr> | <td colspan="2" style="height:3px;"></td></tr> | ||
<tr> | <tr> | ||
| Line 12: | Line 12: | ||
<th>apgcode</th> | <th>apgcode</th> | ||
<td style="text-align:right; word-break: break-all; padding-left: 1.5em" valign="middle">{{LinkCatagolue|code={{{apgcode}}}|style=raw}}</td> | <td style="text-align:right; word-break: break-all; padding-left: 1.5em" valign="middle">{{LinkCatagolue|code={{{apgcode}}}|style=raw}}</td> | ||
</tr> }}{{#if: {{{niemiecid|}}} | <tr> | </tr> }}{{#if: {{{niemiecid|}}}{{{niemiecid2|}}} | <tr> | ||
<th>Niemiec ID</th> | <th>Niemiec ID</th> | ||
<td style="text-align:right; max-width: 20em" valign="middle">{{{niemiecid|}}}</td> | <td style="text-align:right; max-width: 20em" valign="middle">{{{niemiecid|}}}{{#if: {{{niemiecid2|}}} | <br />{{{niemiecid2|}}} }}</td> | ||
</tr> }} {{#if: {{{pentadecathlonid|}}} | <tr> | </tr> }} {{#if: {{{pentadecathlonid|}}} | <tr> | ||
<th>Pentadecathlon ID</th> | <th>Pentadecathlon ID</th> | ||
Revision as of 10:54, 26 August 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.