Difference between revisions of "Template:Featured picture index"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "{{#vardefine:index|{{{1|1}}}}}{{#if:{{QBWiki:Featured picture/{{#var:index}}}} |{{QBWiki:Featured picture/{{#var:index}}}} |{{#vardefine:minindex|{{#var:index}}}}{{#vardefine:...") |
Kevin Wang (talk | contribs) m |
||
Line 1: | Line 1: | ||
− | {{#vardefine:index|{{{1|1}}}}}{{#if:{{QBWiki:Featured picture/{{#var:index}}}} | + | <includeonly>{{#vardefine:index|{{{1|1}}}}}{{#if:{{QBWiki:Featured picture/{{#var:index}}}} |
|{{QBWiki:Featured picture/{{#var:index}}}} | |{{QBWiki:Featured picture/{{#var:index}}}} | ||
|{{#vardefine:minindex|{{#var:index}}}}{{#vardefine:maxindex|1}}<!-- | |{{#vardefine:minindex|{{#var:index}}}}{{#vardefine:maxindex|1}}<!-- | ||
Line 11: | Line 11: | ||
{{#vardefine:index|{{#expr:floor(({{#var:maxindex}}+{{#var:minindex}})/2)}}}} | {{#vardefine:index|{{#expr:floor(({{#var:maxindex}}+{{#var:minindex}})/2)}}}} | ||
}}{{#vardefine:adjusted_index|{{#expr:({{{1|1}}} mod {{#var:index}})}}}}{{#ifexpr:{{#var:adjusted_index}}=0|{{#vardefine:adjusted_index|{{#var:index}}}}}}{{QBWiki:Featured picture/{{#var:adjusted_index}}}} | }}{{#vardefine:adjusted_index|{{#expr:({{{1|1}}} mod {{#var:index}})}}}}{{#ifexpr:{{#var:adjusted_index}}=0|{{#vardefine:adjusted_index|{{#var:index}}}}}}{{QBWiki:Featured picture/{{#var:adjusted_index}}}} | ||
− | }}<noinclude> | + | }}</includeonly><noinclude> |
Retrieve specific featured pictures from the list of featured pictures to be used in [[QBWiki:Featured picture]]. | Retrieve specific featured pictures from the list of featured pictures to be used in [[QBWiki:Featured picture]]. | ||
Revision as of 18:41, 10 June 2022
Retrieve specific featured pictures from the list of featured pictures to be used in QBWiki:Featured picture.
Index | Featured picture |
---|---|
1 | The Solon High School quizbowl team competes at the 2018 PACE National Scholastic Championship. Photo credit: David Reinstein |
2 | The Brown A quizbowl team in front of the John Carter Brown Library at Brown shortly after participating in the 2021 NAQT Intercollegiate Championship Tournament, which was held entirely online via Zoom. Photo credit: unknown passerby |
3 | The University of Central Florida team after winning the 2014 ACF Fall, hosted at the University of Florida. Pictured from left to right: Sean Chagani, Michael Tichy, Zach Foster, Mickey Sizemore. Person entering from left is unidentified. Photo credit: Cody Johansen |
etc.