views:

34

answers:

1

Wikimedia explains how you can create a table based on multiple templates, where each row is formed from a single template.

Is there anyway to do the same for columns? It sounds easy but I could not get it to work. Instead my page displayed multiple tables instead of multiple columns.

Here's some code: Row page

{|class="wikitable sortable" style="font-size:85%"
|+ table name
! Title 1
! Title 2
! Title 3
|-
{{R1}}
{{R2}}
{{R3}}
|}

Row template:

| Row 1, Column 1
| Row 1, Column 2
| Row 1, Column 3
|-

Column page

{{C1}}{{C2}}{{C3}}

Column template: Don't know how this should work.

+1  A: 

I think this is impossible. I thought about it for a bit, and I have no idea how to do it.

Maybe some sort of nested Templates that rearrange the order of the columns and rows. Seems very difficult, and I'm not sure it's theoretically possible.

Adrian Archer
@Adrian - thx, I'm coming to this conclusion as well. Appreciate you giving it some thought.
Mark Robinson