Difference between revisions of "Template:PropertyUseTable"

From Wikispooks
Jump to navigation Jump to search
m (t)
m (Text replacement - "Page name" to "Page name")
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#ifeq: {{FULLPAGENAME}}|Property:Is about|{{#ask: [[-{{PAGENAME}}::!x]]
 +
|mainlabel=Existing property assignments
 +
|limit=999
 +
|order=ascending
 +
|format=table
 +
|class=sortable wikitable smwtable mw-collapsible mw-collapsed
 +
|intro=<big>Table of existing property assignments</big><br/>''<small>Use Expand/Collapse + Up/Dn symbols to sort''</small>
 +
}}|
 +
=={{#ask: [[{{PAGENAME}}::+]]|format=count}} Pages use the property "{{PAGENAME}}"==
 +
<small>[[Property:{{PAGENAME}}|Return to property page]]</small><br/>
 +
''<small>Use Expand/Collapse + Up/Dn symbols to sort''</small>
 
{{#ask: [[{{PAGENAME}}::+]]
 
{{#ask: [[{{PAGENAME}}::+]]
|mainlabel=Page name  
+
|mainlabel=Page&nbsp;name  
 
|? {{PAGENAME}}
 
|? {{PAGENAME}}
 
|limit=999
 
|limit=999
 
|sort={{PAGENAME}}
 
|sort={{PAGENAME}}
|format=table
 
 
|class=sortable wikitable smwtable mw-collapsible mw-collapsed
 
|class=sortable wikitable smwtable mw-collapsible mw-collapsed
|intro=Sortable table of property assignments<br/>''<small>Use Up/Dn symbols to sort''</small>
+
}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 09:23, 20 July 2014

For inclusion on Property pages.
Displays page names using the property name in a sortable table. There are no parameters.