Template:Orchard tree list: Difference between revisions

From Heritage Apple Corps
Bot (talk | contribs)
Bot: Create SMW helper template
Bot (talk | contribs)
Bot: Update template to list all trees sorted by tag (no condition filtering)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ask: [[Has orchard::{{{orchard}}}]] [[Has condition::{{{condition}}}]]
<noinclude>
Lists all trees in an orchard, sorted by field tag number.
 
Usage: <code><nowiki>{{Orchard tree list|orchard=McCoin Lower}}</nowiki></code>
 
This template uses Semantic MediaWiki to dynamically query tree data.
</noinclude><includeonly>{{#ask: [[Has orchard::{{{orchard}}}]]
|?Has field tag
  |?Has variety
  |?Has variety
  |?Has field tag
  |?Has condition
  |format=template
  |format=template
  |template=Tree list item
  |template=Tree list item
|link=none
  |sort=Has field tag
  |sort=Has field tag
  |order=asc
  |order=asc
}}</includeonly><noinclude>
|link=none
== Usage ==
}}</includeonly>
Lists trees in an orchard by condition using SMW queries.
 
<pre>
{{Orchard tree list|orchard=McCoin Lower|condition=good}}
</pre>
 
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 23:46, 1 February 2026

Lists all trees in an orchard, sorted by field tag number.

Usage: {{Orchard tree list|orchard=McCoin Lower}}

This template uses Semantic MediaWiki to dynamically query tree data.