Template:FishTable.dpl: Difference between revisions
imported>Aramachus m making page name explicit for easier use later on |
imported>Aramachus mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><onlyinclude><!-- |
<includeonly><onlyinclude><!-- |
||
-->{{#if:{{{expansion|}}}|- class="{{{expansion}}}" |
|||
-->[[%PAGE%|%TITLE%]] |
|||
{{!}}}}<!-- proper handling of the expansion line would be: catching variants of the expansion expression, then, with a switch command, translate them to the appropriate ooe hiding classes --> valign="top" | [[%PAGE%|%TITLE%]] ({{ht|Skill Level|{{#if:{{{fish level|}}}|{{{fish level}}}|{{{skill cap}}}}}}}) |
|||
| |
|||
| valign="top" | {{#if:{{{fish level|}}}|{{{fish level}}}|{{{skill cap}}}}} |
|||
{{{skill cap}}} |
|||
| valign="top" | |
|||
| |
|||
{{{location}}} |
{{{location}}} |
||
| valign="top" | |
|||
| |
|||
{{{bait}}} |
{{{bait}}} |
||
| valign="top" | |
|||
| |
|||
{{{rods}}}<!-- |
{{{rods}}}<!-- |
||
--></onlyinclude></includeonly> |
--></onlyinclude></includeonly> |
||
Latest revision as of 21:33, 9 September 2024
Documentation
dpl phantom template to format the rows of tables generated with Template:FishTable
Examples
{{FishTable|Fishing/Amateur}}
Extension:DynamicPageList4 (DPL4), version 4.0.0: Error: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:FishTable.dpl: The DynamicPageList4 extension (version 4.0.0) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList4 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code>Error 1054: Unknown column 'cl1.cl_to' in 'ON' Function: MediaWiki\Extension\DynamicPageList4\Query::buildAndSelect - Template:FishTable.dpl Query: SET STATEMENT max_statement_time=10 FOR SELECT DISTINCT p.page_namespace AS `page_namespace`,p.page_id AS `page_id`,p.page_title AS `page_title` FROM `page` `p` JOIN `categorylinks` `cl1` ON (((p.page_id = cl1.cl_from) AND (cl1.cl_to = 'Fishing/Amateur'))) WHERE p.page_is_redirect = 0 LIMIT 500 </code>
| * Recommended fishing setup. ● Fish may be too big. ● Fish may be too small. !! Line may snap. !!! Rod may break. |