Page MenuHomePhabricator

alternating | <specs> | cell foo || cell bar without new lines does not work
Closed, DeclinedPublic

Description

Author: gangleri

Description:
Hallo!

http://test.leuksman.com/index.php/Template:4x4_type_square/T/all
and the used templates is a *copy* of
[[meta:Template:4x4_type_square/T/all]]

First does *not* render as expected. Second does. Please pay attention to
http://test.leuksman.com/index.php?title=Template:4x4_type_square/T/all/show/y&action=edit

-
{{anchor{{{TID}}}}}[[Template:4x4 type square/{{{TID}}}|{{{TID}}}]]

{{{TRANSITION}}} || {{{RESULT}}}

align="left"&nbsp;{{{NOTE}}}
align="center"{{{ORDER}}}{{{SEQUENCE}}}<br />{{{ORDERED}}}<br

/>{{{UNIQUE}}} || [[Template:4x4 type square/T/more#{{{TID}}}|{{{TID}}}]]

As workaround I made an equivalent template
http://test.leuksman.com/index.php?title=Template:4x4_type_square/T/leuksman/all/show/y&action=edit

-
{{anchor{{{TID}}}}}[[Template:4x4 type square/{{{TID}}}|{{{TID}}}]]
{{{TRANSITION}}}
{{{RESULT}}}
align="left"&nbsp;{{{NOTE}}}
align="center"{{{ORDER}}}
{{{SEQUENCE}}}<br />{{{ORDERED}}}<br />{{{UNIQUE}}}
[[Template:4x4 type square/T/more#{{{TID}}}|{{{TID}}}]]

Last is defining each cell in another line.

Same anomalies have been encountered also at [[meta:]] where

-
{{anchor{{{TID}}}}}[[Template:4x4 type square/{{{TID}}}|{{{TID}}}]]

{{{TRANSITION}}} || {{{RESULT}}} | align="left" | &nbsp;{{{NOTE}}} |
align="center" | {{{ORDER}}} || {{{SEQUENCE}}}<br />{{{ORDERED}}}<br
/>{{{UNIQUE}}} || [[Template:4x4 type square/T/more#{{{TID}}}|{{{TID}}}]]

would not genereate "expected" code if used in
http://meta.wikimedia.org/w/index.php?title=Template:4x4_type_square/T/all/show/y&action=edit

requirement for *this* bug report: No "new lines" should be requited when cells
of one *row* are specified. This regardsless if parameters are specified or not,
regardless if these definition methods are intermixed or not.

other impacts / questions: I did not test *what*

-{{anchor{{{TID}}}}}[[Template:4x4 type square/{{{TID}}}|{{{TID}}}]]

{{{TRANSITION}}} || {{{RESULT}}} | align="left" | &nbsp;{{{NOTE}}} |
align="center" | {{{ORDER}}} || {{{SEQUENCE}}}<br />{{{ORDERED}}}<br
/>{{{UNIQUE}}} || [[Template:4x4 type square/T/more#{{{TID}}}|{{{TID}}}]]

with parameters following imediatelly in the "|-" line is generating.

- ... would allow to use one line per row in text processors as TextPad, would

easier handling (less teps) to "import" lists

Best regards Reinhardt [[user:gangleri]]


Version: 1.5.x
Severity: normal
URL: http://test.leuksman.com/index.php/Template:4x4_type_square/T/all

Details

Reference
bz2921

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:42 PM
bzimport set Reference to bz2921.
bzimport added a subscriber: Unknown Object (MLST).