Template:Position: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
(New, standardized format for templated queries)
(Updated queries for SMW 1.2)
Line 1: Line 1:
<includeonly>
<noinclude>
This is the 'Position' template; edit the page to see the source code.
</noinclude><includeonly>
<big>'''[[:Category:Positions|Position]]: [[Name:={{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|}}+2}}|}}]]'''</big>
<big>'''[[:Category:Positions|Position]]: [[Name:={{#sub:{{PAGENAME}}|{{#expr:{{#pos:{{PAGENAME}}|/|}}+2}}|}}]]'''</big>


Line 7: Line 9:
<font size="+1">For this position</font>
<font size="+1">For this position</font>
<hr>
<hr>
<ask format="template" template="ItemQuery" sort="Was published on" order="descending">[[is for::{{PAGENAME}}]][[Was published on:=+]][[Title::*]][[Was written by::*]][[Was published by::*]][[Was published on:=*]][[Has URL:=*]][[Has quote:=*]]</ask>
{{#ask:[[is for::{{PAGENAME}}]][[Was published on::+]][[Was written by::*]][[Was published by::*]][[Was published on::*]][[Has URL::*]][[Has quote::*]]|format=template|template=ItemQuery|sort=Was published on|order=descending}}
<div style="clear:both;"></div>
<div style="clear:both;"></div>


<font size="+1">Against this position</font>
<font size="+1">Against this position</font>
<hr>
<hr>
<ask format="template" template="ItemQuery" sort="Was published on" order="descending">[[is against::{{PAGENAME}}]][[Was published on:=+]][[Title::*]][[Was written by::*]][[Was published by::*]][[Was published on:=*]][[Has URL:=*]][[Has quote:=*]]</ask>
{{#ask:[[is against::{{PAGENAME}}]][[Was published on::+]][[Was written by::*]][[Was published by::*]][[Was published on::*]][[Has URL::*]][[Has quote::*]]|format=template|template=ItemQuery|sort=Was published on|order=descending}}
<div style="clear:both;"></div>
<div style="clear:both;"></div>


<font size="+1">Mixed on this position</font>
<font size="+1">Mixed on this position</font>
<hr>
<hr>
<ask format="template" template="ItemQuery" sort="Was published on" order="descending">[[is mixed on::{{PAGENAME}}]][[Was published on:=+]][[Title::*]][[Was written by::*]][[Was published by::*]][[Was published on:=*]][[Has URL:=*]][[Has quote:=*]]</ask>
{{#ask:[[is for::{{PAGENAME}}]][[Was published on::+]][[Was written by::*]][[Was published by::*]][[Was published on::*]][[Has URL::*]][[Has quote::*]]|format=template|template=ItemQuery|sort=Was published on|order=descending}}
<div style="clear:both;"></div>
<div style="clear:both;"></div>
[[Category:Positions]]</includeonly>
[[Category:Positions]]</includeonly>

Revision as of 15:03, June 17, 2008

This is the 'Position' template; edit the page to see the source code.