Difference between revisions of "Template:JobHolders"

From Wikispooks
Jump to navigation Jump to search
(Fix boss listing?)
Line 10: Line 10:
 
|sort=Start
 
|sort=Start
 
|order=desc
 
|order=desc
|properties=Start/End{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|/-Has deputy}}{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|/Has deputy}}/Description
+
|properties=Start/End{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|/-Has deputy}}{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|/Has deputy}}/Description
|headers=From/To{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|/Boss}}{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|/Deputy}}/Description
+
|headers=From/To{{#if: {{#ask: [[Has deputy::{{PAGENAME}}]]}}|/Boss}}{{#if: {{#ask: [[-Has deputy::{{PAGENAME}}]]}}|/Deputy}}/Description
 
}}</includeonly>
 
}}</includeonly>

Revision as of 11:55, 14 April 2016

Bug1.jpg This template has problems: This is behaving oddly for Journalist Use the discussion page to start a debate about this.

This template is for use on objects that use Template:Employment, e.g. US President.
It displays a table of people who held this job.