Template:Tree list item: Difference between revisions

From Heritage Apple Corps
Bot (talk | contribs)
Bot: Create SMW helper template
 
Bot (talk | contribs)
Bot: Update template for unified tree list (show condition)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>* [[{{{1}}}|Tree #{{{2|{{{1}}}}}}]]{{#if:{{{3|}}}| - {{{3}}}}}</includeonly><noinclude>
<noinclude>
== Usage ==
Formats a single tree entry in the orchard tree list.
Formats a tree link for use in SMW query results.


<pre>
Used by Template:Orchard tree list. Do not call directly.
{{Tree list item|Page Title|Tag Number|Variety}}
</noinclude><includeonly>
</pre>
* [[{{{1}}}|Tree #{{{2}}}]]{{#if:{{{3|}}}| - {{{3}}}}}{{#if:{{{4|}}}| ({{{4}}})}}</includeonly>
 
Parameters:
* '''1''' - Full page title (e.g., "McCoin Lower Tree 44")
* '''2''' - Tag number to display (optional, defaults to page title)
* '''3''' - Variety name (optional)
 
[[Category:Formatting templates]]
</noinclude>

Latest revision as of 23:46, 1 February 2026

Formats a single tree entry in the orchard tree list.

Used by Template:Orchard tree list. Do not call directly.