Revious
Revious

Reputation: 8146

Imported Templates not working on MediaWiki

I am quite new to Mediawiki and am trying to get templates work.

I managed to get a simple one working but the templates are shown in a weird way but no error is provided.

enter image description here

Upvotes: 0

Views: 359

Answers (2)

oli_vi_er
oli_vi_er

Reputation: 172

@Revious

A bit late, but you may still be interested...

If you want to copy a template from Wikipedia, but it is using lua modules, you can look in the history tab to find pre-lua versions that use only wikicode (lua has been implemented in 2013 in Wikipedia, but some templates have been given modules later).

Here, it seems to be this version

Be careful, however, if the template you are copying uses subtemplates (this does not seem to be the case here). If this is the case, you should either make copies of the templates with the same name and code, or add their code to the main template, paying attention to the parameter names which will need to be adapted.

Good luck.

Upvotes: 1

Related Questions