semantic-mediawiki

SMW queries: Move main column to other position


As far as I understand a tabular result of a SMW query always contains the page title. This is presented in the leftmost column. Can this title column be moved to some other position as well? How can I do that?


Solution

  • You have to list the page title (?) explicitly in the printouts.

    The example below assumes that you have the special property Creation date activated.

    <!-- Pages created today -->
    {{#ask:
    [[Creation date::>={{#time:d.m.Y}}]]
    |?Creation date
    |?=An optional title for this column
    |format = table
    }}