Fandom

Community Central

User blog:Thisismyrofl/Creating an old-new-style infobox

English
Comments7

Creating an old-new-style infobox

150px-1330470.png Other blogs by Thisismyrofl
Infoboxes
Suggestions



Hey! This is Thisismyrofl, an admin here on Community Central. I wanted to see if I could explain how to make a new infobox in the new style of Template:Infobox (new as in September 2012).

I'm referring here to the default styles, that is, those that were on the Starter Pages Wiki's Template:Infobox page. Since every newly created wiki, at the time of its creation, is given a copy of every page and template on Starter Pages Wiki, that means that there are thousands of wikis that came with the old style, and thousands founded after September 2012 that came with the new style.

Making an infobox can seem intimidating at first but it's not too hard! Let's do it. First, let's decide where we want the infobox to be. Once we have a bare-bones infobox at that location, we can customize it to our needs.

The whole point of the new infobox system is that you don't directly use Template:Infobox, but rather, you copy it to a new location and adapt it. Let's do that!

Step one: Think of an infobox you want.

Are you making an infobox for use on characters' pages? Or for songs? Think of a title for your infobox.

Here are some example infobox names. Pick one, or feel free to make your own!

If you chose one listed above, you're in luck! That template is likely to already exist on your wiki. Go to the equivalent page on your wiki[footnotes 1] and work off of it. Skip step two and go on to step three.

Does the above list not have anything like what you need? Or do you need an item listed that's not actually on your wiki (this is possible)? That's OK. Just go through Step Two.

Step two: Copy "Template:Infobox" to your new location.

Let's say I want an infobox for levels from the game Wolfenstein 3D. I'll put my infobox at Infobox Wolf3D level. If I wanted to create such a template, here's the steps I'd follow.

There are two sets of instructions. Which one you should use depends on whether Template:Infobox on your wiki[footnotes 1] is the new ("First", "Second", "Third") format or the old format. If you don't know, just use the first (default) set of instructions or head to my other blog to know the difference.

Do you have the new format of Template:Infobox installed on your wiki? Click "No, or I don't know" or "Yes".

  1. Go to the page Template:Infobox Wolf3D level on your wiki[footnotes 1] and hit "Edit".
    Remember to substitute in the name of the infobox you want instead of "Wolf3D level"!
  2. Optional - As an edit summary, paste the following:
    Copied from [[w:c:starter:Template:Infobox]]
    This custom edit summary is optional but a good idea.
  3. In another tab, go to the code for Template:Infobox on Starter Pages Wiki and copy the source code to the field for "Template:Infobox Wolf3D level" on your wiki.
  4. Save the page - I advise you don't edit the code any before you save it, so you have something clean to revert to if necessary,

  1. Go to the page Template:Infobox Wolf3D level on your wiki[footnotes 1] and hit "Edit".
    Remember to substitute in the name of the infobox you want instead of "Wolf3D level"!
  2. Optional - As an edit summary, paste the following:
    Copied from [[Template:Infobox]]
    This custom edit summary is optional but a good idea.
  3. In another tab, go to Template:Infobox on your wiki[footnotes 1] and copy the source code to the field for "Template:Infobox Wolf3D level" on your wiki.
  4. Save the page - I advise you don't edit the code any before you save it, so you have something clean to revert to if necessary.

Step three: Customize your infobox!

This is kinda a big step, so I put it in its own blog: User blog:Thisismyrofl/Customizing a new-style infobox. Take a look!

Notes

  1. 1.0 1.1 1.2 1.3 1.4 A number of times, this page refers to pages on your wiki, such as "Template:Infobox on your wiki". I don't know what your wiki is, so I can't directly link to it.
    If you're having trouble finding the correct page, just go to <yourwiki>.wikia.com/wiki/<page> by typing it in your browser's address bar.
    Or just click the link to go to the equivalent page on Community Central, then edit the URL so that community.wikia.com is substituted with your wiki's URL: for example wolfenstein.wikia.com.

See also

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
http://community.wikia.com/wiki/User_blog:Thisismyrofl/Creating_an_old-new-style_infobox
community.wikia.com
crawl=CC-MAIN-2017-17
182554
application/http; msgtype=response
sha1:AOAHRXYB2ZPOARRO3D7VBOGZME5ZLKQX
<urn:uuid:359e11fe-68a9-494b-9a10-b43199a7f35a>
2017-04-30T18:51:16Z
151.101.128.194
sha1:2KYTBLE6BV2JGZCEO6SRAIFA4YPS3BPN
<urn:uuid:0ed8573b-10bd-4081-9195-1e8ff5c50e58>
http://community.wikia.com/wiki/User_blog:Thisismyrofl/Creating_an_old-new-style_infobox
response
<urn:uuid:f10bcc3c-87df-4b7e-8caf-8838d7dcd0f8>
robots: classic
hostname: ip-10-145-167-34.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2017-17
operator: CommonCrawl Admin
description: Wide crawl of the web for April 2017
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf