Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Navigation
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Template:Williams prime dpl"
(pagename retrieve) |
(color reused in table) |
||
Line 5: | Line 5: | ||
==Explanations== | ==Explanations== | ||
*If a base is reserved (WiReserved != "") then background is set green. | *If a base is reserved (WiReserved != "") then background is set green. | ||
+ | *if a base is a reuse of another (WiRemarks contains "reuse") then background is set dark grey | ||
[[Category:Prime collections]]</noinclude><includeonly> | [[Category:Prime collections]]</noinclude><includeonly> | ||
− | |- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"}} | + | |- {{#if:{{{WiReserved|}}}|style="background:PaleGreen;"|{{#if:{{#pos:{{{WiRemarks|}}}|reuse}}|style="background:Gainsboro;"}}}} |
| align="right" {{!}} '''[[{{#sub:{{PAGENAME}}|0|17}} {{{WiBase}}}|{{{WiBase}}}]]''' | | align="right" {{!}} '''[[{{#sub:{{PAGENAME}}|0|17}} {{{WiBase}}}|{{{WiBase}}}]]''' | ||
| align="center" {{!}} {{{WiDate}}} {{#if:{{{WiReserved|}}}|<br>{{Contribs|{{{WiReserved}}}}}}} | | align="center" {{!}} {{{WiDate}}} {{#if:{{{WiReserved|}}}|<br>{{Contribs|{{{WiReserved}}}}}}} |
Revision as of 14:14, 18 June 2019
Purpose
DPL statement to display one row in a Williams prime data table.
Explanations
- If a base is reserved (WiReserved != "") then background is set green.
- if a base is a reuse of another (WiRemarks contains "reuse") then background is set dark grey