Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Created page with "{{Forumheader|Village pump}} <!-- Please put your content under this paragraph. Be sure to sign your edits with four tildes ~~~~ --> Here is an idea that came to me sometime...")
 
mNo edit summary
Line 2: Line 2:
 
<!-- Please put your content under this paragraph. Be sure to sign your edits with four tildes ~~~~ -->
 
<!-- Please put your content under this paragraph. Be sure to sign your edits with four tildes ~~~~ -->
   
Here is an idea that came to me sometime ago. The CNC Wiki does a neat way of including multiple images in the infobox, much cleaner compared to how we have it for say {{t|WC3UnitBox}} where you use multiple parameters to add an image (e.g. <code>|image=</code>, <code>|image2=</code>).
+
Here is an idea that came to me sometime ago. The CNC Wiki does a neat way of including multiple images in the infobox, much cleaner compared to how we have it for say {{t|WC3UnitBox}} where you use multiple parameters to add images (e.g. <code>|image=</code>, <code>|image2=</code>).
   
 
See [https://cnc.gamepedia.com/Chronosphere_(Red_Alert_2) here] for an example article that uses a simple and cleaner way of adding multiple images with the use of tabber.
 
See [https://cnc.gamepedia.com/Chronosphere_(Red_Alert_2) here] for an example article that uses a simple and cleaner way of adding multiple images with the use of tabber.

Revision as of 23:35, 30 June 2020

Forums: Village pump → Expanding images in infoboxes

Here is an idea that came to me sometime ago. The CNC Wiki does a neat way of including multiple images in the infobox, much cleaner compared to how we have it for say {{WC3UnitBox}} where you use multiple parameters to add images (e.g. |image=, |image2=).

See here for an example article that uses a simple and cleaner way of adding multiple images with the use of tabber.

|slides =
File:Image1.jpg {{!}} Image1
File:Image2.jpg {{!}} Image2

It uses a template that invokes a module that does all the special work. How would this be useful for Wowpedia? A lot of ways like having Male / Female screenshots of an NPC in the infobox instead of having one of them down in the gallery or below the infobox. When I mentioned about this idea in the Discord some time ago, DeludedTroll made another good example where the mannequin NPCs that spawn after the fight with Odyn in Trial of Valor could make use of this by separating each image by armor type. Maybe this could also be used for the Old God infobox?

The |slides= parameter would be optional and will not display if |image= is used (as most pages will only need one image in the infobox anyways). Additionally, this module could be used for multiple infoboxes, not just the {{Npcbox}} if it makes sense. Thoughts?

--— SurafbrovWowpedia administrator T / C 23:34, 30 June 2020 (UTC)