Difference between revisions of "Template:Examples"
Jump to navigation
Jump to search
m (Text replacement - "captionPlural" to "caption_plural") |
(Better default for when keyProperties is not set) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
If there are examples, it places a heading:<br/> | If there are examples, it places a heading:<br/> | ||
− | ==Example(s) on | + | ==Example(s) on Wikispooks== |
Plus a table of examples under this heading[[Category:Semantic Templates]] | Plus a table of examples under this heading[[Category:Semantic Templates]] | ||
</noinclude><!-- The below test is to prevent re-displaying of data which will be displayed by {{JobHolders}}... | </noinclude><!-- The below test is to prevent re-displaying of data which will be displayed by {{JobHolders}}... | ||
--><includeonly>{{#ifexpr: {{#ask: [[Has jobTitle::{{PAGENAME}}]]|format=count}}=0|{{SMWDocSection | --><includeonly>{{#ifexpr: {{#ask: [[Has jobTitle::{{PAGENAME}}]]|format=count}}=0|{{SMWDocSection | ||
− | |expression= [[Constitutes::{{PAGENAME}}]] | + | |expression= [[Constitutes::{{PAGENAME}}]] OR [[Has posting::{{PAGENAME}}]] |
|caption_singular=An example | |caption_singular=An example | ||
|caption_plural=Examples | |caption_plural=Examples | ||
− | |mainlabel = | + | |limit=200 |
+ | |mainlabel = Page name | ||
|sort={{#show: {{PAGENAME}} | ?Has keySort}} | |sort={{#show: {{PAGENAME}} | ?Has keySort}} | ||
− | |properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}| | + | |properties={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyProperties}}|Description}} |
− | |headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}| | + | |headers={{#if: {{#show: {{PAGENAME}} | ?Has keyProperties}}|{{#show: {{PAGENAME}} | ?Has keyPropertyHeaders}}|Description}}}}}}</includeonly> |
Revision as of 01:23, 31 March 2019
This template has problems: This is not displaying any results for Journalist. It should do. Use the discussion page to see the debate about this. |
This template can be used on any pages which might have examples. It has no parameters.
If there are examples, it places a heading:
Example(s) on Wikispooks
Plus a table of examples under this heading