Difference between revisions of "Template:Player anecdotes"

From QBWiki
Jump to navigation Jump to search
Line 1: Line 1:
==Anecdotes==
+
<includeonly>==Anecdotes==
 
{{#ifexist:{{FULLPAGENAME}}/anecdotes
 
{{#ifexist:{{FULLPAGENAME}}/anecdotes
 
|{{#vardefine:ii|{{#time:z}}}}
 
|{{#vardefine:ii|{{#time:z}}}}
Line 12: Line 12:
 
}}
 
}}
 
|''There are no anecdotes for this player - add some at [[{{FULLPAGENAME}}/anecdotes]]''
 
|''There are no anecdotes for this player - add some at [[{{FULLPAGENAME}}/anecdotes]]''
}}
+
}}</includeonly><noinclude>{{Template doc|
 +
Adds a section with consistent formatting listing 3 unique anecdotes from a list at <nowiki>{{CURRENTPAGE}}/anecdotes</nowiki>.
 +
Current behavior is to fetch the list and then pick the ''n'', ''2n'', and ''3n''-th entries, where ''n'' is the current day index. If there are fewer than three, it will omit those bullet points.
 +
<pre>{{Player anecdotes}}</pre>
 +
{{Player anecdotes}}}}</noinclude>

Revision as of 15:20, 8 December 2025

Template documentation

Adds a section with consistent formatting listing 3 unique anecdotes from a list at {{CURRENTPAGE}}/anecdotes. Current behavior is to fetch the list and then pick the n, 2n, and 3n-th entries, where n is the current day index. If there are fewer than three, it will omit those bullet points.

{{Player anecdotes}}

Anecdotes

Full list: Template:Player anecdotes/anecdotes
  • Expression error: Unexpected < operator.
  • Expression error: Unexpected < operator.
  • Expression error: Unexpected < operator.