Forum:Image of the Day

Hey everyone,

My name is John. I'm the founder of the cardguide wiki. At some point in the future, I don't know exactly when yet, I want to make a box on the front page with "Character of the Day" or "Joker of the Day". On many Wikis I see something like that. It make my homepage a little more attractive.

How can I make it, and do I need to make special categories ? Vuurvosje 14:12, November 23, 2011 (UTC)


 * Are you asking about how to create the box itself or how to make it randomly pick images for featured content? If it's the former you'd have to be more specific about how you want the box to look like. Alternatively, you can look how other wikis do it. If it's the latter then there's dozens of options on how to do that. The easiest is of course updating the box manually whenever you feel a new card should be featured. The more popular approach is to use the RandomSelection extension. Personally, I like to use DPL to randomize stuff, as seen here - "Random Game Art" section. — Sovq 14:45, November 23, 2011 (UTC)


 * I mean both. I'd like the box to have a 1.5x bigger, than the cards on my frontpage with black border. But I'm not good in creating such things. I saw your example of PDL and that is I think a very good solution, because, you only need to add a category to an image, as I understand it. Let me know if I'm wrong about it. Vuurvosje 15:06, November 23, 2011 (UTC)


 * Yup, just adding an image to an appropriate category is sufficient. However, the DPL extension is not enabled on wikis by default and has to be requested through Special:Contact. The code for the box is:


 * which generates
 * {|style="vertical-align:top; border: 1px #aaaaaa solid; background-color: #fefefe; box-shadow: 4px 4px 6px #000; border-radius: 6px;"


 * style="background-color: #98DAFD;text-align:center;font-size:1.5em"|Random Game Art
 * [[File:Wiki-wordmark.png]]
 * }
 * The colors, borders and styling in general can be modified at will. The image in the above example has to be replaced with any 'randomizer'; either DPL if you get it enabled, or something else. Feel free to copy this code to your main page if you want. — Sovq 15:25, November 23, 2011 (UTC)
 * The colors, borders and styling in general can be modified at will. The image in the above example has to be replaced with any 'randomizer'; either DPL if you get it enabled, or something else. Feel free to copy this code to your main page if you want. — Sovq 15:25, November 23, 2011 (UTC)


 * Thank you very much, Sovq, for your help! I will request DPL, it will make my wiki much nicer, everytime I add new cards.