User:Pixial/sandbox

Note: Global user pages are hosted on login.miraheze.org. Yours can be created here. This is just a test, lorem ipsum sit amet And you will find some simple examples of Infoboxes you can just copy paste to your wiki and more advice on using infoboxes.



YellowFr</b>o</b></b>g</b>g</b></b>e</b>r</b> (</b>✉</b> — ✐</b>)</b>

--YellowFrogger (Talk — ✐)

YellowFrogger</b> (✉ Talk </b> ✐ Edits </b>)</b>

It's not easy to upload an infobox distributed entirely from Wikipedia to a wiki, and actually not difficult either. The following lists show how to upload a complete infobox of any type imported from Wikipedia to a wiki on Miraheze. Remembering that you have to follow the list in steps! In other words, start from 1 (one) to the end. This will avoid you doing it in a hurry, and that you don't come up with various module/templatestyles errors, for example.

Steps

 * 1) First add the MediaWiki namespace pages: You will have to add MediaWiki namespace pages (common.js and common.css) from Wikipedia. These pages will organize the infobox, for example, avoiding not being in the left corner, and different types of templates. You can copy MediaWiki:Common.css and MediaWiki:Common.js content from Wikipedia: MediaWiki:Common.css, MediaWiki:Common .js and paste those contents into your wiki's MediaWiki:Common.css and MediaWiki:Common.js.
 * 2) Add extensions: To avoid especially module errors, you should add extensions for this, and should do before creating the infoboxes/templates in the wiki. So, you will have to go to: Special:ManageWiki/extensions from your wiki and add the following extensions: Wikibase Client locating in the "Other" section and TemplateStyles in the "Parser hooks" section. The latter creates possibilities for you to add styles.css. As stated above, you will have to do this before adding the infoboxes.