Template:Wn/si/තොරතුරු පැනලය/select2

{{{1}}}

භාවිතය

edit

This is a subtemplate of {{Wn/si/Wn/si/තොරතුරු පැනලය}}. It takes from one to twelve unnamed parameters, and returns one of them. As of this writing, the selection should rotate once an hour, based on the {{CURRENTHOUR}} magic word.

Internals

edit

This template contains the rotation by hour, and is called by {{Wn/si/Wn/si/තොරතුරු පැනලය/select}} when there is actually more than one image to choose from. Keeping these two templates separate means if an infobox doesn't provide more than one image, it doesn't transclude any template that invokes {{CURRENTHOUR}}, and the wiki software shouldn't have to be at all clever to avoid recomputing the infobox on the hour.

මේවාත් බලන්න

edit