Jump to content

Thread:FlightDeck/@comment-30928085-20171112185721/@comment-30245159-20171113010828

From Elite Dangerous Wiki
Revision as of 01:08, 13 November 2017 by Fandom>FlightDeck (Created page with "<div class="quote">Univero wrote:<br />Hi FlightDeck, do you know how to add an image field to the [http://elite-dangerous.wikia.com/wiki/Template:CelestialInfobox Celestialin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Univero wrote:
Hi FlightDeck, do you know how to add an image field to the Celestialinfobox ? I tried with Stars, but it doesn't show the field.

Then we can put images in the infobox. Now they're below it such as here .


Hi Univero, okay it took me a lot of work to learn how (because I don't know wiki coding), but I have updated the template:CelestialInfobox so that it has an optional parameter called "image".  Put the name of a file there, such as "Sun_Sol.jpg", and it should appear in the infobox. I did the Sol/Sol page for you as an example. You can try it on some others.

Note this infobox display does not match the code/style of the other infoboxes. Actually all of the infoboxes on the wiki are a bit of a mess, as they are outdated code that do not work well with mobile devices. To keep myself from going insane I only worked on adding the image and made no other changes to the template.