Difference between revisions of "Template:PropertyUseTable"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "Page name" to "Page name")
 
(9 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 the property name in a sortable table. There are no parameters.
 
Displays page names using the property name in a sortable table. There are no parameters.
 
''Re-think necessary - see discussion'' --[[User:Peter|Peter P]] ([[User talk:Peter|talk]]) 10:52, 22 December 2013 (GMT)
 
 
</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  
 
|? {{PAGENAME}}
 
|? {{PAGENAME}}
 
|limit=999
 
|limit=999
 +
|sort={{PAGENAME}}
 +
|class=sortable wikitable smwtable mw-collapsible mw-collapsed
 +
}}
 
}}</includeonly>
 
}}</includeonly>
 
[[Category:Semantic Templates]]
 

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.