Difference between revisions of "Template:SMWDefaultMarkup"
Jump to navigation
Jump to search
(test) |
|||
Line 3: | Line 3: | ||
If the page is an allowed [[Property:DocType]], it sets | If the page is an allowed [[Property:DocType]], it sets | ||
[[Property:Has key properties]] and [[Property:Has key property headers]] so that the examples format nicely.<noinclude><includeonly> | [[Property:Has key properties]] and [[Property:Has key property headers]] so that the examples format nicely.<noinclude><includeonly> | ||
− | {{#ifexpr: {{#show: {{PAGENAME}} |?-DocType}}| | + | {{#ifexpr: {{#show: {{PAGENAME}} |?-DocType}}|xx|y}}</includeonly> |
Revision as of 18:18, 31 December 2013
This template adds SMWData to the page, based on the existing data. It has no parameters. It is currently very simple.
If the page is an allowed Property:DocType, it sets Property:Has key properties and Property:Has key property headers so that the examples format nicely.