Many thanks to our Patrons who cover ~2/3 of our hosting bill. Please join them if you can.
Difference between revisions of "Template:Examples"
Jump to navigation
Jump to search
(Upgrade to use SMWDocSection) |
(test) |
||
Line 6: | Line 6: | ||
[[Category:Semantic Templates]] | [[Category:Semantic Templates]] | ||
− | </noinclude><includeonly> | + | </noinclude><includeonly>x{{#show: {{PAGENAME}} | ?Has key properties}}x |
{{SMWDocSection | {{SMWDocSection | ||
|expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | |expression= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]] | ||
Line 13: | Line 13: | ||
|mainlabel = Wikispooks page | |mainlabel = Wikispooks page | ||
|properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Is about/Description}} | |properties={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key properties}}|DocType/Has publication date/Is about/Description}} | ||
− | |headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Document type/ | + | |headers={{#if: {{#show: [[-Has key properties::{{PAGENAME}}]]}}|{{#show: {{PAGENAME}} | ?Has key property headers}}|Document type/Published/Subject(s)/Description}} |
}}</includeonly> | }}</includeonly> |
Revision as of 18:06, 1 January 2014
This template can be used on any pages which might have example documents. It has no parameters.
If there are any example documents, it places a heading:
Example(s) on WikiSpooks
Plus a table of examples under this heading