Topic on Project:Support desk

Summary by CSchrieb

Clump's advice got me what I needed. Looking forward to learning more about this!

CSchrieb (talkcontribs)

I know this is probably over-asked, but I'm running out of time. I'm having trouble finding information on creating Templates, specifically for Infobox, for a private MediaWiki site. I understand the hesitation to offer the information, due to the chance someone may take it as license to make changes to public sites. However, as a private site, I have some specific needs.

I attempted to follow the Import/Export process spelled out here (below), but I get a Server 500 error when I do the import. (The XML appears well-formed to me, though.)

Manual:Importing Wikipedia infoboxes tutorial

Any direction that can be provided would be appreciated.

MediaWiki version 1.28.0 (release 83)

PHP version 5.4

MySQL version -- unsure

My proof of concept site (my testing for compatibility with the full need) is lisbona.trianglemoon.com

Fokebox (talkcontribs)
CSchrieb (talkcontribs)

Thank you. I may be misunderstanding the topic. It looks like this is where I needed to start.

CSchrieb (talkcontribs)

Unfortunately, this primarily shows how to consume a template. I'm looking to create a template, (and additionally, figure out how to format it so that it moves to the right, like you see on MediaWiki pages).

Any further direction greatly appreciated!

AhmadF.Cheema (talkcontribs)

The server 500 error you are getting is likely because of some server side configuration issue. Take a look at this: Manual:How to debug, in order to get more error information.

CSchrieb (talkcontribs)

I'm still having trouble understanding the relationship between "Template:Infobox" and "Template:Infobox connector", for example. Is Infobox required to create a template like Infobox connector?

I'm literally just trying to create something simple that gets offset to the right:

Name = Bob_File

Location = GLBS22\peer

Acceptance Date = Mar 22, 1988

Am I perhaps not looking for the right object?

Clump (talkcontribs)

If you just a basic infobox on the right then you don't need anything complex; make a div with style="float:right", and include a table within it for your fields. An example is on User:Clump.

CSchrieb (talkcontribs)

Thank you Clump. I'll start there. Can this be made into a template, to be reused in multiple places? Seems like that would just be a matter of making some of the fields parameters, right?

Clump (talkcontribs)

Yes, just replace the text you want to pass in with the template call with {{{1}}}, {{{2}}}, etc.