Difference between revisions of "Template:Person in table"
Jump to navigation
Jump to search
(Created page with "<includeonly> {{#ask:Category:Person [[Industry sector::{{{1|}}}]] |?Sub-Industry |?Founder name |?Start date=Established |?Status=Current status |?End date=Defunct...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
<table class="smwtable-clean sortable" style="width:100%"> | <table class="smwtable-clean sortable" style="width:100%"> | ||
<tr> | <tr> | ||
− | <th> | + | <th>Person</th> |
− | <th> | + | <th>Birth Date</th> |
− | <th> | + | <th>Death Date</th> |
− | <th> | + | <th>Spouse</th> |
− | <th> | + | <th>Place</th> |
− | <th> | + | <th>Occupation</th> |
− | |||
</tr> | </tr> | ||
|outro=</table> | |outro=</table> | ||
Line 35: | Line 34: | ||
;Example (link only) | ;Example (link only) | ||
<pre> | <pre> | ||
− | {{ | + | {{Persons in table|Persons|0}} |
</pre> | </pre> | ||
;Result | ;Result | ||
− | {{ | + | {{Persons in table|Accommodation and Food Services|0}} |
;Example (default) | ;Example (default) | ||
<pre> | <pre> | ||
− | {{ | + | {{Persons in table|Accommodation and Food Services|10}} |
</pre> | </pre> | ||
;Result | ;Result | ||
− | {{ | + | {{Persons in table|Accommodation and Food Services|10}} |
;Example (with data offset) | ;Example (with data offset) | ||
<pre> | <pre> | ||
− | {{ | + | {{Persons in table|Accommodation and Food Services|10|10}} |
</pre> | </pre> | ||
;Result | ;Result | ||
− | {{ | + | {{Persons in table|Accommodation and Food Services|10|10}} |
;Example (Semantic links) | ;Example (Semantic links) | ||
− | + | {{#ask: [[Category:Person]] [[Organization::+]] | |
− | + | |?fullname | |
− | + | |?Place of birth | |
− | + | |?Date of birth | |
− | + | |?Occupation | |
− | + | |?Resting place | |
− | < | + | |?Date of death |
− | + | |format=plainlist | |
− | + | |limit=50 | |
− | + | |offset=0 | |
− | + | |link=none | |
− | + | |order=asc | |
− | </ | + | |headers=hide |
− | </ | + | |mainlabel=Person |
− | + | |intro=<h2>Person</h2> | |
− | + | <table class="smwtable-clean sortable" style="width:100%"> | |
− | + | <tr> | |
− | + | <th>fullname</th> | |
− | + | <th>Place of birth</th> | |
− | + | <th>Date of Death</th> | |
− | < | + | <th>Occupation</th> |
− | + | <th>Resting Place</th> | |
− | + | <thDate of Death</th> | |
− | + | </tr> | |
− | + | |outro=</table> | |
+ | |searchlabel=Person | ||
+ | |template=Organizations in industry row | ||
+ | |named args=yes | ||
}} | }} | ||
</ul> | </ul> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:52, 23 March 2023
- Description
Creates a table with organizations in the industry (first parameter is mandatory). Optionally you can set the limit of records to show per page (second parameter, if used, must be an integer). Default value is 50. Set it to 0 if you only want to generate a link to the query. The third parameter is data offset (if used, must be an integer).
- Example (link only)
{{Persons in table|Persons|0}}
- Result
- Example (default)
{{Persons in table|Accommodation and Food Services|10}}
- Result
- Example (with data offset)
{{Persons in table|Accommodation and Food Services|10|10}}
- Result
- Example (Semantic links)