Difference between revisions of "Template:PropertyUseTable"

From Wikispooks
Jump to navigation Jump to search
m (test)
m (Text replacement - "Page name" to "Page name")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude></big>For inclusion on Property pages</big><br/>
+
<noinclude>[[Category:Semantic Templates]]'''For inclusion on Property pages'''.<br/>
Displays page names using <pre>PropertyName</pre> in a sortable table. There are no parameters.
+
Displays page names using the property name in a sortable table. There are no parameters.
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
==Pages using the property "{{PAGENAME}}"==
+
{{#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>[[Property:{{PAGENAME}}|Return to property page]]</small><br/>
''<small>Use Up/Dn symbols to sort''</small>
+
''<small>Use Expand/Collapse + Up/Dn symbols to sort''</small>
 
{{#ask: [[{{PAGENAME}}::+]]
 
{{#ask: [[{{PAGENAME}}::+]]
|mainlabel=Page name  
+
|mainlabel=Page&nbsp;name  
|? Is about
+
|? {{PAGENAME}}
|limit=100
+
|limit=999
 +
|sort={{PAGENAME}}
 +
|class=sortable wikitable smwtable mw-collapsible mw-collapsed
 +
}}
 
}}</includeonly>
 
}}</includeonly>
 
[[Category:SemanticTemplates]]
 

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.